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

[hdfs] Bugfix updated bean name in datanode check #2260

Merged
merged 1 commit into from
Feb 12, 2016

Conversation

zachradtka
Copy link
Contributor

This is just a quick bugfix that updates bean name being requested from the DataNode's JMX interface.

@olivielpeau olivielpeau self-assigned this Feb 11, 2016
@olivielpeau olivielpeau added this to the 5.7.0 milestone Feb 11, 2016
@@ -76,12 +76,10 @@ def _hdfs_datanode_metrics(self, jmx_uri):

if beans:

# Only get the first bean
bean = next(iter(beans))
bean_name = bean.get('name')
Copy link
Member

Choose a reason for hiding this comment

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

Could you self.log.debug the retrieved bean_name here, so that we can easily troubleshoot issues with the retrieved bean?

Copy link
Contributor

Choose a reason for hiding this comment

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

That should also fix the flake8 tests.

@olivielpeau
Copy link
Member

Only has one small comment, once it's addressed the PR should be good to go, thanks!

@zachradtka
Copy link
Contributor Author

OK, I squashed commit's and pushed.

@olivielpeau
Copy link
Member

Looks good, thanks!

Merging (the CI failures are unrelated).

olivielpeau added a commit that referenced this pull request Feb 12, 2016
[hdfs] Bugfix updated bean name in datanode check
@olivielpeau olivielpeau merged commit 2578005 into DataDog:master Feb 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants