Andrew Olson created CRUNCH-688:
-----------------------------------
Summary: 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
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)