FAQ
Hi,

I have configured YARN service with the Cloudera Manager.
when i run the example of hadoop-yarn-applications-distributedshell,
I got following errors.

------------------
[root@dhcp149216 ~]# kdestroy


[root@dhcp149216 ~]# kinit lili
Password for lili@mycompany.com:

[root@dhcp149216 ~]# hadoop jar
/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell-2.0.0-cdh4.4.0.jar
org.apache.hadoop.yarn.applications.distributedshell.Client --jar
/opt/cloudera/parcels/CDH-4.4.0-1.cdh4.4.0.p0.39/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell-2.0.0-cdh4.4.0.jar
--shell_command date --num_containers 1
13/10/08 15:11:01 INFO service.AbstractService:
Service:org.apache.hadoop.yarn.client.YarnClientImpl is inited.
13/10/08 15:11:01 INFO distributedshell.Client: Initializing Client
13/10/08 15:11:01 INFO distributedshell.Client: Running Client
13/10/08 15:11:01 INFO service.AbstractService:
Service:org.apache.hadoop.yarn.client.YarnClientImpl is started.
13/10/08 15:11:01 ERROR security.UserGroupInformation:
PriviledgedActionException as:lili@mycompany.com (auth:KERBEROS)
cause:java.io.IOException: Failed to specify server's Kerberos principal
name
13/10/08 15:11:01 INFO security.UserGroupInformation: Initiating logout for
lili@mycompany.com
13/10/08 15:11:01 INFO security.UserGroupInformation: Initiating re-login
for lili@mycompany.com
13/10/08 15:11:02 ERROR security.UserGroupInformation:
PriviledgedActionException as:lili@mycompany.com (auth:KERBEROS)
cause:java.io.IOException: Failed to specify server's Kerberos principal
name
13/10/08 15:11:02 WARN security.UserGroupInformation: Not attempting to
re-login since the last re-login was attempted less than 600 seconds before.
13/10/08 15:11:07 ERROR security.UserGroupInformation:
PriviledgedActionException as:lili@mycompany.com (auth:KERBEROS)
cause:java.io.IOException: Failed to specify server's Kerberos principal
name
13/10/08 15:11:07 WARN security.UserGroupInformation: Not attempting to
re-login since the last re-login was attempted less than 600 seconds before.
13/10/08 15:11:10 ERROR security.UserGroupInformation:
PriviledgedActionException as:lili@mycompany.com (auth:KERBEROS)
cause:java.io.IOException: Failed to specify server's Kerberos principal
name
13/10/08 15:11:10 WARN security.UserGroupInformation: Not attempting to
re-login since the last re-login was attempted less than 600 seconds before.
13/10/08 15:11:11 ERROR security.UserGroupInformation:
PriviledgedActionException as:lili@mycompany.com (auth:KERBEROS)
cause:java.io.IOException: Failed to specify server's Kerberos principal
name
13/10/08 15:11:11 WARN security.UserGroupInformation: Not attempting to
re-login since the last re-login was attempted less than 600 seconds before.
13/10/08 15:11:13 ERROR security.UserGroupInformation:
PriviledgedActionException as:lili@mycompany.com (auth:KERBEROS)
cause:java.io.IOException: Failed to specify server's Kerberos principal
name
13/10/08 15:11:13 WARN ipc.Client: Couldn't setup connection for
lili@mycompany.com to null
13/10/08 15:11:13 ERROR security.UserGroupInformation:
PriviledgedActionException as:lili@mycompany.com (auth:KERBEROS)
cause:java.io.IOException: Couldn't setup connection for
lili@mycompany.comto null
13/10/08 15:11:13 FATAL distributedshell.Client: Error running CLient
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.ClientRMProtocolPBClientImpl.getClusterMetrics(ClientRMProtocolPBClientImpl.java:141)
     at
org.apache.hadoop.yarn.client.YarnClientImpl.getYarnClusterMetrics(YarnClientImpl.java:163)
     at
org.apache.hadoop.yarn.applications.distributedshell.Client.run(Client.java:319)
     at
org.apache.hadoop.yarn.applications.distributedshell.Client.main(Client.java:171)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:606)
     at org.apache.hadoop.util.RunJar.main(RunJar.java:208)
Caused by: com.google.protobuf.ServiceException: java.io.IOException:
Failed on local exception: java.io.IOException: Couldn't setup connection
for lili@mycompany.com to null; Host Details : local host is: "
dhcp149216.a01.aist.go.jp/150.29.149.216"; destination host is:
"0.0.0.0":8032;
     at
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:212)
     at com.sun.proxy.$Proxy7.getClusterMetrics(Unknown Source)
     at
org.apache.hadoop.yarn.api.impl.pb.client.ClientRMProtocolPBClientImpl.getClusterMetrics(ClientRMProtocolPBClientImpl.java:138)
     ... 8 more
Caused by: java.io.IOException: Failed on local exception:
java.io.IOException: Couldn't setup connection for lili@mycompany.com to
null; Host Details : local host is: "
dhcp149216.a01.aist.go.jp/150.29.149.216"; destination host is:
"0.0.0.0":8032;
     at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:763)
     at org.apache.hadoop.ipc.Client.call(Client.java:1241)
     at
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:202)
     ... 10 more
Caused by: java.io.IOException: Couldn't setup connection for
lili@mycompany.com to null
     at org.apache.hadoop.ipc.Client$Connection$1.run(Client.java:573)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAs(Subject.java:415)
     at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
     at
org.apache.hadoop.ipc.Client$Connection.handleSaslConnectionFailure(Client.java:545)
     at
org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:629)
     at org.apache.hadoop.ipc.Client$Connection.access$2100(Client.java:252)
     at org.apache.hadoop.ipc.Client.getConnection(Client.java:1290)
     at org.apache.hadoop.ipc.Client.call(Client.java:1208)
     ... 11 more
Caused by: java.io.IOException: Failed to specify server's Kerberos
principal name
     at
org.apache.hadoop.security.SaslRpcClient.(Client.java:456)
     at org.apache.hadoop.ipc.Client$Connection.access$1400(Client.java:252)
     at org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:622)
     at org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:619)
     at java.security.AccessController.doPrivileged(Native Method)
     at javax.security.auth.Subject.doAs(Subject.java:415)
     at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
     at
org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:618)
     ... 14 more
[root@dhcp149216 ~]#

------------------

Why?

Thanks,
Li Li

To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupscm-users @
categorieshadoop
postedOct 8, '13 at 6:19a
activeOct 8, '13 at 6:19a
posts1
users1
websitecloudera.com
irc#hadoop

1 user in discussion

李黎: 1 post

People

Translate

site design / logo © 2022 Grokbase