Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 ACCE16187 for ; Thu, 21 Jul 2011 20:21:20 +0000 (UTC) Received: (qmail 28262 invoked by uid 500); 21 Jul 2011 20:21:20 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 28134 invoked by uid 500); 21 Jul 2011 20:21:19 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 28126 invoked by uid 500); 21 Jul 2011 20:21:19 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 28123 invoked by uid 99); 21 Jul 2011 20:21:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jul 2011 20:21:19 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,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; Thu, 21 Jul 2011 20:21:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E19084E0B7 for ; Thu, 21 Jul 2011 20:20:57 +0000 (UTC) Date: Thu, 21 Jul 2011 20:20:57 +0000 (UTC) From: "Patrick Hunt (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1423145122.12666.1311279657920.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1327922649.14119.1304243103132.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2139) Enables HiveServer to accept -hiveconf option 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/HIVE-2139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069184#comment-13069184 ] Patrick Hunt commented on HIVE-2139: ------------------------------------ Should I update the docs for this? Where? If so any guidelines for doing so? (version differences for example) > Enables HiveServer to accept -hiveconf option > --------------------------------------------- > > Key: HIVE-2139 > URL: https://issues.apache.org/jira/browse/HIVE-2139 > Project: Hive > Issue Type: Improvement > Components: CLI > Environment: Linux + CDH3u0 (Hive 0.7.0+27.1-2~lucid-cdh3) > Reporter: Kazuki Ohta > Assignee: Patrick Hunt > Fix For: 0.8.0 > > Attachments: HIVE-2139.patch, HIVE-2139.patch, HIVE-2139.patch > > > Currently, I'm trying to test HiveHBaseIntegration on HiveServer. But it doesn't seem to accept -hiveconf command. > {code} > hive --service hiveserver -hiveconf hbase.zookeeper.quorum=hdp0,hdp1,hdp2 > Starting Hive Thrift Server > java.lang.NumberFormatException: For input string: "-hiveconf" > at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:449) > at java.lang.Integer.parseInt(Integer.java:499) > at org.apache.hadoop.hive.service.HiveServer.main(HiveServer.java:382) > 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:186) > {code} > Therefore, you need to throw the query like "set hbase.zookeeper.quorum=hdp0,hdp1,hdp2" everytime. It's not convenient for separating the configuration between server-side and client-side. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira