giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianmarco De Francisci Morales <g...@apache.org>
Subject Server is not configured to do DIGEST authentication
Date Wed, 20 Jun 2012 14:37:33 GMT
Hi,

I am getting the exception in the subject when running my giraph program on
a cluster with Kerberos authentication.

Here the stack trace:

2012-06-20 14:31:20,940 ERROR
org.apache.hadoop.security.UserGroupInformation:
PriviledgedActionException as:gdfm (auth:SIMPLE)
cause:org.apache.hadoop.ipc.RemoteException: Server is not configured
to do DIGEST authentication.
2012-06-20 14:31:20,940 WARN
org.apache.giraph.comm.BasicRPCCommunications: connectAllRPCProxys:
Failed on attempt 3 of 5 to connect to
(id=3,cur=Worker(hostname=gsta31997.tan.ygrid.yahoo.com,
MRpartition=1, port=30001),prev=null,ckpt_file=null)
org.apache.hadoop.ipc.RemoteException: Server is not configured to do
DIGEST authentication.
	at org.apache.hadoop.ipc.Client.call(Client.java:1066)
	at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
	at $Proxy8.getProtocolVersion(Unknown Source)
	at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
	at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:370)
	at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:420)
	at org.apache.giraph.comm.RPCCommunications.getRPCProxy(RPCCommunications.java:187)
	at org.apache.giraph.comm.BasicRPCCommunications.startPeerConnectionThread(BasicRPCCommunications.java:684)
	at org.apache.giraph.comm.BasicRPCCommunications.connectAllRPCProxys(BasicRPCCommunications.java:628)
	at org.apache.giraph.comm.BasicRPCCommunications.setup(BasicRPCCommunications.java:589)
	at org.apache.giraph.graph.BspServiceWorker.setup(BspServiceWorker.java:569)
	at org.apache.giraph.graph.GraphMapper.setup(GraphMapper.java:473)
	at org.apache.giraph.graph.GraphMapper.run(GraphMapper.java:645)
	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
	at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
	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:1082)
	at org.apache.hadoop.mapred.Child.main(Child.java:249)
2012-06-20 14:31:20,941 INFO org.apache.hadoop.ipc.Server: IPC Server
listener on 30002: readAndProcess threw exception
org.apache.hadoop.security.AccessControlException: Server is not
configured to do DIGEST authentication.. Count of bytes read: 0
org.apache.hadoop.security.AccessControlException: Server is not
configured to do DIGEST authentication.
	at org.apache.hadoop.ipc.Server$Connection.saslReadAndProcess(Server.java:966)
	at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1180)
	at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:537)
	at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:344)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:619)


The result is:

2012-06-20 14:31:21,558 WARN org.apache.hadoop.mapred.Child: Error running child
java.lang.NullPointerException
	at org.apache.giraph.comm.BasicRPCCommunications.sendPartitionReq(BasicRPCCommunications.java:911)
	at org.apache.giraph.graph.BspServiceWorker.loadVertices(BspServiceWorker.java:322)
	at org.apache.giraph.graph.BspServiceWorker.setup(BspServiceWorker.java:594)
	at org.apache.giraph.graph.GraphMapper.setup(GraphMapper.java:473)
	at org.apache.giraph.graph.GraphMapper.run(GraphMapper.java:645)
	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
	at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
	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:1082)
	at org.apache.hadoop.mapred.Child.main(Child.java:249)


The same program works on my local hadoop instance (though the versions are
slightly different, 1.0.2 local and 0.20.205 on the cluster).
Is it a munging problem?

Thanks,
--
Gianmarco

Mime
View raw message