Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11763

RM in insecure model get start failure after HADOOP-10670.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security
    • Labels:
      None
    • Target Version/s:

      Description

      TestDistributedShell get failed due to RM start failure.
      The log exception:

      2015-03-27 14:43:17,190 WARN  [RM-0] mortbay.log (Slf4jLog.java:warn(89)) - Failed startup of context org.mortbay.jetty.webapp.WebAppContext@2d2d0132{/,file:/Users/jdu/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-comm
      on/target/classes/webapps/cluster}
      javax.servlet.ServletException: java.lang.RuntimeException: Could not read signature secret file: /Users/jdu/hadoop-http-auth-signature-secret
              at org.apache.hadoop.security.authentication.server.AuthenticationFilter.initializeSecretProvider(AuthenticationFilter.java:266)
              at org.apache.hadoop.security.authentication.server.AuthenticationFilter.init(AuthenticationFilter.java:225)
              at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter.init(DelegationTokenAuthenticationFilter.java:161)
              at org.apache.hadoop.yarn.server.security.http.RMAuthenticationFilter.init(RMAuthenticationFilter.java:53)
              at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
              at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
              at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
              at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
              at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
              at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
              at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
              at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
              at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
              at org.mortbay.jetty.Server.doStart(Server.java:224)
              at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
              at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:773)
              at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:274)
              at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.startWepApp(ResourceManager.java:989)
              at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:1089)
              at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
              at org.apache.hadoop.yarn.server.MiniYARNCluster$2.run(MiniYARNCluster.java:312)
      Caused by: java.lang.RuntimeException: Could not read signature secret file: /Users/jdu/hadoop-http-auth-signature-secret
              at org.apache.hadoop.security.authentication.util.FileSignerSecretProvider.init(FileSignerSecretProvider.java:59)
              at org.apache.hadoop.security.authentication.server.AuthenticationFilter.initializeSecretProvider(AuthenticationFilter.java:264)
              ... 23 more
      

        Attachments

        1. HADOOP-11763.patch
          0.8 kB
          Junping Du

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                junping_du Junping Du
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: