[
https://issues.apache.org/jira/browse/HCATALOG-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196503#comment-13196503
]
Francis Liu commented on HCATALOG-234:
--------------------------------------
check into trunk and branch-0.3. Thanks Daniel.
> bin/hcat need to add hbase-site.xml in classpath
> ------------------------------------------------
>
> Key: HCATALOG-234
> URL: https://issues.apache.org/jira/browse/HCATALOG-234
> Project: HCatalog
> Issue Type: Bug
> Components: storage handlers
> Affects Versions: 0.3
> Reporter: Daniel Dai
> Assignee: Francis Liu
> Fix For: 0.3
>
> Attachments: HCATALOG-234-1.patch, HCATALOG-234-2.patch
>
>
> Just like HCATALOG-226, we also need to add hbase config when we are doing
> DDL command, otherwise DDL command will fail complaining zookeeper settings.
> Manually add zookeeper entries into core-site.xml make my test pass. Here is
> a reference stack:
> at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:546)
> at
> org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3479)
> at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:225)
> at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:133)
> at
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)
> at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1332)
> at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1123)
> at org.apache.hadoop.hive.ql.Driver.run(Driver.java:931)
> at org.apache.hcatalog.cli.HCatDriver.run(HCatDriver.java:42)
> at org.apache.hcatalog.cli.HCatCli.processCmd(HCatCli.java:230)
> at org.apache.hcatalog.cli.HCatCli.processLine(HCatCli.java:186)
> at org.apache.hcatalog.cli.HCatCli.processFile(HCatCli.java:205)
> at org.apache.hcatalog.cli.HCatCli.main(HCatCli.java:155)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
--
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