Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the default_value of JAVA_HOME for running RPS #1206

Closed
wants to merge 2 commits into from
Closed

Set the default_value of JAVA_HOME for running RPS #1206

wants to merge 2 commits into from

Conversation

lavjain
Copy link

@lavjain lavjain commented Mar 29, 2017

Third try ;-(


if [[ ${JAVA_HOME_DIR} ]]; then
local prop_file=$(dirname ${SCRIPT_DIR})/etc/rps.properties
sed -i -e "s|/usr/java/default|${JAVA_HOME_DIR}|g" ${prop_file}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems no /usr/java/default existed in rps.properties?
I refer here:https://github.com/apache/incubator-hawq/blob/master/ranger-plugin/conf/rps.properties

Is there something wrong?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Forgot to commit the other 2 files :-(

@edespino
Copy link
Contributor

+1 Thanks for working on this quickly.

Copy link
Contributor

@edespino edespino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@interma
Copy link
Member

interma commented Mar 29, 2017

LGTM now, +1

Thanks lav!

@asfgit asfgit closed this in dc41e4c Mar 29, 2017
@lavjain lavjain deleted the HAWQ-1415-3 branch April 11, 2017 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants