Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hive submit yarn job error

hive submit yarn job error

Explorer

hi, I'm in CDH5.4 enviroment, sometimes I submit a query job in hive, the hive log show the error like those

 

2016-01-14 15:58:39,800 WARN  [Thread-223968]: security.UserGroupInformation (UserGroupInformation.java:doAs(1674)) - PriviledgedActionException as:wossuser  (auth:SIMPLE) cause:java.io.IOException: Failed to run job : Illegal node name at offset 5 for queue name root.wossuser
2016-01-14 15:58:39,800 WARN  [Thread-223968]: security.UserGroupInformation (UserGroupInformation.java:doAs(1674)) - PriviledgedActionException as:wossuser  (auth:SIMPLE) cause:java.io.IOException: Failed to run job : Illegal node name at offset 5 for queue name root.wossuser
2016-01-14 15:58:39,800 ERROR [Thread-223968]: exec.Task (SessionState.java:printError(921)) - Job Submission failed with exception 'java.io.IOException(Failed to run job : Illegal node name at offset 5 for queue name root.wossuser )'
java.io.IOException: Failed to run job : Illegal node name at offset 5 for queue name root.wossuser
        at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:301)
        at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:536)
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1306)
        at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1303)
        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:1671)
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1303)
        at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:564)
        at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:559)
        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:1671)
        at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:559)
        at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:550)
        at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:429)
        at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:137)
        at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
        at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:88)
        at org.apache.hadoop.hive.ql.exec.TaskRunner.run(TaskRunner.java:75)

 

please tell me what happend

1 REPLY 1

Re: hive submit yarn job error

Explorer

I've resolved this problem , when I used beeline to login in hiveserver2 which is authenticated by LDAP, I enter the fault username "wossuser "  which is endswith a whitespace , it  should be "wossuser", but the hive server return me a right status, when I running a query  I'll get the error

 

It looks like beeline's bug??