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 >>> Caused by: java.net.URISyntaxException: Relative path in absolute URI: >>> rsrc:ga_test.jar >>> at java.net.URI.checkPath(URI.java:1804) >>> at java.net.URI.<init>(URI.java:752) >>> at org.apache.hadoop.fs.Path.initialize(Path.java:145) >>> ... 27 more >>> >>> Please help!!! >>> >>> -- >>> *-Varsha * >>> >> >> > > > -- > *-Varsha * >
