Merge pull request #448 from metamx/hdfs-config-fix

path should already be a proper uri
This commit is contained in:
fjy 2014-03-27 16:33:53 -06:00
commit 4d2535258f
1 changed files with 1 additions and 6 deletions

View File

@ -66,12 +66,7 @@ public class HdfsDataSegmentPusher implements DataSegmentPusher
@Override
public String getPathForHadoop(String dataSource)
{
try {
return new Path(config.getStorageDirectory(), dataSource).makeQualified(FileSystem.get(hadoopConfig)).toString();
}
catch (IOException e) {
throw Throwables.propagate(e);
}
return new Path(config.getStorageDirectory(), dataSource).toUri().toString();
}
@Override