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

Spark test failed since HIVE-10632

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.5, 2.4.0
    • None
    • None

    Description

      We hint the following exception when upgrading Spark‘s built-in Hive to 2.3.4:

      ..
      [info] Cause: java.sql.SQLException: Failed to start database 'metastore_db' with class loader org.apache.spark.sql.hive.client.IsolatedClientLoader$$anon$1@2439ab23, see the next exception for details.
      [info] at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
      [info] at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
      [info] at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
      [info] at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      [info] at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      [info] at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
      ...
      

      This issue Introduced by HIVE-10632 and fixed by HIVE-17561, I'd like to backport part of HIVE-17561 to fix this issue for branch-2.

      Attachments

        1. HIVE-21639.branch-2.3.patch
          84 kB
          Yuming Wang
        2. HIVE-21639.branch-2.patch
          84 kB
          Yuming Wang

        Issue Links

          Activity

            People

              yumwang Yuming Wang
              yumwang Yuming Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: