Support Questions
Find answers, ask questions, and share your expertise

java.lang.NoClassDefFoundError: org/eclipse/jetty/server/ResourceService$WelcomeFactory

java.lang.NoClassDefFoundError: org/eclipse/jetty/server/ResourceService$WelcomeFactory

New Contributor

Log Type: directory.info Log Upload Time: Tue Dec 22 00:16:41 +0800 2020 Log Length: 25528 Showing 4096 bytes of 25528 total. Click here for the full log. 4 -r-xr-xr-x 1 yarn hadoop 1642 Sep 19 2018 ./mr-framework/hadoop/sbin/stop-yarn.cmd 1575146 4 -r-xr-xr-x 1 yarn hadoop 1982 Sep 19 2018 ./mr-framework/hadoop/sbin/workers.sh 1575147 4 -r-xr-xr-x 1 yarn hadoop 3342 Sep 19 2018 ./mr-framework/hadoop/sbin/start-yarn.sh 1575148 4 -r-xr-xr-x 1 yarn hadoop 1793 Sep 19 2018 ./mr-framework/hadoop/sbin/start-secure-dns.sh 1575149 4 -r-xr-xr-x 1 yarn hadoop 1983 Sep 19 2018 ./mr-framework/hadoop/sbin/hadoop-daemon.sh 1575150 4 -r-xr-xr-x 1 yarn hadoop 2221 Sep 19 2018 ./mr-framework/hadoop/sbin/start-all.sh 1575151 4 -r-xr-xr-x 1 yarn hadoop 1779 Sep 19 2018 ./mr-framework/hadoop/sbin/start-all.cmd 1575152 4 -r-xr-xr-x 1 yarn hadoop 2522 Sep 19 2018 ./mr-framework/hadoop/sbin/hadoop-daemons.sh 1575153 4 -r-xr-xr-x 1 yarn hadoop 1841 Sep 19 2018 ./mr-framework/hadoop/sbin/mr-jobhistory-daemon.sh 1575154 4 -r-xr-xr-x 1 yarn hadoop 1880 Sep 19 2018 ./mr-framework/hadoop/sbin/start-balancer.sh 1575155 4 -r-xr-xr-x 1 yarn hadoop 1770 Sep 19 2018 ./mr-framework/hadoop/sbin/stop-all.cmd 1575156 4 drwxr-xr-x 4 yarn hadoop 4096 Sep 19 2018 ./mr-framework/hadoop/sbin/FederationStateStore 1575157 4 drwxr-xr-x 2 yarn hadoop 4096 Sep 19 2018 ./mr-framework/hadoop/sbin/FederationStateStore/MySQL 1575166 4 drwxr-xr-x 2 yarn hadoop 4096 Sep 19 2018 ./mr-framework/hadoop/sbin/FederationStateStore/SQLServer 1575169 8 -r-xr-xr-x 1 yarn hadoop 5170 Sep 19 2018 ./mr-framework/hadoop/sbin/start-dfs.sh 1575170 4 -r-xr-xr-x 1 yarn hadoop 1542 Sep 19 2018 ./mr-framework/hadoop/sbin/httpfs.sh 1575171 4 -r-xr-xr-x 1 yarn hadoop 2166 Sep 19 2018 ./mr-framework/hadoop/sbin/stop-all.sh 1575172 4 -r-xr-xr-x 1 yarn hadoop 3898 Sep 19 2018 ./mr-framework/hadoop/sbin/stop-dfs.sh 1575173 4 -r-xr-xr-x 1 yarn hadoop 1783 Sep 19 2018 ./mr-framework/hadoop/sbin/stop-balancer.sh 1575174 4 -r-xr-xr-x 1 yarn hadoop 1756 Sep 19 2018 ./mr-framework/hadoop/sbin/stop-secure-dns.sh 1575175 4 -r-xr-xr-x 1 yarn hadoop 1571 Sep 19 2018 ./mr-framework/hadoop/sbin/start-yarn.cmd 1575176 4 -r-xr-xr-x 1 yarn hadoop 1455 Sep 19 2018 ./mr-framework/hadoop/sbin/stop-dfs.cmd 1575177 4 -r-xr-xr-x 1 yarn hadoop 1500 Sep 19 2018 ./mr-framework/hadoop/sbin/kms.sh 1575178 4 -r-xr-xr-x 1 yarn hadoop 2756 Sep 19 2018 ./mr-framework/hadoop/sbin/distribute-exclude.sh 1575179 4 drwxr-xr-x 2 yarn hadoop 4096 Sep 19 2018 ./mr-framework/hadoop/include 1575180 4 -r-xr-xr-x 1 yarn hadoop 2441 Sep 19 2018 ./mr-framework/hadoop/include/StringUtils.hh 1575181 40 -r-xr-xr-x 1 yarn hadoop 39170 Sep 19 2018 ./mr-framework/hadoop/include/hdfs.h 1575182 4 -r-xr-xr-x 1 yarn hadoop 3319 Sep 19 2018 ./mr-framework/hadoop/include/TemplateFactory.hh 1575183 8 -r-xr-xr-x 1 yarn hadoop 4567 Sep 19 2018 ./mr-framework/hadoop/include/SerialUtils.hh 1575184 8 -r-xr-xr-x 1 yarn hadoop 6330 Sep 19 2018 ./mr-framework/hadoop/include/Pipes.hh 1709188 4 -rw-r--r-- 1 yarn hadoop 16 Dec 22 00:16 ./.default_container_executor.sh.crc 1839598 1688 -r-x------ 1 yarn hadoop 1724565 Dec 22 00:16 ./kafka-clients-1.1.1.3.0.1.0-187.jar 1839593 4 -rw-r--r-- 1 yarn hadoop 2112 Dec 22 00:16 ./.hive-hcatalog-core.jar.crc 1709181 4 -rw-r--r-- 1 yarn hadoop 100 Dec 22 00:16 ./container_tokens 1709180 4 drwx--x--- 2 yarn hadoop 4096 Dec 22 00:16 ./tmp 1839596 44 -r-x------ 1 yarn hadoop 42703 Dec 22 00:16 ./hive-metastore.jar 1709166 4 drwx------ 2 yarn hadoop 4096 Dec 22 00:16 ./job.jar 1709167 59636 -r-x------ 1 yarn hadoop 61065475 Dec 22 00:16 ./job.jar/job.jar broken symlinks(find -L . -maxdepth 5 -type l -ls): Log Type: launch_container.sh Log Upload Time: Tue Dec 22 00:16:41 +0800 2020 Log Length: 7282 Showing 4096 bytes of 7282 total. Click here for the full log. hadoop/yarn/local/usercache/root/appcache/application_1608550094476_0007/filecache/12/job.split" "jobSubmitDir/job.split" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/hive-metastore-3.1.0.3.0.1.0-187.jar" "hive-metastore-3.1.0.3.0.1.0-187.jar" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/.hive-metastore.jar.crc" ".hive-metastore.jar.crc" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/hive-metastore.jar" "hive-metastore.jar" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/.kafka-clients-1.1.1.3.0.1.0-187.jar.crc" ".kafka-clients-1.1.1.3.0.1.0-187.jar.crc" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/.hive-metastore-3.1.0.3.0.1.0-187.jar.crc" ".hive-metastore-3.1.0.3.0.1.0-187.jar.crc" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/hive-exec-3.1.0.3.0.1.0-187.jar" "hive-exec-3.1.0.3.0.1.0-187.jar" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/.hive-hcatalog-core-3.1.0.3.0.1.0-187.jar.crc" ".hive-hcatalog-core-3.1.0.3.0.1.0-187.jar.crc" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/kafka-clients-1.1.1.3.0.1.0-187.jar" "kafka-clients-1.1.1.3.0.1.0-187.jar" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/.hive-hcatalog-core.jar.crc" ".hive-hcatalog-core.jar.crc" ln -sf "/hadoop/yarn/local/usercache/root/appcache/application_1608550094476_0007/filecache/13/job.xml" "job.xml" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/hive-hcatalog-core-3.1.0.3.0.1.0-187.jar" "hive-hcatalog-core-3.1.0.3.0.1.0-187.jar" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/.hive-exec.jar.crc" ".hive-exec.jar.crc" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/.hive-exec-3.1.0.3.0.1.0-187.jar.crc" ".hive-exec-3.1.0.3.0.1.0-187.jar.crc" ln -sf "/hadoop/yarn/local/usercache/root/filecache/56/libjars/hive-hcatalog-core.jar" "hive-hcatalog-core.jar" mkdir -p jobSubmitDir ln -sf "/hadoop/yarn/local/usercache/root/appcache/application_1608550094476_0007/filecache/10/job.splitmetainfo" "jobSubmitDir/job.splitmetainfo" ln -sf "/hadoop/yarn/local/usercache/root/appcache/application_1608550094476_0007/filecache/11/job.jar" "job.jar" echo "Copying debugging information" # Creating copy of launch script cp "launch_container.sh" "/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001/launch_container.sh" chmod 640 "/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001/launch_container.sh" # Determining directory contents echo "ls -l:" 1>"/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001/directory.info" ls -l 1>>"/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001/directory.info" echo "find -L . -maxdepth 5 -ls:" 1>>"/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001/directory.info" find -L . -maxdepth 5 -ls 1>>"/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001/directory.info" echo "broken symlinks(find -L . -maxdepth 5 -type l -ls):" 1>>"/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001/directory.info" find -L . -maxdepth 5 -type l -ls 1>>"/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001/directory.info" echo "Launching container" exec /bin/bash -c "$JAVA_HOME/bin/java -Djava.io.tmpdir=$PWD/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog -Dhdp.version=3.0.1.0-187 -Xmx2457m -Dhdp.version=3.0.1.0-187 org.apache.hadoop.mapreduce.v2.app.MRAppMaster 1>/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001/stdout 2>/hadoop/yarn/log/application_1608550094476_0007/container_e07_1608550094476_0007_02_000001/stderr " Log Type: prelaunch.err Log Upload Time: Tue Dec 22 00:16:41 +0800 2020 Log Length: 0 Log Type: prelaunch.out Log Upload Time: Tue Dec 22 00:16:41 +0800 2020 Log Length: 100 Setting up env variables Setting up job resources Copying debugging information Launching container Log Type: stderr Log Upload Time: Tue Dec 22 00:16:41 +0800 2020 Log Length: 240 log4j:WARN No appenders could be found for logger (org.apache.hadoop.mapreduce.v2.app.MRAppMaster). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Log Type: stdout Log Upload Time: Tue Dec 22 00:16:41 +0800 2020 Log Length: 0 Log Type: syslog Log Upload Time: Tue Dec 22 00:16:41 +0800 2020 Log Length: 77629 Showing 4096 bytes of 77629 total. Click here for the full log. 50094476_0007 = 0 2020-12-22 00:16:39,444 INFO [main] org.apache.hadoop.mapreduce.v2.app.job.impl.JobImpl: job_1608550094476_0007Job Transitioned from NEW to INITED 2020-12-22 00:16:39,444 INFO [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: MRAppMaster launching normal, non-uberized, multi-container job job_1608550094476_0007. 2020-12-22 00:16:39,457 INFO [main] org.apache.hadoop.ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue queueCapacity: 100 scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler 2020-12-22 00:16:39,463 INFO [Socket Reader #1 for port 39779] org.apache.hadoop.ipc.Server: Starting Socket Reader #1 for port 39779 2020-12-22 00:16:39,586 INFO [main] org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl: Adding protocol org.apache.hadoop.mapreduce.v2.api.MRClientProtocolPB to the server 2020-12-22 00:16:39,587 INFO [IPC Server Responder] org.apache.hadoop.ipc.Server: IPC Server Responder: starting 2020-12-22 00:16:39,587 INFO [IPC Server listener on 39779] org.apache.hadoop.ipc.Server: IPC Server listener on 39779: starting 2020-12-22 00:16:39,587 INFO [main] org.apache.hadoop.mapreduce.v2.app.client.MRClientService: Instantiated MRClientService at hadoop5.hope/172.21.48.15:39779 2020-12-22 00:16:39,615 INFO [main] org.eclipse.jetty.util.log: Logging initialized @2287ms 2020-12-22 00:16:39,659 ERROR [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Error starting MRAppMaster java.lang.NoClassDefFoundError: org/eclipse/jetty/server/ResourceService$WelcomeFactory at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.hadoop.http.HttpServer2.createWebAppContext(HttpServer2.java:609) at org.apache.hadoop.http.HttpServer2.(HttpServer2.java:519) at org.apache.hadoop.http.HttpServer2.(HttpServer2.java:117) at org.apache.hadoop.http.HttpServer2$Builder.build(HttpServer2.java:421) at org.apache.hadoop.yarn.webapp.WebApps$Builder.build(WebApps.java:340) at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:427) at org.apache.hadoop.mapreduce.v2.app.client.MRClientService.serviceStart(MRClientService.java:147) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.serviceStart(MRAppMaster.java:1290) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:194) at org.apache.hadoop.mapreduce.v2.app.MRAppMaster$6.run(MRAppMaster.java:1761) 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:1730) at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.initAndStartAppMaster(MRAppMaster.java:1757) at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:1691) Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.ResourceService$WelcomeFactory at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 28 more 2020-12-22 00:16:39,661 INFO [main] org.apache.hadoop.util.ExitUtil: Exiting with status 1: java.lang.NoClassDefFoundError: org/eclipse/jetty/server/ResourceService$WelcomeFactory