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.
Author: Tim Armstrong <email@example.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