[jira] [Commented] (RANGER-4438) Read JAVA_OPTS in ranger db setup python script
[ https://issues.apache.org/jira/browse/RANGER-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17791823#comment-17791823 ] Madhan Neethiraj commented on RANGER-4438: -- [~mugdha.varadkar] - please review updates in [https://reviews.apache.org/r/74757/] which removes leading/trailing quotes. > Read JAVA_OPTS in ranger db setup python script > --- > > Key: RANGER-4438 > URL: https://issues.apache.org/jira/browse/RANGER-4438 > Project: Ranger > Issue Type: Bug > Components: Ranger >Affects Versions: 3.0.0 >Reporter: Pradeep Agrawal >Assignee: Pradeep Agrawal >Priority: Major > Fix For: 3.0.0 > > Attachments: 0001-RANGER-4438.patch, RANGER-4438-2.patch, > RANGER-4438-3.patch > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (RANGER-4438) Read JAVA_OPTS in ranger db setup python script
[ https://issues.apache.org/jira/browse/RANGER-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17791772#comment-17791772 ] Madhan Neethiraj commented on RANGER-4438: -- [~mugdha.varadkar] - this issue is not seen in Ubuntu OS, tested with docker setup. Can you please add details of the env where this issue is seen? This will help validate the fix. Thanks! > Read JAVA_OPTS in ranger db setup python script > --- > > Key: RANGER-4438 > URL: https://issues.apache.org/jira/browse/RANGER-4438 > Project: Ranger > Issue Type: Bug > Components: Ranger >Affects Versions: 3.0.0 >Reporter: Pradeep Agrawal >Assignee: Pradeep Agrawal >Priority: Major > Fix For: 3.0.0 > > Attachments: 0001-RANGER-4438.patch, RANGER-4438-2.patch, > RANGER-4438-3.patch > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (RANGER-4438) Read JAVA_OPTS in ranger db setup python script
[ https://issues.apache.org/jira/browse/RANGER-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17791515#comment-17791515 ] Mugdha Varadkar commented on RANGER-4438: - [~madhan], with your commit - [6c26045215454cd90c36b0f33205edab6751|https://github.com/apache/ranger/commit/6c26045215454cd90c36b0f33205edab6751], Ranger setup is failing at "[E] Ranger all admins default password change request failed" When no java_opts is set in the install.properties it is passing {{''}} to the ChangePasswordUtil java command execution, causing setup failure. {code} /usr/java/jdk1.8.0/bin/java '' -Dlogdir=/usr/local/test-ranger/ranger-3.0.0-SNAPSHOT-admin/ews/logs -Dlogback.configurationFile=file:/usr/local/test-ranger/ranger-3.0.0-SNAPSHOT-admin/ews/webapp/WEB-INF/classes/conf/logback.xml -Duser=root -Dhostname=cc.test.ccc0991.site -cp /usr/local/test-ranger/ranger-3.0.0-SNAPSHOT-admin/ews/webapp/WEB-INF/classes/conf:/usr/local/test-ranger/ranger-3.0.0-SNAPSHOT-admin/ews/webapp/WEB-INF/classes/lib/*:/usr/local/test-ranger/ranger-3.0.0-SNAPSHOT-admin/ews/webapp/WEB-INF/:/usr/local/test-ranger/ranger-3.0.0-SNAPSHOT-admin/ews/webapp/META-INF/:/usr/local/test-ranger/ranger-3.0.0-SNAPSHOT-admin/ews/webapp/WEB-INF/lib/*:/usr/local/test-ranger/ranger-3.0.0-SNAPSHOT-admin/ews/webapp/WEB-INF/classes/:/usr/local/test-ranger/ranger-3.0.0-SNAPSHOT-admin/ews/webapp/WEB-INF/classes/META-INF:/usr/share/java/postgresql-connector-java.jar org.apache.ranger.patch.cliutil.ChangePasswordUtil "admin" "admin" "Admin123" "rangertagsync" "rangertagsync" "Admin123" "rangerusersync" "rangerusersync" "Admin123" "keyadmin" "keyadmin" "Admin123" -default {code} Request you to please review additional 3rd patch - [^RANGER-4438-3.patch] and merge it. Thanks cc [~pradeep] > Read JAVA_OPTS in ranger db setup python script > --- > > Key: RANGER-4438 > URL: https://issues.apache.org/jira/browse/RANGER-4438 > Project: Ranger > Issue Type: Bug > Components: Ranger >Affects Versions: 3.0.0 >Reporter: Pradeep Agrawal >Assignee: Pradeep Agrawal >Priority: Major > Fix For: 3.0.0 > > Attachments: 0001-RANGER-4438.patch, RANGER-4438-2.patch, > RANGER-4438-3.patch > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (RANGER-4438) Read JAVA_OPTS in ranger db setup python script
[ https://issues.apache.org/jira/browse/RANGER-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789946#comment-17789946 ] Madhan Neethiraj commented on RANGER-4438: -- [Patch|https://reviews.apache.org/r/74757/] committed: {noformat} commit 6c26045215454cd90c36b0f33205edab6751 (HEAD -> master, origin/master, origin/HEAD) Author: Madhan Neethiraj Date: Sat Nov 25 02:27:28 2023 -0800 RANGER-4438: fixed setup scripts to not require java_opts in install.properties {noformat} > Read JAVA_OPTS in ranger db setup python script > --- > > Key: RANGER-4438 > URL: https://issues.apache.org/jira/browse/RANGER-4438 > Project: Ranger > Issue Type: Bug > Components: Ranger >Affects Versions: 3.0.0 >Reporter: Pradeep Agrawal >Assignee: Pradeep Agrawal >Priority: Major > Fix For: 3.0.0 > > Attachments: 0001-RANGER-4438.patch, RANGER-4438-2.patch > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (RANGER-4438) Read JAVA_OPTS in ranger db setup python script
[ https://issues.apache.org/jira/browse/RANGER-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789653#comment-17789653 ] Madhan Neethiraj commented on RANGER-4438: -- [~pradeep] - with the updates, Ranger admin setup fails when {{install.properties}} doesn't contain property {{{}java_opts{}}}. This would result in existing deployment scripts to fail, for example docker scripts under {{dev-support/ranger-docker}} fail to setup Ranger. Instead of requiring updates to existing deployment scripts, the setup script should assume empty value for java_opts. Please review the attached patch, RANGER-4438-2.patch, which addresses this issue. > Read JAVA_OPTS in ranger db setup python script > --- > > Key: RANGER-4438 > URL: https://issues.apache.org/jira/browse/RANGER-4438 > Project: Ranger > Issue Type: Bug > Components: Ranger >Affects Versions: 3.0.0 >Reporter: Pradeep Agrawal >Assignee: Pradeep Agrawal >Priority: Major > Fix For: 3.0.0 > > Attachments: 0001-RANGER-4438.patch, RANGER-4438-2.patch > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (RANGER-4438) Read JAVA_OPTS in ranger db setup python script
[ https://issues.apache.org/jira/browse/RANGER-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17787956#comment-17787956 ] Pradeep Agrawal commented on RANGER-4438: - Commit link : https://github.com/apache/ranger/commit/9146ff44fc5bd7c27ca70c564c02cd98f8ab4a43 > Read JAVA_OPTS in ranger db setup python script > --- > > Key: RANGER-4438 > URL: https://issues.apache.org/jira/browse/RANGER-4438 > Project: Ranger > Issue Type: Bug > Components: Ranger >Affects Versions: 3.0.0 >Reporter: Pradeep Agrawal >Assignee: Pradeep Agrawal >Priority: Major > Fix For: 3.0.0 > > Attachments: 0001-RANGER-4438.patch > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (RANGER-4438) Read JAVA_OPTS in ranger db setup python script
[ https://issues.apache.org/jira/browse/RANGER-4438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17787042#comment-17787042 ] Pradeep Agrawal commented on RANGER-4438: - [~bpatel] : Please review the updated RR: https://reviews.apache.org/r/74625/ > Read JAVA_OPTS in ranger db setup python script > --- > > Key: RANGER-4438 > URL: https://issues.apache.org/jira/browse/RANGER-4438 > Project: Ranger > Issue Type: Bug > Components: Ranger >Affects Versions: 3.0.0 >Reporter: Pradeep Agrawal >Assignee: Pradeep Agrawal >Priority: Major > Fix For: 3.0.0 > > Attachments: 0001-RANGER-4438.patch > > -- This message was sent by Atlassian Jira (v8.20.10#820010)