[jira] [Resolved] (YARN-885) TestBinaryTokenFile (and others) fail

2013-06-27 Thread Kam Kasravi (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kam Kasravi resolved YARN-885.
--

Resolution: Fixed

Looks like on branch-2 the TestBinaryTokenFile is passing even with the 
fallback setting in conf. The change '
remoteUser.addToken(creds.getToken(LocalizerTokenIdentifier.KIND));' seems to 
correct the failure.

 TestBinaryTokenFile (and others) fail
 -

 Key: YARN-885
 URL: https://issues.apache.org/jira/browse/YARN-885
 Project: Hadoop YARN
  Issue Type: Bug
  Components: nodemanager
Affects Versions: 2.0.4-alpha
Reporter: Kam Kasravi

 Seeing the following stack trace and the unit test goes into a infinite loop:
 2013-06-24 17:03:58,316 ERROR [LocalizerRunner for 
 container_1372118631537_0001_01_01] security.UserGroupInformation 
 (UserGroupInformation.java:doAs(1480)) - PriviledgedActionException 
 as:kamkasravi (auth:SIMPLE) cause:java.io.IOException: Server asks us to fall 
 back to SIMPLE auth, but this client is configured to only allow secure 
 connections.
 2013-06-24 17:03:58,317 WARN  [LocalizerRunner for 
 container_1372118631537_0001_01_01] ipc.Client (Client.java:run(579)) - 
 Exception encountered while connecting to the server : java.io.IOException: 
 Server asks us to fall back to SIMPLE auth, but this client is configured to 
 only allow secure connections.
 2013-06-24 17:03:58,318 ERROR [LocalizerRunner for 
 container_1372118631537_0001_01_01] security.UserGroupInformation 
 (UserGroupInformation.java:doAs(1480)) - PriviledgedActionException 
 as:kamkasravi (auth:SIMPLE) cause:java.io.IOException: java.io.IOException: 
 Server asks us to fall back to SIMPLE auth, but this client is configured to 
 only allow secure connections.
 java.lang.reflect.UndeclaredThrowableException
 at 
 org.apache.hadoop.yarn.exceptions.impl.pb.YarnRemoteExceptionPBImpl.unwrapAndThrowException(YarnRemoteExceptionPBImpl.java:135)
 at 
 org.apache.hadoop.yarn.server.nodemanager.api.impl.pb.client.LocalizationProtocolPBClientImpl.heartbeat(LocalizationProtocolPBClientImpl.java:56)
 at 
 org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer.localizeFiles(ContainerLocalizer.java:247)
 at 
 org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer.runLocalization(ContainerLocalizer.java:181)
 at 
 org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.startLocalizer(DefaultContainerExecutor.java:103)
 at 
 org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService$LocalizerRunner.run(ResourceLocalizationService.java:859)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (YARN-885) TestBinaryTokenFile (and others) fail

2013-06-25 Thread Vinod Kumar Vavilapalli (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod Kumar Vavilapalli resolved YARN-885.
--

Resolution: Duplicate

This is fixed by YARN-874.

 TestBinaryTokenFile (and others) fail
 -

 Key: YARN-885
 URL: https://issues.apache.org/jira/browse/YARN-885
 Project: Hadoop YARN
  Issue Type: Bug
  Components: nodemanager
Affects Versions: 2.0.4-alpha
Reporter: Kam Kasravi

 Seeing the following stack trace and the unit test goes into a infinite loop:
 2013-06-24 17:03:58,316 ERROR [LocalizerRunner for 
 container_1372118631537_0001_01_01] security.UserGroupInformation 
 (UserGroupInformation.java:doAs(1480)) - PriviledgedActionException 
 as:kamkasravi (auth:SIMPLE) cause:java.io.IOException: Server asks us to fall 
 back to SIMPLE auth, but this client is configured to only allow secure 
 connections.
 2013-06-24 17:03:58,317 WARN  [LocalizerRunner for 
 container_1372118631537_0001_01_01] ipc.Client (Client.java:run(579)) - 
 Exception encountered while connecting to the server : java.io.IOException: 
 Server asks us to fall back to SIMPLE auth, but this client is configured to 
 only allow secure connections.
 2013-06-24 17:03:58,318 ERROR [LocalizerRunner for 
 container_1372118631537_0001_01_01] security.UserGroupInformation 
 (UserGroupInformation.java:doAs(1480)) - PriviledgedActionException 
 as:kamkasravi (auth:SIMPLE) cause:java.io.IOException: java.io.IOException: 
 Server asks us to fall back to SIMPLE auth, but this client is configured to 
 only allow secure connections.
 java.lang.reflect.UndeclaredThrowableException
 at 
 org.apache.hadoop.yarn.exceptions.impl.pb.YarnRemoteExceptionPBImpl.unwrapAndThrowException(YarnRemoteExceptionPBImpl.java:135)
 at 
 org.apache.hadoop.yarn.server.nodemanager.api.impl.pb.client.LocalizationProtocolPBClientImpl.heartbeat(LocalizationProtocolPBClientImpl.java:56)
 at 
 org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer.localizeFiles(ContainerLocalizer.java:247)
 at 
 org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ContainerLocalizer.runLocalization(ContainerLocalizer.java:181)
 at 
 org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.startLocalizer(DefaultContainerExecutor.java:103)
 at 
 org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.ResourceLocalizationService$LocalizerRunner.run(ResourceLocalizationService.java:859)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira