[
https://issues.apache.org/jira/browse/PIG-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195289#comment-13195289
]
Daniel Dai commented on PIG-2482:
---------------------------------
Sure I can improve the error message.
For HADOOP_CLASSPATH, when we run pig, bin/pig script will put
pig-withouthadoop.jar into HADOOP_CLASSPATH, which contains antlr.jar. hcat
script will take HADOOP_CLASSPATH and use its antlr.jar instead of Hive's
version. That's why we need to unset HADOOP_CLASSPATH before launching hcat.
> Integrate HCat DDL command into Pig
> -----------------------------------
>
> Key: PIG-2482
> URL: https://issues.apache.org/jira/browse/PIG-2482
> Project: Pig
> Issue Type: New Feature
> Components: impl
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Fix For: 0.11
>
> Attachments: PIG-2482-1.patch
>
>
> We would like to run hcat DDL command inside Pig script or Grunt. We can use
> a similar approach as "fs" or "sh".
> Grunt> hcat create table .....
> Similar to "fs" and "sh", we don't plan to add Java API in PigServer for it.
--
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