Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: Nothing when I navigate to Ranger Admin console

$
0
0

I finally managed to setup Ranger. I post here how I did it, in case it’s useful for someone else.

I went to the Ambari web site, and followed next steps:

  1. Dashboard tab.
  2. Click on the “Actions” button on the left, after all listed services.
  3. Click on “Add Service”.
  4. Select “Ranger” and “Ranger KMS”.
  5. Click on “Next”, and I’ve got the instructions Michael mentions.

Then I opened a SSH connection, and checked if I had a JDBC for MySql.

[root@sandbox java]# rpm -qa | grep mysql

mysql-libs-5.1.73-5.el6_6.x86_64

mysql-connector-java-5.1.17-6.el6.noarch

mysql-server-5.1.73-5.el6_6.x86_64

mysql-5.1.73-5.el6_6.x86_64

 

I set up the JDBC connection in the Ambari server.

ambari-server setup –jdbc-db=mysql –jdbc-driver=/usr/share/java/mysql-connector-java.jar

 

Still in the SSH session, I logged in MySQL with root:

mysql

or mysql -u root -p (click on Enter when prompted for password).

 

I run next query:

select * from mysql.user;

which showed that user root didn’t have a password in MySql. The password is required in Ambari to add the service Ranger.

So I added the password to root:

update mysql.user set password = PASSWORD(‘hadoop’) where password = ”;

flush privileges;

 

I went back to Ambari, accepted that I have the conditions required in the instructions, and proceed with the Wizard. I’ve got some warnings about some services which weren’t well configured, but I just continued. As I’ve said, the setup was successful.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>