Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3060

pherf tool is not working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.8.0
    • Fix Version/s: 4.8.0
    • Component/s: None
    • Labels:
      None

      Description

      bin/pherf-standalone.py -drop all -l -q -z localhost -schemaFile .*user_defined_schema.sql -scenarioFile .*user_defined_scenario.xml
      Java command actually executed:-

      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'
      

      Exception I got:-

      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
      
      

        Attachments

        1. PHOENIX-3060-1.patch
          11 kB
          Sergey Soldatov

          Activity

            People

            • Assignee:
              sergey.soldatov Sergey Soldatov
              Reporter:
              ankit@apache.org Ankit Singhal
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: