Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDP 2.6.5 fresh installation stuck. ranger process is stuck at: java patch PatchPasswordEncryption_J10001 is being applied.

Highlighted

HDP 2.6.5 fresh installation stuck. ranger process is stuck at: java patch PatchPasswordEncryption_J10001 is being applied.

New Contributor

I am trying to install HDP 2.6.5 through cloud break in google cloud. I am able to install all the services in google cloud but ranger.

Error stack trace is listed below. I tried to follow the posted solutions earlier but none of them is helping including java patch solution by deleting an entry from the table.

Can someone help me to resolve this issue?

2018-08-30 05:47:57,312 [I] --------- Verifying Ranger DB connection --------- 2018-08-30 05:47:57,312 [I] Checking connection 2018-08-30 05:47:57,312 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql-9.1-901-1.jdbc4.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://xx.xxx.xxx.xxx/ranger -u postgres -p '********' -noheader -trim -c \; -query "SELECT 1;" 2018-08-30 05:47:59,027 [I] connection success 2018-08-30 05:47:59,027 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql-9.1-901-1.jdbc4.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://xx.xxx.xxx.xxx/ranger -u postgres -p '********' -noheader -trim -c \; -query "select version from x_db_version_h where version = 'JAVA_PATCHES' and inst_by = 'Ranger 0.7.0.2.6.5.0-292' and active = 'Y';" 2018-08-30 05:48:00,758 [I] ----------------- Applying java patches ------------ 2018-08-30 05:48:00,759 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql-9.1-901-1.jdbc4.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://xx.xxx.xxx.xxx/ranger -u postgres -p '********' -noheader -trim -c \; -query "select version from x_db_version_h where version = 'J10001' and active = 'Y';" 2018-08-30 05:48:02,430 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql-9.1-901-1.jdbc4.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://xx.xxx.xxx.xxx/ranger -u postgres -p '********' -noheader -trim -c \; -query "select version from x_db_version_h where version = 'J10001' and active = 'N';" 2018-08-30 05:48:04,113 [JISQL] /usr/lib/jvm/java/bin/java -cp /usr/hdp/current/ranger-admin/ews/lib/postgresql-9.1-901-1.jdbc4.jar:/usr/hdp/current/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver postgresql -cstring jdbc:postgresql://xx.xxx.xxx.xxx/ranger -u postgres -p '********' -noheader -trim -c \; -query "insert into x_db_version_h (version, inst_at, inst_by, updated_at, updated_by,active) values ('J10001', current_timestamp, 'Ranger 0.7.0.2.6.5.0-292', current_timestamp, 'hdpcluster-m-1-20180830031406.c.striped-orbit-213714.internal','N') ;" 2018-08-30 05:48:05,791 [I] java patch PatchPasswordEncryption_J10001 is being applied.

3 REPLIES 3

Re: HDP 2.6.5 fresh installation stuck. ranger process is stuck at: java patch PatchPasswordEncryption_J10001 is being applied.

New Contributor

Pankaj Singh, Are both Ranger and Ranger database configured in the same environment, or same cluster ?

This can be attributed to a delay in response from the host where Ranger-DB is required to be configured.

Re: HDP 2.6.5 fresh installation stuck. ranger process is stuck at: java patch PatchPasswordEncryption_J10001 is being applied.

New Contributor

what do u mean by running same environment? you mean ranger and ranger kms?

database is running in google cloud?

Re: HDP 2.6.5 fresh installation stuck. ranger process is stuck at: java patch PatchPasswordEncryption_J10001 is being applied.

Expert Contributor

This issue is not related to Cloudbreak. Could you please remove the tag?