Ankit Singhal created PHOENIX-3060:
--------------------------------------
Summary: pherf tool is not working
Key: PHOENIX-3060
URL: https://issues.apache.org/jira/browse/PHOENIX-3060
Project: Phoenix
Issue Type: Bug
Reporter: Ankit Singhal
Assignee: Sergey Soldatov
Priority: Critical
bin/pherf-standalone.py -drop all -l -q -z localhost -schemaFile
.*user_defined_schema.sql -scenarioFile .*user_defined_scenario.xml
Java command actually executed:-
{code}
java -Xms512m -Xmx3072m -cp
"/Users/asinghal/git/apache/phoenix/bin/../phoenix-pherf/config:/etc/hbase/conf:/Users/asinghal/git/apache/phoenix/bin/../phoenix-client/target/phoenix-4.8.0-HBase-1.2-SNAPSHOT-client.jar:/Users/asinghal/git/apache/phoenix/bin/../phoenix-pherf/target/phoenix-pherf-4.8.0-HBase-1.2-SNAPSHOT-minimal.jar"
-Dlog4j.configuration=file:/Users/asinghal/git/apache/phoenix/bin/log4j.properties
org.apache.phoenix.pherf.Pherf -drop all -l -q -z localhost -schemaFile
'.*user_defined_schema.sql' -scenarioFile '.*user_defined_scenario.xml'
{code}
Exception I got:-
{code}
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/cli/ParseException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
at java.lang.Class.getMethod0(Class.java:2856)
at java.lang.Class.getMethod(Class.java:1668)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.cli.ParseException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 6 more
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)