hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vishwakarma, Chhaya" <Chhaya.Vishwaka...@Thinkbiganalytics.com>
Subject RE: Hive CLI not starting
Date Tue, 24 Nov 2015 15:18:17 GMT
Hi Arpan,

I got beeline working, can you please suggest me how can I skip giving password?
I want to run “ beeline –f test.hql “ and every time it asks for password, what if I
want to schedule this script ?

From: Vishwakarma, Chhaya [mailto:Chhaya.Vishwakarma@Thinkbiganalytics.com]
Sent: 24 November 2015 18:07
To: user@hive.apache.org
Subject: RE: Hive CLI not starting

Yes it is Kerberized, how can I make sure ticket is not expired and TGT has not expired?

Hive CLI works from edge node, We are trying to have another machine with Hive client thats
where its failing.

Any suggestion?

From: Arpan Rajani [mailto:arpan.rajani@whishworks.com]
Sent: 24 November 2015 17:29
To: user@hive.apache.org<mailto:user@hive.apache.org>
Subject: Re: Hive CLI not starting

Chhaya,

Is your server Kerberized? For the kerberized cluster this may when your ticket is expired
and your TGT has expired.

Try using beeline client instead.

Regards,
Arpan

On 24 November 2015 at 11:33, Vishwakarma, Chhaya <Chhaya.Vishwakarma@thinkbiganalytics.com<mailto:Chhaya.Vishwakarma@thinkbiganalytics.com>>
wrote:
Hi All,

I’m trying to run Hive client from Linux box(Separate from Hadoop cluster nodes) but when
I start Hive CLI from command I get below error.
Can somebody please suggest ? I’m not getting anything relevant on internet.

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<http://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<http://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<http://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)


Regards,
Chhaya



--


[http://www.whishworks.com/images/whishworks/WWlogotm.png]


Arpan Rajani, Architect Big Data

1000, Great West Road, Brentford, London TW8 9DW

T:  +44 20 3475 7980
M: +44 7492 306685

W: ww<http://www.whishworks.com/>w.whishworks.com<http://www.whishworks.com/>

[http://www.whishworks.com/images/whishworks/icons/social/linkedin.png]<https://www.linkedin.com/company/whishworks>
[http://www.whishworks.com/images/whishworks/icons/social/blog.png] <http://www.whishworks.com/blog/>
 [http://www.whishworks.com/images/whishworks/icons/social/twitter.png] <https://twitter.com/WHISHWORKS>
 [http://www.whishworks.com/images/whishworks/icons/social/facebook.png] <https://www.facebook.com/whishworksit>


The contents of this e-mail are confidential and for the exclusive use of the intended recipient.
If you receive this e-mail in error please delete it from your system immediately and notify
us either by e-mail or telephone. You should not copy, forward or otherwise disclose the content
of the e-mail. The views expressed in this communication may not necessarily be the view held
by WHISHWORKS.
Mime
View raw message