mirror of https://github.com/apache/druid.git
Merge pull request #760 from flowbehappy/fix-hadoop-index-path-prefix
Fixed the issue about the path's prefix after batch ingestion with indexing service to hdfs
This commit is contained in:
commit
296b9236fd
|
@ -448,7 +448,7 @@ public class IndexGeneratorJob implements Jobby
|
||||||
} else if (outputFS instanceof DistributedFileSystem) {
|
} else if (outputFS instanceof DistributedFileSystem) {
|
||||||
loadSpec = ImmutableMap.<String, Object>of(
|
loadSpec = ImmutableMap.<String, Object>of(
|
||||||
"type", "hdfs",
|
"type", "hdfs",
|
||||||
"path", indexOutURI.getPath()
|
"path", indexOutURI.toString()
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
throw new ISE("Unknown file system[%s]", outputFS.getClass());
|
throw new ISE("Unknown file system[%s]", outputFS.getClass());
|
||||||
|
|
Loading…
Reference in New Issue