Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to view any folders on DFS locations connecting to hadoop from eclipse
    text
    copied!<p>I have setup Hadoop1.2.1 in windows with CYGWIN installed. I have started sshd service. Also started namenode, datanode, mapreduce (job tracker, task tracker). I am able to see the namenode, datanode and mapreduce running status through the following URLs.</p> <p>When i try connecting the hadoop through eclipse, i am able to.Though i was able to connect hadoop from eclipse, i was not seeing any folders on opening DFS locations. Its displaying as (0) (refer Pic #1 , <img src="https://i.stack.imgur.com/5a3bf.png" alt="enter image description here"> which i guess no directories/files available. The same i checked with namenode storage (refer Pic #2)</p> <p>Even when i try creating a directory through CYGWIN terminal (refer Pic #4), i was not able to see it in DFS locations in eclipse environment. <img src="https://i.stack.imgur.com/VQ1d3.png" alt="enter image description here"></p> <p>That being said, i tried with WordCount example, by setting the input path and output path as follows, // specify input and output dirs</p> <pre><code>FileInputFormat.addInputPath(conf, new Path("Input")); FileOutputFormat.setOutputPath(conf, new Path("Output")); </code></pre> <p>When i run that in HDFS location from eclipse, i was getting the following exception</p> <p><strong>13/10/30 06:52:44 ERROR security.UserGroupInformation: PriviledgedActionException as:Administrator cause:org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://localhost:47110/user/Administrator/Input org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://localhost:47110/user/Administrator/Input</strong></p> <p>Questions: Why i am not able to see the directory that i created through CYGWIN terminal and any folders for that matter?<br> What does "hdfs://localhost:47110" point to?<br> Am i getting the above exception since it dont see the directory in datanode? What is the input path should i set?</p> <p>Please advice me on this.</p> <p>Thanks in advance.</p>
 

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