Skip to content

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

Open
MaheshIBM wants to merge 1 commit intosparkonpower:masterfrom
MaheshIBM:master
Open

Fixed the path for PID_DIR, when the WORKDIR is home#6
MaheshIBM wants to merge 1 commit intosparkonpower:masterfrom
MaheshIBM:master

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

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