correct segment path for hadoop indexer
cherry-picking 2b715054219dc69f4016ddd7912f413c5534af29
fix failing hdfs spec