[ 
https://issues.apache.org/jira/browse/HCATALOG-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190338#comment-13190338
 ] 

Daniel Dai edited comment on HCATALOG-219 at 1/21/12 8:42 AM:
--------------------------------------------------------------

I checked code of HBaseConfiguration.addHbaseResources(), I feel that's may be 
necessary. I print out context.getConfiguration() inside 
HBaseInputStorageDriver.initialize():

Configuration: core-default.xml, core-site.xml, mapred-default.xml, 
mapred-site.xml, hdfs-default.xml, hdfs-site.xml
12/01/21 00:32:51 ERROR zookeeper.ZKConfig: no clientPort found in zoo.cfg
12/01/21 00:32:51 ERROR mapreduce.TableInputFormat: 
org.apache.hadoop.hbase.ZooKeeperConnectionException: An error is preventing 
HBase from connecting to ZooKeeper

As you see, hbasepsite.xml is not part of the configuration. And that's 
probably why Vandana has to add --config hbase-site.xml in the command line.

Anyway, I think adding HBaseConfiguration.addHbaseResources() as in my last 
patch does no harm.
                
      was (Author: daijy):
    I checked code of HBaseConfiguration.addHbaseResources(), I feel that is 
necessary, cuz otherwise which code will add static resource "hbase-site.xml"? 
And that's anyway no harm.
                  
> Adding HBase e2e tests
> ----------------------
>
>                 Key: HCATALOG-219
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-219
>             Project: HCatalog
>          Issue Type: Bug
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.3
>
>         Attachments: HCATALOG-219-1.patch, HCATALOG-219-2.patch, 
> HCATALOG-219-3.patch, HCATALOG-219-4.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to