mirror of https://github.com/apache/druid.git
add datasource in intermediate segment path (#3961)
This commit is contained in:
parent
372b84991c
commit
edb032b96d
|
@ -94,8 +94,9 @@ public class HdfsDataSegmentPusher implements DataSegmentPusher
|
||||||
);
|
);
|
||||||
|
|
||||||
Path tmpFile = new Path(String.format(
|
Path tmpFile = new Path(String.format(
|
||||||
"%s/%s/index.zip",
|
"%s/%s/%s/index.zip",
|
||||||
fullyQualifiedStorageDirectory,
|
fullyQualifiedStorageDirectory,
|
||||||
|
segment.getDataSource(),
|
||||||
UUIDUtils.generateUuid()
|
UUIDUtils.generateUuid()
|
||||||
));
|
));
|
||||||
FileSystem fs = tmpFile.getFileSystem(hadoopConfig);
|
FileSystem fs = tmpFile.getFileSystem(hadoopConfig);
|
||||||
|
|
Loading…
Reference in New Issue