Open ankit-cg opened 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.
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.
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.