Member since
09-24-2015
816
Posts
488
Kudos Received
189
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2634 | 12-25-2018 10:42 PM | |
12096 | 10-09-2018 03:52 AM | |
4174 | 02-23-2018 11:46 PM | |
1860 | 09-02-2017 01:49 AM | |
2177 | 06-21-2017 12:06 AM |
03-09-2016
01:17 AM
Try ls -l /usr/hdp/current/hadoop-client/conf/ Do you see config files there, like hdfs-site.xml etc? If not something is wrong. If installed by Ambari, /usr/hdp/current/hadoop-client/conf should be symlink to /etc/hadoop/<hdp-version>/0. If all that is fine, go to one DN, and check its logs. HTH.
... View more
03-09-2016
01:12 AM
6 Kudos
Do this before trying zkCli.sh export JVMFLAGS="-Djava.security.auth.login.config=/etc/zookeeper/conf/zookeeper_jaas.conf" and make sure jaas.conf is set correctly. Edit: Sorry, the file is called zookeeper_jaas.conf, I just fixed it.
... View more
03-09-2016
12:58 AM
Thanks for chiming in! It seems it was resolved just a few days ago. We'll be waiting for the fix.
... View more
03-08-2016
12:01 PM
1 Kudo
Just put the workflow.xml, and yes, the same URL with the principal works from beeline.
... View more
03-08-2016
10:12 AM
1 Kudo
workflow.xmlTrying to run an Oozie Hive2 action in kerberized cluster with HS2 transport set to http (to support Knox), I'm getting the following error: ACTION[0000010-1...6-oozie-oozi-W@hive2-node] Exception in addtoJobConforg.apache.hive.service.cli.HiveSQLException: Delegation token only supported over kerberos authentication I set jdbcUrl=jdbc:hive2://oozie1.example.com:10000/default;ssl=false;transportMode=http;httpPath=cliservice and hive principal to hive/hive2.example.com@EXAMPLE.COM and I can see in the log that the final URL was constructed correctly by concat-ing jdbcUrl and the principal, but I get the exception. Has anybody been able to make this run and how? BTW, Hive's doAs=false, as I found some articles claiming this to be the solution, but not for me 😞 Attaching the workflow, it's from Oozie examples, with added credentials and the password. jdbcUrl and the principal are given above.
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Oozie
03-08-2016
08:12 AM
Hi Ben, nice article! A question: Can we run Hive2 action when HS2 is running in http transport mode?
... View more
03-04-2016
10:59 PM
Here is an example using a Hive db: Login as Ranger admin and create a new policy giving user1 all permissions to a database called hivedb1, all tables, all columns. Check "Delegate admin" for user1 and save the policy. Now, login to Ranger as user1, and click the Hive repo. The just created policy on hivedb1 will be listed there. Now you can create child policies based on hivedb1, for example you can create a policy giving permissions to user2 only to some tables of hivedb1 and their columns, and user3 to some other tables and columns. So, user1 fully controls (is a delegated admin of) hivedb1. user1 can also modify the base policy, for example by adding user4 and giving him select only permission to hivedb1. I tried this in HDP-2.3.4, there might be some differencies in older versions.
... View more
03-04-2016
07:07 AM
1 Kudo
This looks promising, I'll try it very soon.
... View more
03-04-2016
06:04 AM
2 Kudos
...Well, short of restarting Ranger of course. I have ranger.usersync.sleeptimeinmillisbetweensynccycle=60000, but after adding a new user in LDAP, sometimes it appears in Ranger quickly, and sometimes not even after 15 minutes.
... View more
Labels:
- Labels:
-
Apache Ranger
03-03-2016
03:23 AM
2 Kudos
A minor correction: In HDP-2.3.4, the zooKeeperNamespace is called "hiveserver2", not just "hiveserver". With that fix it works great!
... View more