Skip to content

Commit

Permalink
gnの設定を整理
Browse files Browse the repository at this point in the history
  • Loading branch information
marblejenka committed Aug 8, 2012
1 parent 3260599 commit 791aa9c
Show file tree
Hide file tree
Showing 5 changed files with 186 additions and 241 deletions.
40 changes: 24 additions & 16 deletions conf/cdh3.hadoop.gn/core-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,29 @@
<!-- Put site-specific property overrides in this file. -->

<configuration>
<property>
<name>local.namenode</name>
<value>mapr01</value>
</property>
<property>
<name>local.secondnamenode</name>
<value>mapr01</value>
</property>
<property>
<name>local.jobtracker</name>
<value>mapr01</value>
</property>

<property>
<name>fs.default.name</name>
<value>hdfs://mapr01:8020/</value>
</property>


<property>
<name>fs.checkpoint.dir</name>
<value>/hadoop/hdfs/namesecondary</value>
</property>

<property>
<name>io.file.buffer.size</name>
<value>65536</value>
</property>

<property>
<name>fs.default.name</name>
<value>hdfs://${local.namenode}:8020</value>
</property>
<property>
<name>fs.checkpoint.dir</name>
<value>/hadoop/hdfs/namesecondary</value>
</property>
<property>
<name>io.file.buffer.size</name>
<value>65536</value>
</property>
</configuration>
2 changes: 1 addition & 1 deletion conf/cdh3.hadoop.gn/hadoop-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# export HADOOP_CLASSPATH="<extra_entries>:$HADOOP_CLASSPATH"

# The maximum amount of heap to use, in MB. Default is 1000.
# export HADOOP_HEAPSIZE=2000
export HADOOP_HEAPSIZE=2048

# Extra Java runtime options. Empty by default.
# if [ "$HADOOP_OPTS" == "" ]; then export HADOOP_OPTS=-server; else HADOOP_OPTS+=" -server"; fi
Expand Down
106 changes: 0 additions & 106 deletions conf/cdh3.hadoop.gn/hadoop-policy.xml

This file was deleted.

4 changes: 4 additions & 0 deletions conf/cdh3.hadoop.gn/hdfs-site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<name>dfs.replication</name>
<value>1</value>
</property>
<property>
<name>dfs.block.size</name>
<value>134217728</value>
</property>

<property>
<name>dfs.umaskmode</name>
Expand Down
Loading

0 comments on commit 791aa9c

Please sign in to comment.