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

performance.py fails with "Error: Invalid or corrupt jarfile"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 4.14.0
    • None
    • None
    • None

    Description

      I recently hit

      Error: Invalid or corrupt jarfile /var/tmp/achu/data_ylzK6q.csv
      

      with the apache-phoenix-4.14.0-HBase-1.2/1.3/1.4-bin packages released.

      But I did NOT hit it with apache-phoenix-4.14.0-HBase-1.1-bin release.

      I noticed issue PHOENIX-4510 introduced a fix related to this error message and noticed that the change in that fix did not propogate into each release of 4.14.0.  It did not get into the 4.14.0-HBase-1.1-bin release.  Probably not a coincidence?

       

      >grep PHOENIX_TESTS_JAR_PATTERN apache-phoenix-4.14.*/bin/phoenix_utils.py | grep findFile
      apache-phoenix-4.14.0-HBase-1.1-bin/bin/phoenix_utils.py: testjar = findFileInPathWithoutRecursion(PHOENIX_TESTS_JAR_PATTERN, os.path.join(current_dir, ".."))
      apache-phoenix-4.14.0-HBase-1.2-bin/bin/phoenix_utils.py: testjar = findFileInPathWithoutRecursion(PHOENIX_TESTS_JAR_PATTERN, os.path.join(current_dir, "..", 'lib'))
      apache-phoenix-4.14.0-HBase-1.3-bin/bin/phoenix_utils.py: testjar = findFileInPathWithoutRecursion(PHOENIX_TESTS_JAR_PATTERN, os.path.join(current_dir, "..", 'lib'))
      apache-phoenix-4.14.0-HBase-1.4-bin/bin/phoenix_utils.py: testjar = findFileInPathWithoutRecursion(PHOENIX_TESTS_JAR_PATTERN, os.path.join(current_dir, "..", 'lib'))
      

       

      PHOENIX-4510 says the patch was released for 4.13.0, but it does not appear to be applied in those releases either (and tests passed with 4.13.0 when they were released).

      I have not looked at this beyond this simple level, but perhaps the patch in PHOENIX-4510 is not the right fix?

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              chu11 Albert Chu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: