XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.0
    • 0.23.1
    • mrv2, test
    • None
    • Reviewed
    • Hide
      Reenabled and fixed bugs in the failing test TestDelegationToken.
      Show
      Reenabled and fixed bugs in the failing test TestDelegationToken.

    Description

      Testcase: testDelegationToken took 2.043 sec
      Caused an ERROR
      Client Hitesh tries to renew a token with renewer specified as alice
      at org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.renewToken(AbstractDelegationTokenSecretManager.java:239)
      at org.apache.hadoop.mapred.JobTracker.renewDelegationToken(JobTracker.java:4829)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:632)
      at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1517)
      at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1513)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1152)
      at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1511)

      org.apache.hadoop.security.AccessControlException: Client Hitesh tries to renew a token with renewer specified as alice
      at org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.renewToken(AbstractDelegationTokenSecretManager.java:239)
      at org.apache.hadoop.mapred.JobTracker.renewDelegationToken(JobTracker.java:4829)
      at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:632)
      at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1517)
      at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1513)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1152)
      at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1511)

      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:90)
      at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:57)
      at org.apache.hadoop.mapreduce.Cluster.renewDelegationToken(Cluster.java:399)
      at org.apache.hadoop.mapred.JobClient$Renewer.renew(JobClient.java:475)
      at org.apache.hadoop.security.token.Token.renew(Token.java:310)
      at org.apache.hadoop.mapred.JobClient.renewDelegationToken(JobClient.java:1088)
      at org.apache.hadoop.mapreduce.security.token.delegation.TestDelegationToken.testDelegationToken(TestDelegationToken.java:89)
      Caused by: org.apache.hadoop.security.AccessControlException: Client Hitesh tries to renew a token with renewer specified as alice
      at org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSecretManager.renewToken(AbstractDelegationTokenSecretManager.java:239)
      at org.apache.hadoop.mapred.JobTracker.renewDelegationToken(JobTracker.java:4829)
      at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:632)
      at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1517)
      at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1513)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1152)
      at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1511)

      at org.apache.hadoop.ipc.Client.call(Client.java:1085)
      at org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:244)
      at $Proxy11.renewDelegationToken(Unknown Source)
      at org.apache.hadoop.mapreduce.Cluster.renewDelegationToken(Cluster.java:397)

      Attachments

        1. MR-3219.1.patch
          4 kB
          Hitesh Shah

        Activity

          People

            hitesh Hitesh Shah
            hitesh Hitesh Shah
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: