Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7660182C8 for ; Fri, 6 Nov 2015 13:37:27 +0000 (UTC) Received: (qmail 23556 invoked by uid 500); 6 Nov 2015 13:37:27 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 23534 invoked by uid 500); 6 Nov 2015 13:37:27 -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 23513 invoked by uid 99); 6 Nov 2015 13:37:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2015 13:37:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AA41E2C14DC for ; Fri, 6 Nov 2015 13:37:27 +0000 (UTC) Date: Fri, 6 Nov 2015 13:37:27 +0000 (UTC) From: "Chaoyu Tang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-12160) Hbase table query execution fails in secured cluster when hive.exec.mode.local.auto is set to true 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-12160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14993671#comment-14993671 ] Chaoyu Tang commented on HIVE-12160: ------------------------------------ After talking with [~aihuaxu] offline, I think relogin is one of approachs to solve this issue. So patch looks good to me. +1. [~prasadm], [~thejas], you know much better in HS2 security, do you have any better solution? > Hbase table query execution fails in secured cluster when hive.exec.mode.local.auto is set to true > -------------------------------------------------------------------------------------------------- > > Key: HIVE-12160 > URL: https://issues.apache.org/jira/browse/HIVE-12160 > Project: Hive > Issue Type: Bug > Components: Security > Affects Versions: 1.1.0, 2.0.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-12160.patch, HIVE-12160_trace.txt > > > In a secured cluster with kerberos, a simple query like {{select count(*) from hbase_table;}} will fail with the following exception when hive.exec.mode.local.auto is set to true. > {noformat} > Error: Error while processing statement: FAILED: Execution Error, return code 134 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask (state=08S01,code=134) > {noformat} > There is another scenario which may be caused by the same reason. > Set hive.auto.convert.join to true, the join query {{select * from hbase_t1 join hbase_t2 on hbase_t1.id = hbase_t2.id;}} also fails with the following exception: > {noformat} > Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask (state=08S01,code=2) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)