hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Nauroth <cnaur...@hortonworks.com>
Subject Re: handlerCount
Date Thu, 28 Apr 2016 22:00:44 GMT
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.hdfs@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.


Mime
View raw message