Update to guice 4.0#1608
Conversation
There was a problem hiding this comment.
should we mark this method as to be used for testing only
|
minor comment, but LGTM otherwise |
|
👍 |
|
@drcrallen we should also update guice version in druid-api while we're at it for consistency, and update druid-api version |
|
Sounds good, we can merge this as soon as druid-api with updated guice is released, and druid-api version has been updated in this PR. |
- Mark a lot of `@Provides` methods as final since guice 4.0 disallows overriding them
|
build is expected to fail until the release for druid-api finishes. |
|
@xvrl travis is passing here. |
|
@drcrallen not certain but this PR seems to be causing following exception in hadoop batch ingestion (I'm using hadoop-2.6) are you successfully being able to run hadoop ingestion after this update? |
|
@himanshug Using my simple test of |
|
@himanshug Specifying |
|
@drcrallen hmmm, not sure yet, but I have a hadoop-2.6 cluster deployed . ran druid processes with |
|
@himanshug can you make sure nothing in your build or extensions is pulling in an older version of guice? This seems like somewhere on your classpath an older version of guice got pulled in. |
|
@xvrl that is true, "hadoop classpath" would include guice jar bundled with hadoop deployment, which will be guice-3.0 . |
|
@himanshug Showed up in our dogfood cluster. Reverting until IT can be fixed to catch issue. |
|
@drcrallen makes sense to revert till we figure out the root cause. |
@Providesmethods as final since guice 4.0 disallows overriding them