Yes I understand. Indeed I am using a jar file. That error message is a call 
stack. The jar file name is "IndexData.jar". The command looks like
hadoop jar IndexData.jar ...orjava -jar IndexData.jar ....
 Regards,
Mahmood 


     On Tuesday, May 5, 2015 5:33 PM, Uwe Schindler <[email protected]> wrote:
   

 #yiv5509912175 #yiv5509912175 -- _filtered #yiv5509912175 
{font-family:Helvetica;panose-1:0 11 5 0 0 0 0 0 0 0;} _filtered #yiv5509912175 
{panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv5509912175 
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv5509912175 
{font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv5509912175 
#yiv5509912175 p.yiv5509912175MsoNormal, #yiv5509912175 
li.yiv5509912175MsoNormal, #yiv5509912175 div.yiv5509912175MsoNormal 
{margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv5509912175 a:link, 
#yiv5509912175 span.yiv5509912175MsoHyperlink 
{color:#0563C1;text-decoration:underline;}#yiv5509912175 a:visited, 
#yiv5509912175 span.yiv5509912175MsoHyperlinkFollowed 
{color:#954F72;text-decoration:underline;}#yiv5509912175 
span.yiv5509912175E-MailFormatvorlage17 {color:#44546A;}#yiv5509912175 
.yiv5509912175MsoChpDefault {font-size:10.0pt;} _filtered #yiv5509912175 
{margin:70.85pt 70.85pt 2.0cm 70.85pt;}#yiv5509912175 
div.yiv5509912175WordSection1 {}#yiv5509912175 Hi,  I don’t think this is from 
an Apache Project, because Java classes should be in a package, while IndexHDFS 
is not part of a package.Apache Lucene/Apache Solr does not have any 
package-less classes.  Uwe  -----Uwe SchindlerH.-H.-Meier-Allee 63, D-28213 
Bremenhttp://www.thetaphi.deeMail: [email protected]  From: Mahmood N 
[mailto:[email protected]] 
Sent: Tuesday, May 05, 2015 11:53 AM
To: [email protected]
Cc: [email protected]; [email protected]; [email protected]
Subject: where is IndexHDFS.java  Dear Apache Guys,
I am trying to run a hadoop/java command which uses a jar file called 
"IndexData.jar". However, I get an error and the call stack shows

Exception in thread "main" java.lang.NullPointerException
        at IndexHDFS.indexData(IndexHDFS.java:92)
        at IndexHDFS.main(IndexHDFS.java:72)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)

        
        
So my question is which apache project use the file "IndexHDFS.java"? If you 
know, please let me know and save a someone's life! Regards,
Mahmood

  

Reply via email to