Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS, mail # user - Error while running MapR program on multinode configuration


Copy link to this message
-
Re: Error while running MapR program on multinode configuration
Varsha Raveendran 2013-04-03, 21:58
Thanks for replying!

version : hadoop 1.1.1

I am creating a jar file called ga_test.jar and then placing  it in the
build path of another program.
Also, I am using eclipse to create another jar file including ga_test.jar
as a reference library. I do not know why hadoop is taking the filename as
rsrc:ga_test.jar.  (Maybe thats where the ":" is coming into the picture!)

Thanks!
On Thu, Apr 4, 2013 at 3:18 AM, Mohammad Tariq <[EMAIL PROTECTED]> wrote:

> Which version are you using? Could you plz show me your code, if possible
> for you.
> Also, how are you running the job? For a detailed explanation you might
> find this <https://issues.apache.org/jira/browse/HDFS-13> useful.
>
> Warm Regards,
> Tariq
> https://mtariq.jux.com/
> cloudfront.blogspot.com
>
>
> On Thu, Apr 4, 2013 at 3:09 AM, Varsha Raveendran <
> [EMAIL PROTECTED]> wrote:
>
>>  But I do not have a ":" in any of my file names.
>> What could the other reasons be? I am not able to debug the error..
>>
>> Thank you for replying.
>>
>>
>> On Thu, Apr 4, 2013 at 2:02 AM, Mohammad Tariq <[EMAIL PROTECTED]>wrote:
>>
>>> Hello ma'am,
>>>
>>>    Please make sure that you don't have ":" in your files.
>>>
>>> Warm Regards,
>>> Tariq
>>> https://mtariq.jux.com/
>>> cloudfront.blogspot.com
>>>
>>>
>>> On Thu, Apr 4, 2013 at 1:50 AM, Varsha Raveendran <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>> Hello,
>>>>
>>>> I am facing this error while trying to run a jar file on hadoop :
>>>>
>>>> 13/04/04 01:48:01 INFO mapred.JobClient: Cleaning up the staging area
>>>> hdfs://MT2012158:54310/app/hadoop/tmp/mapred/staging/hduser/.staging/job_201304032344_0008
>>>> Exception in thread "main" java.lang.reflect.InvocationTargetException
>>>>     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:616)
>>>>     at
>>>> org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
>>>>     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:616)
>>>>     at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
>>>> Caused by: java.lang.IllegalArgumentException:
>>>> java.net.URISyntaxException: Relative path in absolute URI: rsrc:ga_test.jar
>>>>     at org.apache.hadoop.fs.Path.initialize(Path.java:148)
>>>>     at org.apache.hadoop.fs.Path.<init>(Path.java:126)
>>>>     at
>>>> org.apache.hadoop.mapred.JobClient.copyAndConfigureFiles(JobClient.java:841)
>>>>     at
>>>> org.apache.hadoop.mapred.JobClient.copyAndConfigureFiles(JobClient.java:717)
>>>>     at org.apache.hadoop.mapred.JobClient.access$400(JobClient.java:179)
>>>>     at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:927)
>>>>     at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:912)
>>>>     at java.security.AccessController.doPrivileged(Native Method)
>>>>     at javax.security.auth.Subject.doAs(Subject.java:416)
>>>>     at
>>>> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1136)
>>>>     at
>>>> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:912)
>>>>     at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:886)
>>>>     at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1323)
>>>>     at edu.iiitb.config.GAMain.launch(Unknown Source)
>>>>     at edu.iiitb.config.GAMain.run(Unknown Source)
>>>>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>>>>     at edu.iiitb.config.GAMain.runGA(Unknown Source)
>>>>     at TC1.main(TC1.java:21)
>>>>     ... 10 more
>>

*-Varsha *