From issues-return-132954-archive-asf-public=cust-asf.ponee.io@hive.apache.org Thu Aug 16 14:17:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9B5F4180675 for ; Thu, 16 Aug 2018 14:17:04 +0200 (CEST) Received: (qmail 98296 invoked by uid 500); 16 Aug 2018 12:17:03 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 98273 invoked by uid 99); 16 Aug 2018 12:17:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2018 12:17:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 564DFC1616 for ; Thu, 16 Aug 2018 12:17:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id BVYgPtMhRv9P for ; Thu, 16 Aug 2018 12:17:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1D7995F432 for ; Thu, 16 Aug 2018 12:17:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 59F99E2613 for ; Thu, 16 Aug 2018 12:17:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A5B93246A3 for ; Thu, 16 Aug 2018 12:17:00 +0000 (UTC) Date: Thu, 16 Aug 2018 12:17:00 +0000 (UTC) From: "Szehon Ho (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-19767) HiveServer2 should take hiveconf for non Hive properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-19767?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1658= 2430#comment-16582430 ]=20 Szehon Ho commented on HIVE-19767: ---------------------------------- Thanks for review!=C2=A0 Yea i=C2=A0guess it's more or less read-only in ou= r use-case, i could fix it in a later patch if it becomes an issue. > HiveServer2 should take hiveconf for non Hive properties > -------------------------------------------------------- > > Key: HIVE-19767 > URL: https://issues.apache.org/jira/browse/HIVE-19767 > Project: Hive > Issue Type: Improvement > Affects Versions: 1.2.2, 3.0.0, 2.3.2 > Reporter: Szehon Ho > Assignee: Szehon Ho > Priority: Major > Attachments: HIVE-19767.2.patch, HIVE-19767.3.patch, HIVE-19767.4= .patch, HIVE-19767.5.patch, HIVE-19767.patch > > > The -hiveconf command line option works in HiveServer2 with properties in= HiveConf.java, but not so well with other properties (like mapred properti= es or spark properties to control underlying execution engine, or custom pr= operties understood by custom listeners) > It is inconsistent with HiveCLI. > HiveCLI behavior: > {noformat} > ./bin/hive --hiveconf a=3Db > hive> set a; > a=3Db {noformat} > HiveServer2 behavior: > {noformat} > ./bin/hiveserver2 --hiveconf a=3Db > beeline> set a; > +-----------------+ > | =C2=A0 =C2=A0 =C2=A0 set =C2=A0 =C2=A0 =C2=A0 | > +-----------------+ > | a is undefined=C2=A0 | > +-----------------+{noformat} > Although it is possible to set up hive-site.xml or even mapred-site.xml t= o fill in the relevant properties, it is more convenient when testing HS2 w= ith different configuration to be able to use --hiveconf to change on the f= ly. -- This message was sent by Atlassian JIRA (v7.6.3#76005)