aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAndrew McDermott <andrew.mcdermott@linaro.org>2014-02-18 12:50:48 +0000
committerAndrew McDermott <andrew.mcdermott@linaro.org>2014-02-18 12:50:48 +0000
commit9316e4410771173f5f7333c500bd97178ec4a0fd (patch)
tree5e03e7c1b836ae66197c612943b7dff925e36757 /conf
parentbf8e881928117a6b4763c8440d4cfcd7e0f7eb38 (diff)
downloadopenjdk8-hadoop-LCA14-9316e4410771173f5f7333c500bd97178ec4a0fd.tar.gz
Add namenode information
Diffstat (limited to 'conf')
-rw-r--r--conf/core-site.xml49
1 files changed, 40 insertions, 9 deletions
diff --git a/conf/core-site.xml b/conf/core-site.xml
index 717a229..670d8a5 100644
--- a/conf/core-site.xml
+++ b/conf/core-site.xml
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License. See accompanying LICENSE file.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License. See accompanying LICENSE file.
-->
<!-- Put site-specific property overrides in this file. -->
@@ -21,4 +21,35 @@
<name>hadoop.tmp.dir</name>
<value>${user.home}/tmp/hadoop-${user.name}</value>
</property>
+
+ <property>
+ <name>fs.default.name</name>
+ <value>hdfs://localhost:54310</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
+ the FileSystem implementation class. The uri's authority is used to
+ determine the host, port, etc. for a filesystem.</description>
+ </property>
+
+ <property>
+ <name>mapred.map.tasks</name>
+ <value>12</value>
+ </property>
+
+ <property>
+ <name>mapred.reduce.tasks</name>
+ <value>12</value>
+ </property>
+
+ <property>
+ <name>mapreduce.tasktracker.map.tasks.minimum</name>
+ <value>8</value>
+ </property>
+
+ <property>
+ <name>mapreduce.tasktracker.reduce.tasks.maximum</name>
+ <value>8</value>
+ </property>
+
</configuration>