Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/hadoop/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hadoop 配置单元CLI未启动_Hadoop_Hive_Yarn - Fatal编程技术网

Hadoop 配置单元CLI未启动

Hadoop 配置单元CLI未启动,hadoop,hive,yarn,Hadoop,Hive,Yarn,我正在尝试从LinuxBox(与Hadoop群集节点分开)运行HiveClient,但当我从命令启动HiveCLI时,我发现以下错误。有人能推荐一下吗?我在互联网上找不到任何相关信息 >hive WARNING: Use "yarn jar" to launch YARN applications. Logging initialized using configuration in file:/etc/hive/2.3.0.0-2525/0/hive-log4j.properties

我正在尝试从LinuxBox(与Hadoop群集节点分开)运行HiveClient,但当我从命令启动HiveCLI时,我发现以下错误。有人能推荐一下吗?我在互联网上找不到任何相关信息

>hive
WARNING: Use "yarn jar" to launch YARN applications.

Logging initialized using configuration in file:/etc/hive/2.3.0.0-2525/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.TezException: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1436575073312_0041 to YARN : Failed to renew token: Kind: TIMELINE_DELEGATION_TOKEN, Service: 10.25.100.118:8188, Ident: (owner=hduser, renewer=yarn, realUser=, issueDate=1436827743392, maxDate=1437432543392, sequenceNumber=36, masterKeyId=16)
       at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:535)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:677)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: org.apache.tez.dag.api.TezException: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1436575073312_0041 to YARN : Failed to renew token: Kind: TIMELINE_DELEGATION_TOKEN, Service: 10.25.100.118:8188, Ident: (owner=hduser, renewer=yarn, realUser=, issueDate=1436827743392, maxDate=1437432543392, sequenceNumber=36, masterKeyId=16)
        at org.apache.tez.client.TezClient.start(TezClient.java:370)
        at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:184)
        at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:116)
        at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:532)
        ... 8 more
Caused by: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1436575073312_0041 to YARN : Failed to renew token: Kind: TIMELINE_DELEGATION_TOKEN, Service: 10.25.100.118:8188, Ident: (owner=hduser, renewer=yarn, realUser=, issueDate=1436827743392, maxDate=1437432543392, sequenceNumber=36, masterKeyId=16)
        at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.submitApplication(YarnClientImpl.java:271)
        at org.apache.tez.client.TezYarnClient.submitApplication(TezYarnClient.java:72)
        at org.apache.tez.client.TezClient.start(TezClient.java:365)

它是一个经过kerberos身份验证的群集,并且提供的凭据未通过使用配置单元的身份验证

如果您的群集使用kerberos身份验证,则它可能与DNS vs.hosts文件中的问题有关,如sthg