Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13306

NullPoint when launch org.apache.hadoop.fs.http.server.HttpFSServerWebServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • fs
    • None

    Description

      org.apache.hadoop.fs.http.server.HttpFSServerWebServer
      objc[98322]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/bin/java (0x10a41b4c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10a49f4e0). One of the two will be used. Which one is undefined.
      log4j:WARN No appenders could be found for logger (org.apache.hadoop.util.Shell).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      Mar 18, 2018 8:41:42 PM com.sun.jersey.api.core.PackagesResourceConfig init
      信息: Scanning for root resource and provider classes in the packages:
      org.apache.hadoop.fs.http.server
      org.apache.hadoop.lib.wsrs
      Mar 18, 2018 8:41:42 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
      信息: Root resource classes found:
      class org.apache.hadoop.fs.http.server.HttpFSServer
      Mar 18, 2018 8:41:42 PM com.sun.jersey.api.core.ScanningResourceConfig logClasses
      信息: Provider classes found:
      class org.apache.hadoop.fs.http.server.HttpFSExceptionProvider
      class org.apache.hadoop.lib.wsrs.JSONMapProvider
      class org.apache.hadoop.lib.wsrs.JSONProvider
      class org.apache.hadoop.fs.http.server.HttpFSParametersProvider
      Mar 18, 2018 8:41:42 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
      信息: Initiating Jersey application, version 'Jersey: 1.19 02/11/2015 03:25 AM'
      Exception in thread "main" java.io.IOException: Unable to initialize WebAppContext
      at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1149)
      at org.apache.hadoop.fs.http.server.HttpFSServerWebServer.start(HttpFSServerWebServer.java:132)
      at org.apache.hadoop.fs.http.server.HttpFSServerWebServer.main(HttpFSServerWebServer.java:165)
      Caused by: java.lang.NullPointerException
      at org.apache.hadoop.fs.http.server.HttpFSAuthenticationFilter.getConfiguration(HttpFSAuthenticationFilter.java:66)
      at org.apache.hadoop.security.authentication.server.AuthenticationFilter.init(AuthenticationFilter.java:160)
      at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter.init(DelegationTokenAuthenticationFilter.java:180)
      at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:139)
      at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:873)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:349)
      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1406)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1368)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
      at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
      at org.eclipse.jetty.server.Server.start(Server.java:422)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      at org.eclipse.jetty.server.Server.doStart(Server.java:389)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1127)
      ... 2 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            Jack-Lee lqjacklee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: