[ 
https://issues.apache.org/jira/browse/MAPREDUCE-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259404#comment-13259404
 ] 

Harsh J commented on MAPREDUCE-4189:
------------------------------------

Looks like a configuration issue:

{code}
testUnauthorizedUser(org.apache.hadoop.yarn.server.TestContainerManagerSecurity)
  Time elapsed: 1.046 sec  <<< ERROR!
java.lang.reflect.UndeclaredThrowableException
        at 
org.apache.hadoop.yarn.exceptions.impl.pb.YarnRemoteExceptionPBImpl.unwrapAndThrowException(YarnRemoteExceptionPBImpl.java:135)
        at 
org.apache.hadoop.yarn.api.impl.pb.client.AMRMProtocolPBClientImpl.registerApplicationMaster(AMRMProtocolPBClientImpl.java:96)
        at 
org.apache.hadoop.yarn.server.TestContainerManagerSecurity.submitAndRegisterApplication(TestContainerManagerSecurity.java:419)
        at 
org.apache.hadoop.yarn.server.TestContainerManagerSecurity.testUnauthorizedUser(TestContainerManagerSecurity.java:280)
        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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
        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.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: com.google.protobuf.ServiceException: java.io.IOException: Failed on 
local exception: java.io.IOException: java.io.IOException: Failed to specify 
server's Kerberos principal name; Host Details : local host is: 
"unknown68a86d434ca0/192.168.1.3"; destination host is: 
"unknown68a86d434ca0":64552; 
        at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:188)
        at $Proxy75.registerApplicationMaster(Unknown Source)
        at 
org.apache.hadoop.yarn.api.impl.pb.client.AMRMProtocolPBClientImpl.registerApplicationMaster(AMRMProtocolPBClientImpl.java:94)
        ... 33 more
Caused by: java.io.IOException: Failed on local exception: java.io.IOException: 
java.io.IOException: Failed to specify server's Kerberos principal name; Host 
Details : local host is: "unknown68a86d434ca0/192.168.1.3"; destination host 
is: "unknown68a86d434ca0":64552; 
        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:763)
        at org.apache.hadoop.ipc.Client.call(Client.java:1160)
        at 
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:185)
        ... 35 more
Caused by: java.io.IOException: java.io.IOException: Failed to specify server's 
Kerberos principal name
        at org.apache.hadoop.ipc.Client$Connection$1.run(Client.java:541)
        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:1205)
        at 
org.apache.hadoop.ipc.Client$Connection.handleSaslConnectionFailure(Client.java:505)
        at 
org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:589)
        at org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:212)
        at org.apache.hadoop.ipc.Client.getConnection(Client.java:1266)
        at org.apache.hadoop.ipc.Client.call(Client.java:1136)
        ... 36 more
Caused by: java.io.IOException: Failed to specify server's Kerberos principal 
name
        at 
org.apache.hadoop.security.SaslRpcClient.<init>(SaslRpcClient.java:88)
        at 
org.apache.hadoop.ipc.Client$Connection.setupSaslConnection(Client.java:415)
        at org.apache.hadoop.ipc.Client$Connection.access$1200(Client.java:212)
        at org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:582)
        at org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:579)
        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:1205)
        at 
org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:578)
        ... 39 more
{code}
                
> TestContainerManagerSecurity is failing
> ---------------------------------------
>
>                 Key: MAPREDUCE-4189
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4189
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: trunk
>            Reporter: Devaraj K
>            Priority: Critical
>
> {code:xml}
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.hadoop.yarn.server.TestDiskFailures
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.519 sec
> Running org.apache.hadoop.yarn.server.TestContainerManagerSecurity
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 10.673 sec 
> <<< FAILURE!
> Results :
> Tests in error:
>   
> testAuthenticatedUser(org.apache.hadoop.yarn.server.TestContainerManagerSecurity)
>   testMaliceUser(org.apache.hadoop.yarn.server.TestContainerManagerSecurity)
>   
> testUnauthorizedUser(org.apache.hadoop.yarn.server.TestContainerManagerSecurity)
> Tests run: 5, Failures: 0, Errors: 3, Skipped: 0
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to