vmware-archive / sre-test

Greenplum - Open Source SRE test project.
2 stars 0 forks source link

Document should mention setting java home on all host #243

Open ankit-cg opened 2 years ago

ankit-cg commented 2 years ago

Link:https://gpdb.docs.pivotal.io/pxf/6-2/using/install_java.html

Under Procedure point 4 says set the java home environment variable, however it doesn't say to do this on all the hosts.

This may lead to an confusion and errors. Preferably use "gpssh" command to set this in all the hosts.

lisakowen commented 2 years ago

this page says "Note the $JAVA_HOME setting; you will need this value when you configure PXF." the environment variable is not actually set in this procedure. the user will set the env varb in pxf-env.sh when they configure pxf, and the "pxf cluster sync" will propagate this to the segment hosts. gpssh is not required.

indranil-cg commented 2 years ago

Typically when java is installed JAVA_HOME is set and also appended to PATH in the .bashrc file. It might help to add a note about this not being required and how pxf cluster sync will propagate this to all the nodes when it is added to pxf-env.sh.

Instead of noting the value of JAVA_HOME, can we mention in this page itself to update pxf-env.sh with the value.