Hi Rajesh,That was a good point. In my config, I used 
<configuration>
<property>
  <name>fs.default.name</name>
  <value>hdfs://localhost:54310</value>
</property>
</configuration>

So I ran 
hadoop -jar indexdata.jar `pwd`result hdfs://127.0.0.1:54310/data-Index

This time, I get another error:
Exception in thread "main" java.lang.NullPointerException
        at IndexHDFS.indexData(IndexHDFS.java:92)
        at IndexHDFS.main(IndexHDFS.java:72)

Is that a problem with IndexData.jar? Can you help with more detail information 
so that I can tell the developers to find the bug?
 Regards,
Mahmood



  

Reply via email to