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 50A4F200C45 for ; Mon, 13 Mar 2017 23:27:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4F6E2160B5D; Mon, 13 Mar 2017 22:27:45 +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 A10E8160B6C for ; Mon, 13 Mar 2017 23:27:44 +0100 (CET) Received: (qmail 51684 invoked by uid 500); 13 Mar 2017 22:27:43 -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 51672 invoked by uid 99); 13 Mar 2017 22:27:43 -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; Mon, 13 Mar 2017 22:27:43 +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 5317EC0118 for ; Mon, 13 Mar 2017 22:27:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id KuVrF3Pkxt18 for ; Mon, 13 Mar 2017 22:27:42 +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 608245F397 for ; Mon, 13 Mar 2017 22:27:42 +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 E129CE0436 for ; Mon, 13 Mar 2017 22:27:41 +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 9DE17243AA for ; Mon, 13 Mar 2017 22:27:41 +0000 (UTC) Date: Mon, 13 Mar 2017 22:27:41 +0000 (UTC) From: "Sahil Takiar (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HIVE-16192) QTestUtil doesn't correctly set the last command when running "test" commands MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 13 Mar 2017 22:27:45 -0000 [ https://issues.apache.org/jira/browse/HIVE-16192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sahil Takiar reassigned HIVE-16192: ----------------------------------- > QTestUtil doesn't correctly set the last command when running "test" commands > ------------------------------------------------------------------------------ > > Key: HIVE-16192 > URL: https://issues.apache.org/jira/browse/HIVE-16192 > Project: Hive > Issue Type: Bug > Reporter: Sahil Takiar > Assignee: Sahil Takiar > > {{QTestUtil}} has some logic to execute "test" commands, these are typically "crypto" commands. These "test" commands, aren't valid HiveQL, but can be run in qtests. > The "crypto" commands are used to setup encryption keys and zones for the {{TestEncryptedHDFSCliDriver}} > When debugging HIVE-15991 I noticed that the command printed out in {{QTestUtil.failed}} is incorrect. It's printing out the last Hive command run, even if a more recent "test" command has been run. This can be very misleading when debugging qtest failures. > The attached patch updates the {{QTestUtil.executeTestCommand}} method so that is correctly sets the last executed "test" command. -- This message was sent by Atlassian JIRA (v6.3.15#6346)