> On Feb. 21, 2017, 10:41 p.m., Thomas Poepping wrote: > > ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java, line 2085 > > <https://reviews.apache.org/r/56688/diff/1-2/?file=1633982#file1633982line2085> > > > > The default is already defined in HiveConf, right? Do we need to > > specify another default here? > > Sergio Pena wrote: > Yes. This is the only method that is available on Hiveconf > - public int getInt(String name, int defaultValue) > > Sergey Shelukhin wrote: > HiveConf.getInt(conf, var) can be used to avoid this. It takes any > Configuration object, not just HiveConf
Thanks Sergey. I switched to that method instead. - Sergio ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56688/#review166250 ----------------------------------------------------------- On Feb. 21, 2017, 9:01 p.m., Sergio Pena wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/56688/ > ----------------------------------------------------------- > > (Updated Feb. 21, 2017, 9:01 p.m.) > > > Review request for hive. > > > Bugs: HIVE-15881 > https://issues.apache.org/jira/browse/HIVE-15881 > > > Repository: hive-git > > > Description > ------- > > Deprecates the use of mapred.dfsclient.parallelism.max, and instead use > hive.exec.input.listing.max.threads > > > Diffs > ----- > > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java > 1af59ba5879d3ad24148fa86f8ce725acef2bb63 > ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java > e81cbce3e333d44a4088c10491f399e92a505293 > ql/src/test/org/apache/hadoop/hive/ql/exec/TestUtilities.java > 5a9d83ca4890a68a63f8f6c145d30906a58c7e73 > > Diff: https://reviews.apache.org/r/56688/diff/ > > > Testing > ------- > > Added tests to TestUtilities. > Waiting for HiveQA > > > Thanks, > > Sergio Pena > >