[
https://issues.apache.org/jira/browse/CRUNCH-688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899227#comment-16899227
]
Andrew Olson commented on CRUNCH-688:
-------------------------------------
Pull request: https://github.com/apache/crunch/pull/27
> HFile node affinity only works with default namespace HBase tables
> ------------------------------------------------------------------
>
> Key: CRUNCH-688
> URL: https://issues.apache.org/jira/browse/CRUNCH-688
> Project: Crunch
> Issue Type: Bug
> Reporter: Andrew Olson
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> A problem was found with CRUNCH-644 which introduced HFile node affinity when
> using a non-default namespaced HBase table,
> {noformat}
> Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException:
> Relative path in absolute URI: regionLocations_myTableNamespace:myTableName
> at org.apache.hadoop.fs.Path.initialize(Path.java:206)
> at org.apache.hadoop.fs.Path.<init>(Path.java:172)
> at org.apache.hadoop.fs.Path.<init>(Path.java:94)
> at
> org.apache.crunch.io.hbase.HFileUtils.writeToHFilesForIncrementalLoad(HFileUtils.java:517)
> at
> org.apache.crunch.io.hbase.HFileUtils.writePutsToHFilesForIncrementalLoad(HFileUtils.java:608)
> at
> org.apache.crunch.io.hbase.HFileUtils.writePutsToHFilesForIncrementalLoad(HFileUtils.java:578)
> at
> org.apache.crunch.io.hbase.HFileUtils.writePutsToHFilesForIncrementalLoad(HFileUtils.java:542)
> ...
> {noformat}
> The ":" delimiter in the qualified table name isn't a valid path element
> https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/filesystem/model.html#Paths_and_Path_Elements
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)