Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4299

run-all.sh command fails because HiveServer2 service failed to start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.7.0
    • Impala 2.8.0
    • Infrastructure
    • None

    Description

      After rebasing to the latest commit, HiveServer2 fails to start when run-all is executed.

      Exception from hive.log (the file is also attached):

      ...
      Caused by: ERROR XJ040: Failed to start database 'metastore_db' with class loader sun.misc.Launcher$AppClassLoader@60dbf04d, see the next exception for details.
        at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)            
        at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
        ... 84 more                                                                              
      Caused by: ERROR XSDB6: Another instance of Derby may have already booted the database /home/tbobrovytsky/Impala/metastore_db.
      ...
      

      This problem is most likely caused by the following recent commit. This problem does not happen on the commit before it.

      commit 75a857c0ceb6a58691ff45f0df8d88586edc8acd
      Author: Tim Armstrong <tarmstrong@cloudera.com>
      Date:   Sun Oct 9 23:06:40 2016 -0700
      
          IMPALA-4259: build Impala without any test cluster setup.
          
          The main outcome of this change is to avoid making unnecessary
          modification to the Impala or other source trees when we don't need the
          test cluster.
      

      Attachments

        1. hive.log
          1.92 MB
          Taras Bobrovytsky

        Activity

          People

            tarmstrong Tim Armstrong
            tarasbob Taras Bobrovytsky
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: