> On Dec. 16, 2016, 4:17 a.m., Thejas Nair wrote: > > metastore/src/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java, > > line 274 > > <https://reviews.apache.org/r/54771/diff/2/?file=1585801#file1585801line274> > > > > anything specific about ordering here ? List is implicitly ordered. > > Should the more generic List be used instead of ArrayList ? > > Also, this and getAsOrderedMap are used only in test. Should it be part > > of a test util method instead of JSONMessageFactory ?
Will change to List, but it's also likely that these method will get used while dumping/loading notifications to extract file lists and part key-val. - Vaibhav ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54771/#review159386 ----------------------------------------------------------- On Dec. 19, 2016, 12:26 a.m., Vaibhav Gumashta wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/54771/ > ----------------------------------------------------------- > > (Updated Dec. 19, 2016, 12:26 a.m.) > > > Review request for hive, Sushanth Sowmyan and Thejas Nair. > > > Bugs: HIVE-15294 > https://issues.apache.org/jira/browse/HIVE-15294 > > > Repository: hive-git > > > Description > ------- > > https://issues.apache.org/jira/browse/HIVE-15294 > > > Diffs > ----- > > > hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java > 119801f > > itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java > 0b691b1 > metastore/if/hive_metastore.thrift 6f77156 > metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java > d0a66b0 > metastore/src/java/org/apache/hadoop/hive/metastore/events/InsertEvent.java > 102754e > > metastore/src/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java > adf2fd8 > > metastore/src/java/org/apache/hadoop/hive/metastore/messaging/json/JSONInsertMessage.java > ef89b17 > > metastore/src/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java > 0407210 > ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java f62d5f3 > shims/common/src/main/java/org/apache/hadoop/fs/ProxyLocalFileSystem.java > bd97521 > > Diff: https://reviews.apache.org/r/54771/diff/ > > > Testing > ------- > > > Thanks, > > Vaibhav Gumashta > >
