hadoop2.2.0 core-site.xml--global properties

<property>
  <name>hadoop.common.configuration.version</name>
  <value>0.23.0</value>
  <description>version of this configuration file</description>
</property>

注释:配置文件的版本

<property>
  <name>hadoop.tmp.dir</name>
  <value>/tmp/hadoop-${user.name}</value>
  <description>A base for other temporary directories.</description>
</property>

注释:其它临时目录的根目录,其它参数通过${hadoop.tmp.dir}进行引用。

<property>
  <name>io.native.lib.available</name>
  <value>true</value>
  <description>Should native hadoop libraries, if present, be used.</description>
</property>


注释:是否加载本地库。true:有就加载;false:不加载

<property>
  <name>hadoop.http.filter.initializers</name>
  <value>org.apache.hadoop.http.lib.StaticUserWebFilter</value>
  <description>A comma separated list of class names. Each class in the list 
  must extend org.apache.hadoop.http.FilterInitializer. The corresponding 
  Filter will be initialized. Then, the Filter will be applied to all user 
  facing jsp and servlet web pages.  The ordering of the list defines the 
  ordering of the filters.</description>
</property>


注释:以逗号分隔的class类。这些类必须继承自org.apache.hadoop.http.FilterInitializer。这些过滤器将被用于过滤jsp和servletweb页面。

    参数的顺序决定了过滤器的顺序。

posted @ 2014-02-27 17:40  weian404  阅读(134)  评论(0编辑  收藏  举报