Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A82C1200CF0 for ; Tue, 22 Aug 2017 00:45:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A4B4816394A; Mon, 21 Aug 2017 22:45:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EB3CA163947 for ; Tue, 22 Aug 2017 00:45:14 +0200 (CEST) Received: (qmail 57479 invoked by uid 500); 21 Aug 2017 22:45:12 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 57470 invoked by uid 99); 21 Aug 2017 22:45:12 -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; Mon, 21 Aug 2017 22:45:12 +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 CAF53C5905 for ; Mon, 21 Aug 2017 22:45:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id rYR4JF3f0NfZ for ; Mon, 21 Aug 2017 22:45:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 98C335FB32 for ; Mon, 21 Aug 2017 22:45:07 +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 0B196E0EB6 for ; Mon, 21 Aug 2017 22:45:06 +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 F334E2539B for ; Mon, 21 Aug 2017 22:45:03 +0000 (UTC) Date: Mon, 21 Aug 2017 22:45:03 +0000 (UTC) From: "Xabriel J Collazo Mojica (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-21730) Default of hive.llap.execution.mode=only on Hive Interactive breaks StorageHandler tables. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 21 Aug 2017 22:45:15 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16135965#comment-16135965 ] Xabriel J Collazo Mojica commented on AMBARI-21730: --------------------------------------------------- [~aplusplus], added the yum repos to the description above. Let me know if you need further info. > Default of hive.llap.execution.mode=only on Hive Interactive breaks StorageHandler tables. > ------------------------------------------------------------------------------------------ > > Key: AMBARI-21730 > URL: https://issues.apache.org/jira/browse/AMBARI-21730 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.5.0, 2.5.1 > Reporter: Xabriel J Collazo Mojica > Assignee: Siddharth Wagle > > Ambari 2.5+ sets the following Hive Interactive flag by default to: > {{hive.llap.execution.mode=only}} > This mode breaks compatibility with StorageHander based tables. For example, HBase tables like these fail: > CREATE TABLE hbase_table_1(key int, value string) > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' > WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val") > TBLPROPERTIES ("hbase.table.name" = "xyz", "hbase.mapred.output.outputtable" = "xyz"); > With a stack trace like: > 0: jdbc:hive2://intel68bvt2.fyre.ibm.com:2181> INSERT OVERWRITE TABLE hbase_table_1 SELECT * FROM hbase_table_1; > INFO : Compiling command(queryId=hive_20170814172300_b01cbd64-f790-468b-855c-2ff8224f4fc0): INSERT OVERWRITE TABLE hbase_table_1 SELECT * FROM hbase_table_1 > .... > INFO : Dag name: INSERT OVERWRITE TABLE hbase...hbase_table_1(Stage-3) > INFO : Dag submit failed due to There is conflicting local resource (guava-14.0.1.jar) between dag local resource and vertex Map 1 local resource. > Resource of dag : resource { scheme: "hdfs" host: "intel68bvt1.fyre.ibm.com" port: 8020 file: "/tmp/hive/hive/0ccc7843-8d48-474a-888a-96bea2fcc1cd/hive_2017-08-14_17-23-00_028_5196182473716985960-6/hive/_tez_scratch_dir/guava-14.0.1.jar" } size: 2189117 timestamp: 1502756584191 type: FILE visibility: PRIVATE > Resource of vertex: resource { scheme: "hdfs" host: "intel68bvt1.fyre.ibm.com" port: 8020 file: "/tmp/hive/hive/_tez_session_dir/de9aa10e-39a4-4d76-a0d8-55493fc6ba00/guava-14.0.1.jar" } > *When this flag is set to: {{hive.llap.execution.mode=auto}}, the issue is not seen anymore.* > I have reproed this on: > {{# cat HDP.repo | grep baseurl}} > {{baseurl=http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.6.1.0}} > {{# cat ambari.repo | grep baseurl}} > {{baseurl=http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.5.1.0}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)