Database Reference
In-Depth Information
</property>
</configuration>
<?xml version="1.0"?>
<!-- mapred-site.xml -->
<configuration>
<property>
<name> mapreduce.framework.name </name>
<value> yarn </value>
</property>
</configuration>
<?xml version="1.0"?>
<!-- yarn-site.xml -->
<configuration>
<property>
<name> yarn.resourcemanager.hostname </name>
<value> localhost </value>
</property>
<property>
<name> yarn.nodemanager.aux-services </name>
<value> mapreduce_shuffle </value>
</property>
</configuration>
Configuring SSH
In pseudodistributed mode, we have to start daemons, and to do that using the supplied
scripts we need to have SSH installed. Hadoop doesn't actually distinguish between
pseudodistributed and fully distributed modes; it merely starts daemons on the set of hosts
in the cluster (defined by the slaves file) by SSHing to each host and starting a daemon
process. Pseudodistributed mode is just a special case of fully distributed mode in which
the (single) host is localhost, so we need to make sure that we can SSH to localhost and
log in without having to enter a password.
First, make sure that SSH is installed and a server is running. On Ubuntu, for example,
this is achieved with:
% sudo apt-get install ssh
NOTE
On Mac OS X, make sure Remote Login (under System Preferences→Sharing) is enabled for the current
user (or all users).
Search WWH ::




Custom Search