Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 528A19001 for ; Sat, 28 Jan 2012 00:21:33 +0000 (UTC) Received: (qmail 3420 invoked by uid 500); 28 Jan 2012 00:21:33 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 3326 invoked by uid 500); 28 Jan 2012 00:21:32 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 3318 invoked by uid 500); 28 Jan 2012 00:21:32 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 3315 invoked by uid 99); 28 Jan 2012 00:21:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Jan 2012 00:21:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Jan 2012 00:21:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0DD7116520B for ; Sat, 28 Jan 2012 00:21:11 +0000 (UTC) Date: Sat, 28 Jan 2012 00:21:11 +0000 (UTC) From: "Alan Gates (Commented) (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: <697819481.2823.1327710071059.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <623314379.53713.1326916840906.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (PIG-2482) Integrate HCat DDL command into Pig MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PIG-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195271#comment-13195271 ] Alan Gates commented on PIG-2482: --------------------------------- In general looks good. A couple of comments/questions: In GruntParser.processSQLCommand(), the error message in the following code looks incomplete: {code} if (new File("hcat.bin").exists()) { throw new IOException(hcatBin + " does not "); } {code} How does removing HADOOP_CLASSPATH from the environment variable solve the problem of antlr version clashes? Doesn't hcat need HADOOP_CLASSPATH set in order to work properly? > 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