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

Fixed the path for PID_DIR, when the WORKDIR is home #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MaheshIBM
Copy link

I was getting errors that setup-run.sh was not found
/home/hdp_test//perftools-setup/pmonitor/pmon: line 34: /home/hdp_test/pid_monitor/setup-run.sh: No such file or directory
SLAVES : localhost localhost
/home/hdp_test//perftools-setup/pmonitor/pmon: line 64: ./run-workload.sh: No such file or directory

@@ -21,7 +21,7 @@ while [ "$1" != "" ]; do
shift;
done;

export PID_DIR=${WORKDIR}/pid_monitor
export PID_DIR=${WORKDIR}/perftools-setup/pid_monitor
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please check the path where we extract the pid_monitor in our setup scripts: https://github.com/josiahsams/perftools-setup/blob/master/install.sh#L80

Copy link
Author

Choose a reason for hiding this comment

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

This is the place below, so seems there should not be a need to modify the code, I have destroyed my cluster, will revisit this when we plan to re run the code.

Steps to install pid_monitor.

if [ ! -d ${WORKDIR}/pid_monitor ]; then
git clone https://github.com/jschaub30/pid_monitor

mkdir -p ${WORKDIR}/pid_monitor/rundir

#Set execute permission for others so that apache can read files from this directory.
sudo chmod o+x ${WORKDIR} ${WORKDIR}/pid_monitor ${WORKDIR}/pid_monitor/rundir

fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants