add ephemeral-hdfs/persistent-hdfs switch