欢迎投稿

今日深度:

hadoop-config,

hadoop-config,


hdfs-site.xml

<?xml version="1.0"?>

<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>  
  <property>  
    <name>dfs.name.dir</name>  
    <value>/usr/local/hadoop/datalog1,/usr/local/hadoop/datalog2</value>  
  </property>  
  <property>  
    <name>dfs.data.dir</name>  
    <value>/usr/local/hadoop/data1,/usr/local/hadoop/data2</value>  
  </property>  
  <property>  
    <name>dfs.replication</name>  
    <value>1</value>  
  </property>  
  <property>  
    <name>dfs.permissions</name>  
    <value>false</value>  
  </property>  

</configuration>

==========================================================================

core-site.xml

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
  <name>fs.default.name</name>
  <value>hdfs://172.10.10.144:9000</value>
</property>
</configuration>

==========================================================================

mapred-site.xml

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
  <name>mapred.job.tracker</name>
  <value>172.10.10.144:9001</value>
</property>
</configuration>

==========================================================================

hbase-site.xml

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
    <name>hbase.rootdir</name>
    <value>hdfs://172.10.10.144:9000/hbase</value>
</property>
<property>
    <name>dfs.replication</name>
    <value>3</value>
</property>
</configuration>


www.htsjk.Com true http://www.htsjk.com/Hadoop/28498.html NewsArticle hadoop-config, hdfs-site.xml ?xml version="1.0"? ?xml-stylesheet type="text/xsl" href="configuration.xsl"? !-- Put site-specific property overrides in this file. -- configuration     property       namedfs.name.dir/name       valu...
相关文章
    暂无相关文章
评论暂时关闭