> On 2011-01-25 20:44:24, Carl Steinbach wrote: > > http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java, > > line 244 > > <https://reviews.apache.org/r/343/diff/2/?file=10183#file10183line244> > > > > If the user has specified a classname that is not found in the > > PINCLASSMAP then we just silently ignore it, which is not a good idea. > > > > Please add some INFO level logging statements a) echo the > > METASTORE_CACHE_PINOBJTYPES value and indicate that this is being used to > > the set the pin list, and b) log a message if the list contains a name that > > is not found in the PINCLASSMAP. > > > > I also want to suggest that replace the PINCLASSMAP with a list of the > > actual classnames, and require METASTORE_CACHE_PINOBJTYPES to specify the > > actual classname (e.g. MSerDeInfo, MTable, etc), instead of a name that you > > transform and then map to the real name. > > Mac Yang wrote: > - I will update the patch to include the logging as you suggested. > > - The reason why I choose to use logical names is to provide some > isolation so we wont break user's config if we ever want to refactor. What > are the benefits of using the actual class names for this config? > > Carl Steinbach wrote: > Good point about isolation -- I hadn't thought of that. Please add the > logging but leave the rest as is. Thanks.
Created HIVE-1931 to add the logging. (https://reviews.apache.org/r/360/) Carl, please take a look when you get a chance. Thanks. - Mac ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/343/#review156 ----------------------------------------------------------- On 2011-01-24 11:50:46, Mac Yang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/343/ > ----------------------------------------------------------- > > (Updated 2011-01-24 11:50:46) > > > Review request for hive. > > > Summary > ------- > > Review for HIVE-1910 > > > This addresses bug HIVE-1910. > https://issues.apache.org/jira/browse/HIVE-1910 > > > Diffs > ----- > > > http://svn.apache.org/repos/asf/hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java > 1062921 > http://svn.apache.org/repos/asf/hive/trunk/conf/hive-default.xml 1062921 > > http://svn.apache.org/repos/asf/hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java > 1062921 > > Diff: https://reviews.apache.org/r/343/diff > > > Testing > ------- > > > Thanks, > > Mac > >