Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your <code>core-site.xml</code> and <code>hdfs-site.xml</code> files are configured to use <code>localhost:9000</code>. If this isn't what you expect (which is what I get from you post's title), what <em>did</em> you expect?</p> <p>What version of Hadoop are we talking about? How did you install your Hadoop distribution? From your other question and the config files, I'm guessing you used CHD4. If you look over <a href="https://ccp.cloudera.com/display/CDH4DOC/Installing+CDH4+on+a+Single+Linux+Node+in+Pseudo-distributed+Mode#InstallingCDH4onaSingleLinuxNodeinPseudo-distributedMode-InstallingCDH4withMRv1onaSingleLinuxNodeinPseudodistributedmode">the instructions from Cloudera</a>, can you see if you missed anything? </p> <p>Before starting Hadoop, did you format HDFS?</p> <pre><code>$ hadoop namenode -format </code></pre> <p>Then, after starting Hadoop, do you get anything other than INFO messages?</p> <p>Did you copy the input data into HDFS?</p> <pre><code>$ hadoop dfs -put /tmp/my/input/data input </code></pre> <p>Finally, what do you get from simple HDFS commands such as:</p> <pre><code>$ hadoop dfs -ls / </code></pre> <p>UPDATE: Run Word Count</p> <ol> <li>Get HDFS up and running. Running <code>hadoop dfs -ls /</code> should work.</li> <li>Copy a folder with text file(s) into HDFS: <code>hadoop dfs -put text_files input_folder</code></li> <li>Run <code>hadoop dfs -ls .</code> to see if your files got copied correctly.</li> <li>Find the <code>hadoop-examples-X.Y.Z.jar</code> file on your system.</li> <li><p>Navigate to whatever directory it's in, and run: </p> <p><code>$ hadoop jar hadoop-examples-*.jar WordCount input_folder output_folder</code>.</p></li> <li><p>You should see the progress of the MapReduce application.</p></li> <li>When its finished, view the output with <code>hadoop dfs -cat output_folder/*</code>.</li> </ol>
    singulars
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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