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 81BCF2009DC for ; Tue, 2 May 2017 17:09:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 80184160BA1; Tue, 2 May 2017 15:09:47 +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 C6C03160B9B for ; Tue, 2 May 2017 17:09:46 +0200 (CEST) Received: (qmail 98187 invoked by uid 500); 2 May 2017 15:09:46 -0000 Mailing-List: contact issues-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list issues@impala.incubator.apache.org Received: (qmail 98177 invoked by uid 99); 2 May 2017 15:09:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2017 15:09:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 75AD3C1431 for ; Tue, 2 May 2017 15:09:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id XrdDb-bJ4pMd for ; Tue, 2 May 2017 15:09:44 +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 914866175C for ; Tue, 2 May 2017 15:02:05 +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 D0334E0C0D for ; Tue, 2 May 2017 15:02:04 +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 2FC4621DE6 for ; Tue, 2 May 2017 15:02:04 +0000 (UTC) Date: Tue, 2 May 2017 15:02:04 +0000 (UTC) From: "Michael Brown (JIRA)" To: issues@impala.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (IMPALA-5163) support running concurrent_select.py against Kerberized+SSL Impala MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 May 2017 15:09:47 -0000 [ https://issues.apache.org/jira/browse/IMPALA-5163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Brown resolved IMPALA-5163. ----------------------------------- Resolution: Fixed Fix Version/s: Impala 2.9.0 {noformat} commit 8b459dffec9e093e87da9ab6e8b2e5a9de50a7bd Author: Michael Brown Date: Fri Mar 31 10:39:54 2017 -0700 IMPALA-5162,IMPALA-5163: stress test support on secure clusters This patch adds support for running the stress test (concurrent_select.py) and loading nested data (load_nested.py) into a Kerberized, SSL-enabled Impala cluster. It assumes the calling user already has a valid Kerberos ticket. One way to do that is: 1. Get access to a keytab and krb5.config 2. Set KRB5_CONFIG and KRB5CCNAME appropriately 3. Run kinit(1) 4. Run load_nested.py and/or concurrent_select.py within this environment. Because our Python clients already support Kerberos and SSL, we simply need to make sure to use the correct options when calling the entry points and initializing the clients: Impala: Impyla Hive: Impyla HDFS: hdfs.ext.kerberos.KerberosClient With this patch, I was able to manually do a short concurrent_select.py run against a secure cluster without connection or auth errors, and I was able to do the same with load_nested.py for a cluster that already had TPC-H loaded. Follow-ons for future cleanup work: IMPALA-5263: support CA bundles when running stress test against SSL'd Impala IMPALA-5264: fix InsecurePlatformWarning under stress test with SSL Change-Id: I0daad57bb8ceeb5071b75125f11c1997ed7e0179 Reviewed-on: http://gerrit.cloudera.org:8080/6763 Reviewed-by: Matthew Mulder Reviewed-by: Alex Behm Tested-by: Impala Public Jenkins {noformat} > support running concurrent_select.py against Kerberized+SSL Impala > ------------------------------------------------------------------ > > Key: IMPALA-5163 > URL: https://issues.apache.org/jira/browse/IMPALA-5163 > Project: IMPALA > Issue Type: Improvement > Components: Infrastructure > Affects Versions: Impala 2.9.0 > Reporter: Michael Brown > Assignee: Michael Brown > Fix For: Impala 2.9.0 > > > After IMPALA-5162, or in tandem with, enhance {{concurrent_select.py}} to run against Impala with SSL support. Make sure any bitrotted Kerberos-related code gets working again. > Much of the work here goes into the {{tests.comparison.cluster}} and {{db_connection}} abstractions, also part of IMPALA-5162. The focus here is on the {{concurrent_select.py}} entry point. We'll need to set options to connect to Impala in a slightly different way when using Kerberos+SSL. -- This message was sent by Atlassian JIRA (v6.3.15#6346)