Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn:bigdata:install_hadoop_eco_system_single_mode [2014/08/14 23:44] yehudalearn:bigdata:install_hadoop_eco_system_single_mode [2022/01/03 16:03] (current) – external edit 127.0.0.1
Line 42: Line 42:
 </code> </code>
  
 +Edit /usr/local/hadoop/etc/hadoop/mapred-site.xml
 +<code xml>
 +<?xml version="1.0"?>
 +<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
 +<configuration>
 +<property>
 +  <name>mapred.job.tracker</name>
 +  <value>localhost:54311</value>
 +  <description>The host and port that the MapReduce job tracker runs
 +  at.  If "local", then jobs are run in-process as a single map
 +  and reduce task.
 +  </description>
 +</property>
 +</configuration>
 +
 +</code>
 +Edit /usr/local/hadoop/etc/conf/core-site.xml
 +<code xml>
 +<configuration>
 +<property>
 +  <name>hadoop.tmp.dir</name>
 +  <value>/home/hduser/hadoop.tmp</value>
 +  <description>A base for other temporary directories.</description>
 +</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>
 +</configuration>
 +
 +</code>
 +
 +Format
 +<code bash>
 +cd /usr/local/hadoop/
 +bin/hadoop namenode -format
 +</code>
  
  
learn/bigdata/install_hadoop_eco_system_single_mode.1408059893.txt.gz · Last modified: (external edit)
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0