You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/11/04 02:50:10 UTC

[GitHub] [hadoop] yongster opened a new pull request, #5107: hadoop

yongster opened a new pull request, #5107:
URL: https://github.com/apache/hadoop/pull/5107

   
   
   ###  When I execute the HDFS. There is a mistake. No dependency package was found for the CDH. But I am using the Apache ah.
   
   
   ###  log
   
   java.lang.NoClassDefFoundError: junit/framework/TestCase
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
           at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
           at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
           at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
           at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
           at org.apache.hadoop.test.MapredTestDriver.<init>(MapredTestDriver.java:109)
           at org.apache.hadoop.test.MapredTestDriver.<init>(MapredTestDriver.java:61)
           at org.apache.hadoop.test.MapredTestDriver.main(MapredTestDriver.java:147)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.apache.hadoop.util.RunJar.run(RunJar.java:323)
           at org.apache.hadoop.util.RunJar.main(RunJar.java:236)
   Caused by: java.lang.ClassNotFoundException: junit.framework.TestCase
           at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
           ... 21 more
   2022-11-04 10:10:13,697 INFO fs.TestDFSIO: TestDFSIO.1.8
   2022-11-04 10:10:13,699 INFO fs.TestDFSIO: nrFiles = 10
   2022-11-04 10:10:13,699 INFO fs.TestDFSIO: nrBytes (MB) = 500.0
   2022-11-04 10:10:13,699 INFO fs.TestDFSIO: bufferSize = 1000000
   2022-11-04 10:10:13,699 INFO fs.TestDFSIO: baseDir = /benchmarks/TestDFSIO
   2022-11-04 10:10:14,861 INFO fs.TestDFSIO: creating control file: 524288000 bytes, 10 files
   2022-11-04 10:10:16,363 INFO fs.TestDFSIO: created control files for: 10 files
   2022-11-04 10:10:16,954 INFO client.DefaultNoHARMFailoverProxyProvider: Connecting to ResourceManager at /10.18.104.129:8032
   2022-11-04 10:10:18,715 INFO client.DefaultNoHARMFailoverProxyProvider: Connecting to ResourceManager at /10.18.104.129:8032
   java.io.FileNotFoundException: File does not exist: hdfs://10.18.104.129:8020/user/yarn/mapreduce/mr-framework/3.0.0-cdh6.1.0-mr-framework.tar.gz
           at org.apache.hadoop.fs.Hdfs.getFileStatus(Hdfs.java:153)
           at org.apache.hadoop.fs.AbstractFileSystem.resolvePath(AbstractFileSystem.java:509)
           at org.apache.hadoop.fs.FileContext$25.next(FileContext.java:2305)
           at org.apache.hadoop.fs.FileContext$25.next(FileContext.java:2301)
           at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
           at org.apache.hadoop.fs.FileContext.resolve(FileContext.java:2307)
           at org.apache.hadoop.fs.FileContext.resolvePath(FileContext.java:616)
           at org.apache.hadoop.mapreduce.JobSubmitter.addMRFrameworkToDistributedCache(JobSubmitter.java:460)
           at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:146)
           at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1571)
           at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1568)
           at java.security.AccessController.doPrivileged(Native Method)
           at javax.security.auth.Subject.doAs(Subject.java:422)
           at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1878)
           at org.apache.hadoop.mapreduce.Job.submit(Job.java:1568)
           at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:576)
           at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:571)
           at java.security.AccessController.doPrivileged(Native Method)
           at javax.security.auth.Subject.doAs(Subject.java:422)
           at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1878)
           at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:571)
           at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:562)
           at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:873)
           at org.apache.hadoop.fs.TestDFSIO.runIOTest(TestDFSIO.java:476)
           at org.apache.hadoop.fs.TestDFSIO.writeTest(TestDFSIO.java:455)
           at org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:872)
           at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:81)
           at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:95)
           at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:743)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71)
           at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
           at org.apache.hadoop.test.MapredTestDriver.run(MapredTestDriver.java:139)
           at org.apache.hadoop.test.MapredTestDriver.main(MapredTestDriver.java:147)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.apache.hadoop.util.RunJar.run(RunJar.java:323)
           at org.apache.hadoop.util.RunJar.main(RunJar.java:236)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] ayushtkn commented on pull request #5107: hadoop

Posted by GitBox <gi...@apache.org>.
ayushtkn commented on PR #5107:
URL: https://github.com/apache/hadoop/pull/5107#issuecomment-1320514858

   reach out to hadoop user mailing list for such questions


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


[GitHub] [hadoop] ayushtkn closed pull request #5107: hadoop

Posted by GitBox <gi...@apache.org>.
ayushtkn closed pull request #5107: hadoop
URL: https://github.com/apache/hadoop/pull/5107


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org