Member since
04-22-2016
931
Posts
46
Kudos Received
26
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1512 | 10-11-2018 01:38 AM | |
1877 | 09-26-2018 02:24 AM | |
1835 | 06-29-2018 02:35 PM | |
2437 | 06-29-2018 02:34 PM | |
5388 | 06-20-2018 04:30 PM |
12-06-2016
11:56 PM
1 Kudo
as @Ramesh Mani mentioned, this seems to be more authorization related. For a quick fix, try to assigning read permissions the hdfs level (hadoop fs -chmod 755 /apps/hive/warehouse). For a more valid way of doing it, go to ranger and go to your hdfs policies and make sure you have the proper permissions for hive user to access the said directory.
... View more
12-06-2016
09:36 PM
1 Kudo
@Sami Ahmad These messages are the Ranger plugins for HDFS and Hive connecting to Ranger Admin to check that they have the latest policies. If you want to stop these messages then you'll need to turn the Ranger Admin logging down to WARN, but these messages are normal. If you look at the frequency they'll occur every 30 seconds which is the default polling period for the plugins.
... View more
12-06-2016
06:26 PM
Glad you have it worked out. Somehow I missed your last post stating that it is already installed, so my previous comment is OBE.
... View more
12-01-2016
11:04 PM
You need to enable the "Audit to solr" Refer the documentation https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/using_apache_solr_for_ranger_audits.html
... View more
02-08-2017
06:50 PM
2 Kudos
@Sami Ahmad: You have an HDFS policy which does not grant permissions to your user for viewing resources. In most of the components, this would boil down to access request being denied. However, in HDFS, if a Ranger policy does not grant access to a resource, native Hadoop privileges are checked as well. If HDFS grants user 'SAMI' access to resources, 'SAMI' will be able to access the same (inspite of Ranger policy not granting permission). You can check whether its Ranger policy responsible for your user being able to view resources or its native Hadoop ACLs through Audit page->Access tab. In screenshot, Policy ID is -- and also, Access Enforcer=hadoop-acl which means the user had access through native Hadoop ACL. None of the Ranger Hadoop policies are responsible for the Access/ Deny. Hope this helps. screen-shot-2017-02-08-at-104435-am.png
... View more
11-30-2016
11:54 PM
ok it worked , thanks a lot for your help . I had to create the ticket as user hive before starting beeline. [hive@hadoop1 ~]$ kinit hive
Password for hive@TOLLS.DOT.STATE.FL.US:
[hive@hadoop1 ~]$ klist
Ticket cache: FILE:/tmp/krb5cc_1004
Default principal: hive@TOLLS.DOT.STATE.FL.US
Valid starting Expires Service principal
11/30/16 18:52:14 12/01/16 18:52:14 krbtgt/TOLLS.DOT.STATE.FL.US@TOLLS.DOT.STATE.FL.US
renew until 11/30/16 18:52:14
[hive@hadoop1 ~]$ beeline
Beeline version 1.2.1000.2.5.0.0-1245 by Apache Hive
beeline> !connect jdbc:hive2://hadoop2:10000/default;principal=hive/hadoop2@TOLLS.DOT.STATE.FL.US
Connecting to jdbc:hive2://hadoop2:10000/default;principal=hive/hadoop2@TOLLS.DOT.STATE.FL.US
Enter username for jdbc:hive2://hadoop2:10000/default;principal=hive/hadoop2@TOLLS.DOT.STATE.FL.US: hive
Enter password for jdbc:hive2://hadoop2:10000/default;principal=hive/hadoop2@TOLLS.DOT.STATE.FL.US: *******
Connected to: Apache Hive (version 1.2.1000.2.5.0.0-1245)
Driver: Hive JDBC (version 1.2.1000.2.5.0.0-1245)
Transaction isolation: TRANSACTION_REPEATABLE_READ
0: jdbc:hive2://hadoop2:10000/default>
... View more
03-03-2017
09:46 AM
Sami Ahmad, i am also facing the same error and i have successfully installed the kerberos but while kerberos service check , it is giving me the same error as mentioned below and it is not resolved yet.
... View more
04-20-2018
05:59 PM
I installed HDP 2.6 and faced same problem while setting up kerberos. it's jar problem. Download
policy jars for java: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html extract and place them in all the servers under /usr/java/jdk1.8.0_112/jre/lib/security/ . Then restart ambari server and restart krb5kds and kadmin services..now check your kdc connection will be pass
... View more
11-29-2016
04:40 PM
@Sami Ahmad You have to select all three options under Existing MIT KDC : and you should be able to see next button after this.
... View more
11-19-2016
01:50 PM
I would love to but its not showing the "accept as answer" option on your message . if the moderators are listening .. can you please accept Ayub's comment as answer ?
... View more