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 cust-asf.ponee.io (Postfix) with SMTP id D165F160C09 for ; Tue, 2 Jan 2018 22:59:03 +0100 (CET) Received: (qmail 16725 invoked by uid 500); 2 Jan 2018 21:59:03 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 16714 invoked by uid 99); 2 Jan 2018 21:59:02 -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; Tue, 02 Jan 2018 21:59:02 +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 11AA6C29FB for ; Tue, 2 Jan 2018 21:59:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.211 X-Spam-Level: X-Spam-Status: No, score=-99.211 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, 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 sqpUoRox8LTq for ; Tue, 2 Jan 2018 21:59:01 +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 2D3555F27E for ; Tue, 2 Jan 2018 21:59:01 +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 70C50E095C for ; Tue, 2 Jan 2018 21:59:00 +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 197E2240DE for ; Tue, 2 Jan 2018 21:59:00 +0000 (UTC) Date: Tue, 2 Jan 2018 21:59:00 +0000 (UTC) From: "Josh Elser (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-4510) performance.py fails to run due to message invalid or corrupt jarfile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 Jan 2018 21:59:04 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-4510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16308780#comment-16308780 ] Josh Elser commented on PHOENIX-4510: ------------------------------------- Was talking with Artem about this one offline: {noformat} Error: Invalid or corrupt jarfile {noformat} This is coming from Java itself. We constructed a command like {{java -jar /file/that/doesnt/exist ...}} so Java is yelling at us. +1 on this fix. Just to confirm: this fixed the issue you were seeing and the tool ran successfully after, [~dbist13]? > performance.py fails to run due to message invalid or corrupt jarfile > --------------------------------------------------------------------- > > Key: PHOENIX-4510 > URL: https://issues.apache.org/jira/browse/PHOENIX-4510 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.11.0 > Environment: mvn: 3.5.2 > jdk: 1.8.0_144 > OSX: 10.12.6 > git: f7142879f33cae236e0530a8ed4eeaad1542d66a > Reporter: Artem Ervits > Assignee: Artem Ervits > Fix For: 4.13.0, 5.0.0 > > Attachments: PHOENIX-4510-00.patch > > > {noformat} > /usr/hdp/current/phoenix-client/bin/performance.py sme-datastorage0.field.hortonworks.com,sme-datastorage1.field.hortonworks.com,sme-datastorage2.field.hortonworks.com:2181:/hbase-unsecure 10 > Phoenix Performance Evaluation Script 1.0 > ----------------------------------------- > Creating performance table... > 18/01/02 21:18:27 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable > no rows upserted > Time: 4.929 sec(s) > Query # 1 - Count - SELECT COUNT(1) FROM PERFORMANCE_10; > Query # 2 - Group By First PK - SELECT HOST FROM PERFORMANCE_10 GROUP BY HOST; > Query # 3 - Group By Second PK - SELECT DOMAIN FROM PERFORMANCE_10 GROUP BY DOMAIN; > Query # 4 - Truncate + Group By - SELECT TRUNC(DATE,'DAY') DAY FROM PERFORMANCE_10 GROUP BY TRUNC(DATE,'DAY'); > Query # 5 - Filter + Count - SELECT COUNT(1) FROM PERFORMANCE_10 WHERE CORE<10; > Generating and upserting data... > Error: Invalid or corrupt jarfile /tmp/data_3U0HpD.csv > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)