Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

Ranger Admin failing to start when trying to create a multinode HDP 3.0 cluster using blueprint

Explorer

I am trying to create a multi-node cluster with HDP 3.0 using blueprint (hdp3-ranger.json) , but Ranger -admin is failing to start, because of which hiveserver2 is also failing.

Thanks in advance.

2 REPLIES 2

Explorer

2018-09-18 13:52:57,238 [I] DB FLAVOR :MYSQL

2018-09-18 13:52:57,239 [I] --------- Verifying Ranger DB connection ---------

2018-09-18 13:52:57,239 [I] Checking connection..

2018-09-18 13:52:57,239 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/mysql-connector-java.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver mysqlconj -cstring jdbc:mysql://cb1/ranger -u 'rangeradmin' -p '********' -noheader -trim -c \; -query "SELECT version();"

2018-09-18 13:52:58,740 [I] Checking connection passed.

2018-09-18 13:52:58,741 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/mysql-connector-java.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver mysqlconj -cstring jdbc:mysql://cb1/ranger -u 'rangeradmin' -p '********' -noheader -trim -c \; -query "select version from x_db_version_h where version = 'DEFAULT_RANGER_USERSYNC_UPDATE' and active = 'Y';"

2018-09-18 13:53:00,265 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/mysql-connector-java.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver mysqlconj -cstring jdbc:mysql://cb1/ranger -u 'rangeradmin' -p '********' -noheader -trim -c \; -query "select version from x_db_version_h where version = 'DEFAULT_RANGER_USERSYNC_UPDATE' and active = 'N';"

2018-09-18 13:53:01,814 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/mysql-connector-java.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver mysqlconj -cstring jdbc:mysql://cb1/ranger -u 'rangeradmin' -p '********' -noheader -trim -c \; -query "insert into x_db_version_h (version, inst_at, inst_by, updated_at, updated_by,active) values ('DEFAULT_RANGER_USERSYNC_UPDATE', now(), 'Ranger 1.1.0.3.0.0.0-1634', now(), 'ghjkl-d-2-20180918095208.c.steam-cache-211409.internal','N') ;"

2018-09-18 13:53:03,352 [I] Ranger rangerusersync default password change request is in process..

Command failed after 1 tries

Can you post the error?