Member since
10-28-2016
392
Posts
7
Kudos Received
20
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2830 | 03-12-2018 02:28 AM | |
4374 | 12-18-2017 11:41 PM | |
3142 | 07-17-2017 07:01 PM | |
2173 | 07-13-2017 07:20 PM | |
6593 | 07-12-2017 08:31 PM |
12-01-2016
07:43 PM
@Neeraj Sabharwal @Laurent Edel for now, i've changed the execution engine to Map Reduce - to remove the problem,, but the getting the following error on accessing the Hive View. https://community.hortonworks.com/questions/69550/kerberized-hdp-24-not-able-to-access-hive-view.html#answer-69553 Any ideas ?
... View more
12-01-2016
07:40 PM
screen-shot-2016-12-01-at-113647-am.png screen-shot-2016-12-01-at-113656-am.png Attaching screenshots of the Hive View configuration on Ambari.
... View more
12-01-2016
07:14 PM
@Kuldeep Kulkarni - could you pls take a look, and let me know.. i've sone the steps provided in you post, but still getting the error. https://community.hortonworks.com/articles/40658/configure-hive-view-for-kerberized-cluster.html Thanks !
... View more
12-01-2016
07:12 PM
screen-shot-2016-12-01-at-110317-am.pnghdp24-core-site-notworking.xml Hi All, I've kerberized HDP 2.4, and i'm trying to access Hive view on Ambari. I'm logged in as admin, and i'm getting the following error - ----------- Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException:
Client cannot authenticate via:[TOKEN, KERBEROS]; Host Details : local host is: "sandbox.hortonworks.com/10.0.2.15";
destination host is: "sandbox.hortonworks.com":8020; --------------- I've followed the steps in the following link - https://community.hortonworks.com/articles/40658/configure-hive-view-for-kerberized-cluster.html Pls note - I'm able to access the Tez view, but the Hive view is showing exception Attached is screenshot of Hive View, and core-site.xml.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hive
11-30-2016
06:50 PM
@Divakar Annapureddy, @Timothy Spann, @milind pandit - i'm getting the same error .. Any ideas on how to fix this... details in the link below. https://community.hortonworks.com/questions/69118/javaioioexception-previous-writer-likely-failed-to-1.html
... View more
11-30-2016
06:24 PM
@Neeraj Sabharwal,
@Kibrom Gebrehiwot, @Laurent Edel - any ideas on this issue ?
... View more
11-30-2016
02:49 AM
Pls note - The namenode was in Safe mode, hence i removed the safe mode. Apart from this, no other changes done.
... View more
11-30-2016
02:07 AM
Hi All, I've a Kerberized HDP 2.4 cluster, and i'm trying to access Hive on command line. I'm logged in as - root, got the kerberos token for user - hive On hive command, i get the following error - Any ideas ? ------------------------------------------------------------------ [root@sandbox ~]# hive
WARNING: Use "yarn jar" to launch YARN applications.
Logging initialized using configuration in file:/etc/hive/2.4.0.0-169/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Previous writer likely failed to write hdfs://sandbox.hortonworks.com:8020/tmp/hive/hive/_tez_session_dir/cfcd5d27-c46c-440e-b6e2-51bf35bcbf43/hive-hcatalog-core.jar. Failing because I am unlikely to write too.
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:507)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:680)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:624)
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.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.io.IOException: Previous writer likely failed to write hdfs://sandbox.hortonworks.com:8020/tmp/hive/hive/_tez_session_dir/cfcd5d27-c46c-440e-b6e2-51bf35bcbf43/hive-hcatalog-core.jar. Failing because I am unlikely to write too.
at org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeResource(DagUtils.java:982)
at org.apache.hadoop.hive.ql.exec.tez.DagUtils.addTempResources(DagUtils.java:862)
at org.apache.hadoop.hive.ql.exec.tez.DagUtils.localizeTempFilesFromConf(DagUtils.java:805)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.refreshLocalResourcesFromConf(TezSessionState.java:233)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:158)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:117)
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:504)
... 8 more
[root@sandbox ~]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: hive/sandbox.hortonworks.com@EXAMPLE.COM
Valid starting Expires Service principal
11/30/16 02:03:26 12/01/16 02:03:26 krbtgt/EXAMPLE.COM@EXAMPLE.COM
renew until 11/30/16 02:03:26
... View more
Labels:
- Labels:
-
Apache Hive
11-29-2016
05:39 AM
@dbains, in the original cluster, i'm using Ranger for authorization.
... View more
11-29-2016
12:54 AM
@dbains, @Ayub Khan- i seem to have fixed this issue for now .. I've created another cluster, and repeated the steps for kerberization .. and am able to publish/consume messages to kafka topics. I'll update if i'm able to fix the above error in the original cluster. But first, i need to be able to create/limit access to users kafka1, kafka2 to specific kafka topics.
... View more