Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to find the proper ports to be used in core and mapred files during the Hadoop installation on mac OSX?
    primarykey
    data
    text
    <p>I recently shifted from Windows to Mac OS, and I am trying to install Hadoop on Mac OSX 10.7 Lion.</p> <p>In the <code>core-site.xml</code> file, I have to add a property:</p> <pre><code>&lt;property&gt; &lt;name&gt;fs.default.name&lt;/name&gt; &lt;value&gt;hdfs://localhost:8020&lt;/value&gt; &lt;/property&gt; </code></pre> <p>and in <code>mapred-site.xml</code>:</p> <pre><code>&lt;property&gt; &lt;name&gt;mapred.job.tracker&lt;/name&gt; &lt;value&gt;localhost:8021&lt;/value&gt; &lt;/property&gt; </code></pre> <p>I tried to do:</p> <pre><code>$telnet localhost 8020 </code></pre> <p>and</p> <pre><code>$telnet localhost 8021 </code></pre> <p>but I think both of them are not open on my machine.</p> <p><code>telnet localhost</code> is working fine but <code>telnet localhost 8020/8021</code> is throwing the error:</p> <pre><code>Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Trying fe80::1%lo0... telnet: connect to address fe80::1%lo0: Connection refused telnet: Unable to connect to remote host: Connection refused </code></pre> <p>Also, I am not able to telnet to my machine's IP address. I get this error:</p> <pre><code>Trying 192.168.0.145... telnet: connect to address 192.168.0.145: Operation timed out telnet: Unable to connect to remote host: Operation timed out </code></pre> <p>To find the ports available, I tried running command:</p> <pre><code>$lsof -i -P | grep -i "listen" </code></pre> <p>but every time I run this command, I'll get different set of IPV6 ports.</p> <p>I am not sure how to find the proper ports to specify in those two files? Please suggest some pointers on this.</p> <p>I ran the start-all.sh script and type <strong>jps</strong>, it's not showing the namenode pid</p> <p>'3049 SecondaryNameNode 3181 TaskTracker 2971 DataNode 3190 Jps 3105 JobTracker'</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload