----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65330/#review196365 -----------------------------------------------------------
metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java Lines 8236 (patched) <https://reviews.apache.org/r/65330/#comment275989> Does this work when there are multiple HMS instances? metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java Lines 442 (patched) <https://reviews.apache.org/r/65330/#comment275986> does this need to say "It assumes that no other thread does any modifications..." metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java Lines 471 (patched) <https://reviews.apache.org/r/65330/#comment275987> is this needed? metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java Lines 534-535 (patched) <https://reviews.apache.org/r/65330/#comment275988> do we need this since we asserting oldVal is always null above? - Vihang Karajgaonkar On Jan. 25, 2018, 1:38 a.m., Alexander Kolbasov wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/65330/ > ----------------------------------------------------------- > > (Updated Jan. 25, 2018, 1:38 a.m.) > > > Review request for hive, anishek, Andrew Sherman, Janaki Lahorani, Sergio > Pena, Sahil Takiar, Thejas Nair, and Vihang Karajgaonkar. > > > Bugs: HIVE-18526 > https://issues.apache.org/jira/browse/HIVE-18526 > > > Repository: hive-git > > > Description > ------- > > HIVE-18526 Backport HIVE-16886 to Hive 2 > > > Diffs > ----- > > metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java > d16d2a3cd6a08217bb5b5b7bd9226f5e19f68994 > metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java > 69e8826f53c9278a7307817c8bfa4151f36631b9 > > > Diff: https://reviews.apache.org/r/65330/diff/1/ > > > Testing > ------- > > I wrote unit test which runs against stand-alone DB and verified that > everything is as expected. > > > Thanks, > > Alexander Kolbasov > >