Skip to content

Commit

Permalink
add datasource in intermediate segment path (apache#3961)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjain1 authored Feb 22, 2017
1 parent 372b849 commit edb032b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ public DataSegment push(File inDir, DataSegment segment) throws IOException
);

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);
Expand Down

0 comments on commit edb032b

Please sign in to comment.