Member since
01-22-2016
41
Posts
10
Kudos Received
4
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1665 | 05-22-2017 04:03 PM | |
19585 | 09-26-2016 09:00 AM | |
4659 | 05-23-2016 09:11 PM | |
7495 | 05-23-2016 08:00 AM |
11-25-2020
09:14 AM
Yes it's a big SIGH!!! I've tried 10s and 20s of different connection strings from trying to install older verison of Python (3.7.4) so I can install sasl and pyhive and basically everything I could find out there but it's still not working yet. So, basically my setup is HIVE on Azure and the DB connections have server/host something like this "<server>.azurehdinsight.net" with port of 443. I'm using DBeaver to connect to the HIVE db and it's using JDBC URL - complete URL is something like this "jdbc:hive2://<server>.azurehdinsight.net:443/default;transportMode=http;ssl=true;httpPath=/hive2", so can someone please help me out with what packages I need in order for me to successfully query HIVE from Python? @pudnik26354 - can you please post what worked for you? Thank you so much.
... View more
05-22-2017
04:03 PM
There was an issue with the Ranger KMS UI which prevented me from making any changes to the policy. Instead I used the API to update the policy which worked successfully. The change I made was to add the HDFS user to the 'GENERATE_EEK' policy. API documentation and resources: https://community.hortonworks.com/articles/76118/how-to-access-ranger-kms-policies-via-rest-api.html https://cwiki.apache.org/confluence/display/RANGER/Apache+Ranger+0.6+-+REST+APIs+for+Service+Definition%2C+Service+and+Policy+Management
... View more
11-17-2017
01:37 PM
@Robert Levas Hello, I'm facing a similar issue with Hue. I've detailedly explained my question here: https://community.hortonworks.com/questions/147826/failed-to-access-filesystem-root-through-hue-ui.html. The output of $klist with hue user is mentioned in klist.png. Could you please help me to resolve this issue? I'll be really grateful.
... View more
06-09-2016
10:02 AM
Interesting, not come across this before. Try checking the permissions of the keyadmin user in Ranger UI? Does it have get permissions? Are you editing the Ranger KMS Ambari configs in this 1-2 day period?
... View more
07-20-2016
08:52 AM
Yes, adding these properties solved the issue for HDFS plugin. Now I will check rest of the plugins.
... View more
05-06-2016
04:57 PM
No you don't have to install a local KDC, you have to configure SSSD to connect to AD for linux user authentication. As said AD normally provides kerberos tickets automatically. To create a new service user in AD you best talk to your AD team. Once you have created a hue service user ( in the same group as the hdfs etc. users ) you should be able to export the keytab. The guide would be for a standard KDC. Which is also an option, however if you want a standard KDC then you need to add a one way trust from the AD to your local KDC.
... View more
05-06-2016
02:49 PM
For the Hue example, you have to create a Hue user in AD and then create a keytab file for Hue. This is where I am stuck. How do you create the keytab file for the Hue user?
... View more
06-19-2018
08:57 PM
Thanks, Pardeep. To make it 500x faster, do 500 files per call to the hadoop command. By changing the second line above, we can do this instead: $ hdfs fsck / | grep 'Under replicated' | awk -F':' '{print $1}' >> /tmp/under_replicated_files
# Now using xargs -n 500 (or --max-args 500)
$ cat /tmp/under_replicated_files |xargs -n 500 hdfs dfs -setrep 1 /tmp/under_replicated_files<br>
... View more
07-23-2016
05:19 PM
We didn't used any regex for "sAMAccountName": Looklike your AD configured sAMAccountName as UPN.
See following notes may helpful to differentiate both properties.
http://www.morgantechspace.com/2014/04/samaccountname-vs-userprincipalname.html
... View more