Permalink
Browse files

[AUTOCONF] setting default values for config

Summary:
Reverted some ports and values for default cluster setup,
additionally made `start-dev-cluster.sh` using --seekconfig
option by default

Test Plan: ran a cluster

Reviewers: tomasz, hkuang

Reviewed By: tomasz
  • Loading branch information...
1 parent 476ea70 commit 22e9ece7d0fcd182d3abeb83baa964316f796ff9 alushnikov committed with Alex Feinberg Oct 5, 2012
@@ -5,7 +5,7 @@
<property>
<name>dfs.http.address0</name>
- <value>localhost:50199</value>
+ <value>localhost:50070</value>
<description>
The address and the base port where the dfs namenode web ui will listen on.
If the port is 0 then the server will start on a free port.
@@ -14,7 +14,7 @@
<property>
<name>dfs.http.address1</name>
- <value>localhost:50202</value>
+ <value>localhost:50080</value>
<description>
The address and the base port where the dfs namenode web ui will listen on.
If the port is 0 then the server will start on a free port.
@@ -95,7 +95,7 @@
<property>
<name>dfs.namenode.dn-address0</name>
- <value>localhost:9015</value>
+ <value>localhost:9005</value>
<description>
The address and port to run the RPC server which will be processing
requests from datanodes in the cluster.
@@ -104,7 +104,7 @@
<property>
<name>dfs.namenode.dn-address1</name>
- <value>localhost:9025</value>
+ <value>localhost:9006</value>
<description>
The address and port to run the RPC server which will be processing
requests from datanodes in the cluster.
@@ -7,7 +7,7 @@
<property>
<name>fs.default.name</name>
- <value>hdfs://localhost:9010</value>
+ <value>hdfs://localhost:9000</value>
<description>The name of the default file system. A URI whose
scheme and authority determine the FileSystem implementation. The
uri's scheme determines the config property (fs.SCHEME.impl) naming
@@ -17,7 +17,7 @@
<property>
<name>fs.default.name0</name>
- <value>hdfs://localhost:9010</value>
+ <value>hdfs://localhost:9000</value>
<description>The name of the default file system. A URI whose
scheme and authority determine the FileSystem implementation. The
uri's scheme determines the config property (fs.SCHEME.impl) naming
@@ -27,7 +27,7 @@
<property>
<name>fs.default.name1</name>
- <value>hdfs://localhost:9020</value>
+ <value>hdfs://localhost:9010</value>
<description>The name of the default file system. A URI whose
scheme and authority determine the FileSystem implementation. The
uri's scheme determines the config property (fs.SCHEME.impl) naming
@@ -38,14 +38,17 @@
<property>
<name>fs.checkpoint.period</name>
<value>600</value>
- <description>...
+ <description>
+ The number of seconds between two periodic checkpoints
</description>
</property>
<property>
<name>fs.checkpoint.size</name>
<value>10000000</value>
- <description>...
+ <description>
+ Defines the size of the edits log file that forces an urgent checkpoint even
+ if the maximum checkpoint delay is not reached.
</description>
</property>
@@ -57,7 +60,7 @@
<property>
<name>ipc.client.connect.max.retries</name>
- <value>2</value>
+ <value>10</value>
</property>
<property>
@@ -12,7 +12,7 @@
<property>
<name>dfs.http.address</name>
- <value>127.0.0.1:50199</value>
+ <value>127.0.0.1:50070</value>
<description>
The address and the base port where the dfs namenode web ui will listen on.
If the port is 0 then the server will start on a free port.
@@ -36,7 +36,7 @@
<property>
<name>dfs.fullblockreport.magnifier</name>
- <value>1</value>
+ <value>2</value>
<description>
Determines the full block reporting interval, which is magnifier
times the delete block report interval.
@@ -5,7 +5,7 @@ usage="USAGE
bash $(basename $0) [--help] [--format] [--count number | --seekconfig]
DESCRIPTION
- Launching without arguments equals to '--count 1'
+ Launching without arguments equals to '--seekconfig'
specified argument
Starts locally two avatar namenodes and, depending on the option
@@ -47,9 +47,6 @@ if (( $# >= 1 )); then
fi
mode="seek";
-if (( $# == 0 )); then
- mode=1
-fi
if (( $# >= 1 )); then
if [[ $1 == "--seekconfig" ]]; then

0 comments on commit 22e9ece

Please sign in to comment.