hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates" <ga...@hortonworks.com>
Subject Review Request 19149: Stand alone metastore fails to start if new transaction values not defined in config
Date Wed, 12 Mar 2014 19:20:58 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19149/
-----------------------------------------------------------

Review request for hive and Ashutosh Chauhan.


Bugs: HIVE-6606
    https://issues.apache.org/jira/browse/HIVE-6606


Repository: hive-git


Description
-------

The metastore creates instances of TxnHandler. The constructor of this class will fail if
the config value for the jdbc string it expects is not defined in the config file.

Fixed this by changing transaction connection to use the same JDBC connection string as the
rest of the metastore.


Diffs
-----

  common/src/java/org/apache/hadoop/hive/conf/HiveConf.java edc3d38 
  metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java bbb0d28 
  metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java 4441c2f 
  metastore/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java 560fd5a 

Diff: https://reviews.apache.org/r/19149/diff/


Testing
-------

Ran unit tests plus ran on cluster to assure issue not seen when transaction handling turned
off.


Thanks,

Alan Gates


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message