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

39: add jolokia for zookeeper monitoring #40

Closed
wants to merge 2 commits into from
Closed

39: add jolokia for zookeeper monitoring #40

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Sep 28, 2017

Jolokia support for Zookeeper monitoring was added. #39

@zrobgar
Copy link
Contributor

zrobgar commented Sep 28, 2017

👍

Dockerfile Outdated
@@ -44,7 +46,6 @@ RUN export DEBIAN_FRONTEND=noninteractive \
&& rm -rf /var/lib/apt/lists/* /root/.m2

# Base part of dockerfile should not be modified not to rebuild image for 1 hour
ENV JOLOKIA_VERSION="1.3.7"
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the purpose of moving this variable up? The install here takes time and reordering commands will cause longer rebuild

@@ -57,6 +58,6 @@ COPY scm-source.json /scm-source.json
WORKDIR ${HOME}
USER ${USER}

EXPOSE 2181 2888 3888 8181 8778
EXPOSE 2181 2888 3888 8181 8778 8779
Copy link
Contributor

Choose a reason for hiding this comment

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

@@ -11,3 +11,4 @@ election-port=3888
zoo-cfg-extra=tickTime\=2000&initLimit\=10&syncLimit\=5&quorumListenOnAllIPs\=true
auto-manage-instances-settling-period-ms=0
auto-manage-instances=1
java-environment=#!/bin/bash \nexport JAVA_TOOL_OPTIONS="-javaagent:/opt/jolokia-jvm-${JOLOKIA_VERSION}-agent.jar=port=8779,host=0.0.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please explain what is java-environment and how this thing is used? I failed to find documentation for it

Copy link
Author

Choose a reason for hiding this comment

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

The value of java-environment is placed in Config -> Ensemble -> java.env script. It is "Script to write as the “java.env” file which gets executed as part of the ZooKeeper start script. Optional – leave blank for no file." docs

@antban
Copy link
Contributor

antban commented Oct 9, 2017

👍

@ghost
Copy link
Author

ghost commented Oct 10, 2017

@zrobgar can I ask you to review again?

@zrobgar
Copy link
Contributor

zrobgar commented Oct 10, 2017

👍

@ghost ghost closed this by deleting the head repository Sep 25, 2024
This pull request was closed.
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.

3 participants