You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2018/01/02 21:59:00 UTC

[jira] [Commented] (PHOENIX-4510) performance.py fails to run due to message invalid or corrupt jarfile

    [ 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)