Thanks a lot, Chris and Kihwal. I found it in the DFSConfigKeys as you mentioned.
On Thu, Apr 28, 2016 at 6:00 PM, Chris Nauroth <cnaur...@hortonworks.com> wrote: > Hello, > > In general, configuration property default values will be defined in two > places: 1) hdfs-default.xml, which defines the default property values > when a deployment doesn't specifically set them and 2) DFSConfigKeys, a > class that defines constant default values that the code uses if for some > reason no default value is found during the configuration lookup. > > https://github.com/apache/hadoop/blob/rel/release-2.7.2/hadoop-hdfs-project > /hadoop-hdfs/src/main/resources/hdfs-default.xml#L602-L606 > > > https://github.com/apache/hadoop/blob/rel/release-2.7.2/hadoop-hdfs-project > /hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java#L473-L > 474 > > > --Chris Nauroth > > > > > On 4/28/16, 2:51 PM, "Kun Ren" <ren.h...@gmail.com> wrote: > > >Hi Genius, > > > >I have a quick question: > > > >I remembered I saw the default value for HandlerCout is 10(The number of > >Handler threads), but I can not find where it is defined in the source > >code, could you please point to me where I can find it in the 2.7.2 > >codebase? Thanks a lot. > >