[
https://issues.apache.org/jira/browse/PIG-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018563#comment-13018563
]
Bill Graham commented on PIG-1870:
----------------------------------
Dmitriy, I was able to build with the new patches and the TestHBaseStorage test
suite ran successfully with both trunk and 0.8.0. I'm getting failures when
trying to run an HBase job against a distributed cluster though (version
0.90.0). This is similar to the issue I ran into in PIG-1782 that caused me to
mess with how configs were initialized at one point.
These are the only values that I've overriden in
{{$HBASE_CONF_DIR/hbase-site.xml}}:
{noformat}
hbase.rootdir
hbase.cluster.distributed
hbase.tmp.dir
hbase.zookeeper.quorum
hbase.zookeeper.property.dataDir
{noformat}
And this is the error I get trying to run any Pig job against HBase:
{noformat}
2011-04-11 13:36:58,659 [main] ERROR org.apache.hadoop.hbase.zookeeper.ZKConfig
- no clientPort found in zoo.cfg
2011-04-11 13:36:58,665 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR
2017: Internal error creating job configuration.
{noformat}
I don't get this error running the PIG-1782 patch.
> HBaseStorage doesn't project correctly
> --------------------------------------
>
> Key: PIG-1870
> URL: https://issues.apache.org/jira/browse/PIG-1870
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Bill Graham
> Assignee: Dmitriy V. Ryaboy
> Fix For: 0.9.0
>
> Attachments: PIG_1870.patch, PIG_1870_1.patch, PIG_1870_for0.8.patch
>
>
> Projecting columns after {{LOAD}} via {{HBaseStorage}} produces unexpected
> results. This is related to the {{loadKey}} functionality and how the
> {{pushProjection}} method in {{HBaseStorage}} has to offset to build a column
> list that aligns with the tuple (the column list doesn't contain the row key).
> This shift appears to create an inconsistency with the FieldSchema for the
> tuple which results in the wrong tuple value being fetched for a given
> column. I'll attach a patch with unit tests that illustrate the problem.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira