Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
While I was looking into TestDistributedShell logs, I noticed the following Warning
2020-12-29 16:22:26,379 INFO [Time-limited test] handler.ContextHandler (ContextHandler.java:doStart(824)) - Started o.e.j.s.ServletContextHandler@75389179{logs,/logs,file:///hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/target/log,AVAILABLE} 2020-12-29 16:22:26,380 INFO [Time-limited test] handler.ContextHandler (ContextHandler.java:doStart(824)) - Started o.e.j.s.ServletContextHandler@116ed75c{static,/static,jar:file:~/.m2/repository/org/apache/hadoop/hadoop-yarn-common/3.4.0-SNAPSHOT/hadoop-yarn-common-3.4.0-SNAPSHOT.jar!/webapps/static,AVAILABLE} 2020-12-29 16:22:26,390 WARN [Time-limited test] webapp.WebInfConfiguration (WebInfConfiguration.java:getCanonicalNameForWebAppTmpDir(794)) - Can't generate resourceBase as part of webapp tmp dir name: java.lang.NullPointerException 2020-12-29 16:22:26,469 INFO [Time-limited test] util.TypeUtil (TypeUtil.java:<clinit>(201)) - JVM Runtime does not support Modules
For OS X, it looks like webAppContext.setBaseResource and accessing the sources from a jar file will cause file.resource.toURI().getPath() to return null for jar:-urls
I checked that changing the jetty-version from 9.4.20.v20190813 to something above 9.4.21 (aka., 9.4.23.v20191118) fixes the warning.
inigoiri, aajisaka, weichiu, ayushtkn
Do you guys think we should consider upgrading Jetty to the latest versions of 9.4.x like 9.4.35?
Attachments
Issue Links
- is duplicated by
-
HADOOP-17371 Bump Jetty to the latest version 9.4.35
- Resolved