On Oct 5, 2011, at 8:10 PM, Jignesh Patel wrote:

> While running Wordcount from eclipse on Lion X after setting up everything I 
> got following error.
> 
> Exception in thread "main" 
> org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does 
> not exist: hdfs://localhost:9000/user/hadoop-user/input
> 
> I have used following command
> 
>  bin/hadoop fs -mkdir /user/hadoop-user
> 
> and it has created directory for me.
> 
> when I checked I found following
> 
> Jignesh-MacBookPro:hadoop hadoop-user$ bin/hadoop fs -ls /
> 2011-10-05 20:05:03.073 java[45432:1903] Unable to load realm info from 
> SCDynamicStore
> Found 2 items
> drwxr-xr-x   - hadoop-user supergroup          0 2011-10-05 19:52 /user
> drwxr-xr-x   - hadoop-user supergroup          0 2011-10-05 00:59 /users
> 
> 
> I am wondering where did following directory created as I am unable to locate 
> it because my base directory is users not user
> /user/hadoop-user 


I also found another problem if I directly export from eclipse as a jar file 
then while trying javac -jar or hadoop -jar doesn't recognize that jar. However 
same jar works well with windows.

Reply via email to