-
Notifications
You must be signed in to change notification settings - Fork 515
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
Fix node manager failure during script execution #1047
base: master
Are you sure you want to change the base?
Conversation
current script fails. This fixes the issue where the node manager doesn't restart due to the insertion of new settings while the node manager is running.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the issue related to restart not picking up the conf changes?
prometheus/prometheus.sh
Outdated
else | ||
stop_service_gracefully hadoop-yarn-nodemanager.service | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the indentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is done
prometheus/prometheus.sh
Outdated
else | ||
restart_service_gracefully hadoop-yarn-nodemanager.service | ||
start_service_gracefully hadoop-yarn-nodemanager.service | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the indentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is done
adjusted indententions
current script fails. This fixes the issue where the node manager doesn't restart due to the insertion of new settings while the node manager is running.