only add hdfs services if needed