Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10472

Jenkins HMS upgrade test is not publishing results because JIRAService class is not found.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • None

    Description

      This error is happening on Jenkins when running the HMS upgrade tests.
      The class used to publish the results is not found on any directory.

      + cd /var/lib/jenkins/jobs/PreCommit-HIVE-METASTORE-Test/workspace
      + set +x
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hive/ptest/execution/JIRAService
      Caused by: java.lang.ClassNotFoundException: org.apache.hive.ptest.execution.JIRAService
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      Could not find the main class: org.apache.hive.ptest.execution.JIRAService. Program will exit.
      + ret=0

      The problem is because the jenkins-execute-hms-test.sh is downloading the code to another directory.

      Attachments

        1. HIVE-10472.1.patch
          0.7 kB
          Sergio Peña

        Activity

          People

            spena Sergio Peña
            spena Sergio Peña
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: