hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9421) Convert SASL to use ProtoBuf and provide negotiation capabilities
Date Sat, 22 Jun 2013 18:48:20 GMT

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

Steve Loughran commented on HADOOP-9421:
----------------------------------------

I'm seeing a stack trace in my code now. I'm sure it's just a simple x, but without having
to go through a large patch to work it -and for the benefit of everyone else trying to handle
these changes: how do I get my code to work again

I would recommend changing the exception string to point to a wiki entry on this authentication
-listing whatever line it is, and pointing to more details on Hadoop security. Otherwise everyone
is going to come to this JIRA once they start searching for the error string I've pasted in.
{code}
 Got exception: java.io.IOException: Failed on local exception: 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.; Host Details : local host is: "stevel-2.local/192.168.1.85"; destination host
is: "192.168.1.85":63960; 
	at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:764)
	at org.apache.hadoop.ipc.Client.call(Client.java:1316)
	at org.apache.hadoop.ipc.Client.call(Client.java:1264)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
	at com.sun.proxy.$Proxy78.startContainer(Unknown Source)
	at org.apache.hadoop.yarn.api.impl.pb.client.ContainerManagementProtocolPBClientImpl.startContainer(ContainerManagementProtocolPBClientImpl.java:110)
	at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.launch(AMLauncher.java:110)
	at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.run(AMLauncher.java:228)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:680)
Caused by: 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.
	at org.apache.hadoop.ipc.Client$Connection$1.run(Client.java:587)
	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:1477)
	at org.apache.hadoop.ipc.Client$Connection.handleSaslConnectionFailure(Client.java:550)
	at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:633)
	at org.apache.hadoop.ipc.Client$Connection.access$2200(Client.java:256)
	at org.apache.hadoop.ipc.Client.getConnection(Client.java:1365)
	at org.apache.hadoop.ipc.Client.call(Client.java:1283)
	... 9 more
Caused by: java.io.IOException: Server asks us to fall back to SIMPLE auth, but this client
is configured to only allow secure connections.
	at org.apache.hadoop.security.SaslRpcClient.saslConnect(SaslRpcClient.java:250)
	at org.apache.hadoop.ipc.Client$Connection.setupSaslConnection(Client.java:462)
	at org.apache.hadoop.ipc.Client$Connection.access$1500(Client.java:256)
	at org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:626)
	at org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:623)
	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:1477)
	at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:622)
	... 12 more

{code}
                
> Convert SASL to use ProtoBuf and provide negotiation capabilities
> -----------------------------------------------------------------
>
>                 Key: HADOOP-9421
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9421
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3-alpha
>            Reporter: Sanjay Radia
>            Assignee: Daryn Sharp
>            Priority: Blocker
>             Fix For: 3.0.0, 2.1.0-beta, 2.2.0
>
>         Attachments: HADOOP-9421.patch, HADOOP-9421.patch, HADOOP-9421.patch, HADOOP-9421.patch,
HADOOP-9421.patch, HADOOP-9421.patch, HADOOP-9421.patch, HADOOP-9421.patch, HADOOP-9421.patch,
HADOOP-9421-v2-demo.patch
>
>


--
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

Mime
View raw message