add datasource in intermediate segment path (#3961)

This commit is contained in:
Parag Jain 2017-02-22 16:31:00 -06:00 committed by GitHub
parent 372b84991c
commit edb032b96d
1 changed files with 2 additions and 1 deletions

View File

@ -94,8 +94,9 @@ public class HdfsDataSegmentPusher implements DataSegmentPusher
);
Path tmpFile = new Path(String.format(
"%s/%s/index.zip",
"%s/%s/%s/index.zip",
fullyQualifiedStorageDirectory,
segment.getDataSource(),
UUIDUtils.generateUuid()
));
FileSystem fs = tmpFile.getFileSystem(hadoopConfig);