Ranger kms is not coming up

0 votes

Hi Team,

While enabling HA for the Ranger KMS, I got to mess up with Kerberos. I do admit that I am new to Hadoop and Kerberos. However, I cleaned up by following below steps:

1)Stop and delete both ranger admin, Rangerkms service. through Ambari.

2) drop DB and user.

To start ranger KMS:

  1. Add service, add the user. Now my DB shows as

mysql> show databases
    -> ;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| ambari             |
| hive               |
| mysql              |
| performance_schema |
| ranger             |
| rangerkms          |
+--------------------+
7 rows in set (0.00 sec)

mysql> select user, host from mysql.user;                                                                                                                                               +-------------+----------------------------------+
| user        | host                             |
+-------------+----------------------------------+

3.But still my ranger KMS is failing.

  I have another node where Kerberos installed

   2 10/16/2020 10:53:07 rangerkms@<datanodes>

4. I tried to add tickets by executing this command

kinit -kt /etc/security/keytabs/rangerkms.service.keytab rangerkms/data01.@data.<domain>.com

kinit: Keytab contains no suitable keys for  rangerkms/data01.@data.<domain>.com while getting initial credentials

WHich step I am going wrong ...

In ranger below is the error

keytabs/rangerkms.service.keytab rangerkms/data01@<domain> > /dev/null' returned 1. kinit: Client '
rangerkms/data01@<domain> 
' not found in Kerberos database while getting initial credentials"

Please pour suggestion.

Oct 18, 2020 in Big Data Hadoop by Shilpa S
• 450 points

edited Oct 19, 2020 by MD 887 views

1 answer to this question.

0 votes

Hi@Shilpa,

There may be lots of reasons behind this error. You need to troubleshoot in multiple ways. First, check if all the services are in a running state or not. you can also restart all the Kerberos services. Also, destroy Kerberos credentials and recreate it.

answered Oct 19, 2020 by MD
• 95,440 points
Thank you, yes your right hivemetastore is also not coming up ..:(

Related Questions In Big Data Hadoop

0 votes
2 answers

start-dfs.sh command is not starting Hadoop JobTracker & TaskTracker

On which version of hadoop do you ...READ MORE

answered Jul 24, 2019 in Big Data Hadoop by Lokesh Singh
3,395 views
0 votes
2 answers

Hadoop is not able to find jps command

jps is actually not a command of ...READ MORE

answered Apr 18, 2018 in Big Data Hadoop by Shubham
• 13,490 points
13,972 views
0 votes
1 answer

NodeManager is not able to connect to the ResourceManager.

Here, I guess the issue is with ...READ MORE

answered May 1, 2018 in Big Data Hadoop by Shubham
• 13,490 points
3,415 views
0 votes
1 answer
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
10,558 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,185 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
104,208 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
4,260 views
0 votes
1 answer
0 votes
1 answer

ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet!

Hi@akhtar, This error occurs if the hbase server ...READ MORE

answered Mar 30, 2020 in Big Data Hadoop by MD
• 95,440 points
4,842 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP