-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/59070/#review174777
-----------------------------------------------------------
The patch looks good to me. Since this one is bigger I have run YETUS on it.
It only reported the following nits:
./metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java:1668:
/**: warning: First sentence should end with a period.
./metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java:1671:
* @throws MetaException if HMS is not able to fetch the UUID or if there are
multiple UUIDs found in the database: warning: Line is longer than 100
characters (found 116).
./metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java:1674:
String getMetastoreDbUuid() throws MetaException, TException;:38: warning:
Redundant throws: 'MetaException' is subclass of 'TException'.
./metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java:3527:
MMetastoreDBProperties prop = new MMetastoreDBProperties();:30: warning:
'prop' hides a field.
./metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java:3562:
Collection<MMetastoreDBProperties> names =
(Collection<MMetastoreDBProperties>) query.execute("guid");: warning: Line is
longer than 100 characters (found 108).
./metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java:712: /**:
warning: First sentence should end with a period.
Thanks for the patch! Good work!
Peter
- Peter Vary
On May 11, 2017, 8:06 p.m., Vihang Karajgaonkar wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59070/
> -----------------------------------------------------------
>
> (Updated May 11, 2017, 8:06 p.m.)
>
>
> Review request for hive, Ashutosh Chauhan, Naveen Gangam, Sergio Pena, and
> Sahil Takiar.
>
>
> Bugs: HIVE-16555
> https://issues.apache.org/jira/browse/HIVE-16555
>
>
> Repository: hive-git
>
>
> Description
> -------
>
> HIVE-16555 : Add a new thrift API call for get_metastore_db_uuid
>
>
> Diffs
> -----
>
>
> itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java
> 88b9faf8394a59de39be55b2dd2315db7a8d5ab4
>
> itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestEmbeddedHiveMetaStore.java
> bc00d11e2a1c9fd66b89f1ceca100aaafe43cfed
>
> itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java
> b95c25ca00751629577e014801c3fb9f1a99bd70
>
> itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStore.java
> ef02968e22363d537f58b6054266bf9bc87033ae
>
> itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestSetUGIOnOnlyClient.java
> 29768c1d660aac937c0cd1fa15fb70b571007d14
>
> itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestSetUGIOnOnlyServer.java
> 4a46f7537f3ceb16c45010b88786907109fd1090
> metastore/if/hive_metastore.thrift ca6a0076d1fbee4b0d904c1bafcc056ab739e4c4
> metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h
> ca71711e09de962d1cd2ee2ee72b3fcbbac228bc
> metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
> 9042cdb265373cd25ee9050fb59f6547f4dfc669
> metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp
> b4a2a926428d529cc88954552eb561041404877d
>
> metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
> 19151507cae1921a38028582ce00e34cd00585eb
> metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
> 4fb71839471a1a7b8b8ebd9573212c7d40e9f39d
> metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote
> f2a97997a4aaaf0ed07dc094ee8303717e01284d
> metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
> 8ee84af14f87b23956b6bee268c0092e439c17e0
> metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb
> 04e63f3a9b858d79bfa4883c36c2ccce69bf55c4
> metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
> cbcfc72ac73ccfe48dd9b57eb9722ae092e7094b
>
> metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java
> 53f81188c1cda13f20bdf757391024e0c289d9f9
> metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java
> 023a2893c3b046999981cccf8e7ff21227601f6b
> metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
> a83e12e8f3e3a2f3149e4bbc09524998d0e8928f
> metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java
> c22a1db046814bf987de0df33b79e718b8fd6dc6
> metastore/src/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java
> 39b1676eb9d3c344a6e66f06f096f3a9fb1931ca
> metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java
> f6420f5b99fc49df8675afdddd9718871b6c01bb
>
> metastore/src/model/org/apache/hadoop/hive/metastore/model/MMetastoreDBProperties.java
> PRE-CREATION
> metastore/src/model/package.jdo 969e19912791b5f5a2b9c5fa4c43800310f5080c
>
> metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
> 3e3fd20de069503fcedacf60fa1df90279af26b2
>
> metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java
> 91d8c2af67ae1e49f8d41f16d8eee361b3b2abf9
>
>
> Diff: https://reviews.apache.org/r/59070/diff/4/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Vihang Karajgaonkar
>
>