Skip to content

Add metamx emitter, http clients, and metrics packages to druid java-util - #5289

Merged
leventov merged 8 commits into
apache:masterfrom
jon-wei:emitter-fix
Jan 24, 2018
Merged

Add metamx emitter, http clients, and metrics packages to druid java-util#5289
leventov merged 8 commits into
apache:masterfrom
jon-wei:emitter-fix

Conversation

@jon-wei

@jon-wei jon-wei commented Jan 24, 2018

Copy link
Copy Markdown
Contributor

This PR adds the emitter, http.client, and metrics packages from metamx's java-util to druid's own java-util module.

This is tagged with Release Notes because this changes configuration properties to use io.druid.java.util.* names instead of com.metamx.*.

@gianm gianm added this to the 0.13.0 milestone Jan 24, 2018
@jon-wei

jon-wei commented Jan 24, 2018

Copy link
Copy Markdown
Contributor Author

This PR will cause the native libraries for hyperic sigar that are packaged in the com.metamx java-util jar to be packaged in the druid java-util jar.

If anyone has objections to this, please comment on this PR.

final int readByte = in.read();
if (expectedBytes[i] != (byte) readByte) {
Assert.assertEquals(String.format("%s[%d", Arrays.toString(expectedBytes), i), expectedBytes[i], readByte);
Assert.assertEquals(StringUtils.format("%s[%d", Arrays.toString(expectedBytes), i), expectedBytes[i], readByte);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Missing ]

@leventov

Copy link
Copy Markdown
Member

Also fix inspection problem

@gianm

gianm commented Jan 24, 2018

Copy link
Copy Markdown
Contributor

LGTM once the CI is passing.

@nishantmonu51 nishantmonu51 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

@leventov
leventov merged commit 8041975 into apache:master Jan 24, 2018
jon-wei added a commit to jon-wei/druid that referenced this pull request Feb 14, 2018
…util (apache#5289)

* Add metamx java-util emitter, http clients, and metrics packages to druid java-util

* Remove metamx java-util from pom.xml files

* Checkstyle fixes

* Import fix

* TeamCity inspection fixes

* Use slf4j, move some version defs to master pom.xml

* Use parent jvm-attach-api and maven-surefire-plugin versions

* Add ] to log msg, suppress inspection
gianm pushed a commit that referenced this pull request Feb 15, 2018
…druid java-util (#5289) (#5387)

* Add metamx emitter, http clients, and metrics packages to druid java-util (#5289)

* Add metamx java-util emitter, http clients, and metrics packages to druid java-util

* Remove metamx java-util from pom.xml files

* Checkstyle fixes

* Import fix

* TeamCity inspection fixes

* Use slf4j, move some version defs to master pom.xml

* Use parent jvm-attach-api and maven-surefire-plugin versions

* Add ] to log msg, suppress inspection

* Remove extra files, fix HttpPostEmitter compile
@gianm gianm modified the milestones: 0.13.0, 0.12.0 Feb 23, 2018
@gianm

gianm commented Feb 23, 2018

Copy link
Copy Markdown
Contributor

Changed milestone since we did a backport.

riovic918data pushed a commit to riovic918data/druid that referenced this pull request Jun 12, 2026
…util (apache#5289)

* Add metamx java-util emitter, http clients, and metrics packages to druid java-util

* Remove metamx java-util from pom.xml files

* Checkstyle fixes

* Import fix

* TeamCity inspection fixes

* Use slf4j, move some version defs to master pom.xml

* Use parent jvm-attach-api and maven-surefire-plugin versions

* Add ] to log msg, suppress inspection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants