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:
fjy 2014-09-29 20:37:52 -06:00
commit 296b9236fd
1 changed files with 1 additions and 1 deletions

View File

@ -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());