-
Notifications
You must be signed in to change notification settings - Fork 440
TEZ-4654: Migrate from commons-lang2.x to commons-lang3.x #441
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
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
25ee1ed to
cafecd5
Compare
|
Looks like UT failures are because of exclusion of common-lang 2.x in From Hive perspective, commons-lang 2.x is part of hive-exec jar so, it shouldn't cause any runtime issues as well. https://github.com/apache/hive/blob/c054a47c7c22875c93ca0d29b7ac730cf7deba04/ql/pom.xml#L1060 CC @abstractdog |
This comment was marked as outdated.
This comment was marked as outdated.
|
@Aggarwal-Raghav : I can see only 1 problem in tez-javadoc-tools while compiling the java 17+ version |
@abstractdog , it is passing in local. Attaching the build logs for this module. Do i need to force push again? |
|
Please suggest, what needs to be done. |
sorry for the late reply, it has passed for me too locally, can you rebase and push to see it now? and then we'll decide |
- Upgrade to commons-lang-3.19.0 - org.apache.commons.lang.ArrayUtils => org.apache.commons.lang3.ArrayUtils - org.apache.commons.lang.RandomStringUtils => org.apache.commons.lang3.RandomStringUtils - org.apache.commons.lang.StringEscapeUtils => org.apache.commons.lang3.StringEscapeUtils - org.apache.commons.lang.StringUtils => org.apache.commons.lang3.StringUtils - org.apache.commons.lang.SystemUtils => org.apache.commons.lang3.SystemUtils - org.apache.commons.lang.exception.ExceptionUtils => org.apache.commons.lang3.exception.ExceptionUtils - org.apache.commons.lang.mutable.MutableInt => org.apache.commons.lang3.mutable.MutableInt - org.apache.commons.lang.NotImplementedException => org.apache.commons.lang3.NotImplementedException
cafecd5 to
c884d63
Compare
|
No Worries. Rebased |
|
💔 -1 overall
This message was automatically generated. |
|
looks good to me, spotbugs should be fixed though in TEZ-4669 |
I'll double-check the javadoc tools build, because it's weird...it compiles for me locally too |
|
I'm speculating and might be wrong but is it possible that the |
As its not able to find the previously build modules |
but right before these modules' build, there is e.g. tez-dag build as shown in which ends with: I cannot reproduce this locally now, and now it's not only tez-javadoc-tools but also tez-tests more interestingly, tez-runtime-internals builds successfully, even though it's complaining about tez-api, which it depends on: |
|
I just hacked yetus to add -X to maven command and explode, will see :) |
|
💔 -1 overall
This message was automatically generated. |
|
@Aggarwal-Raghav spotbugs report showing -1 for all modules. It is failed due to below error. Can you check it ? |
already tracked on TEZ-4669 |
|
debug level maven logs revealed new exotic things: so invalid POM is some missing version, but still don't get how could this come in precommit and not locally |
|
reproduced the maven compile problem on an ubuntu server by hitting the same commands as yetus: again, the same didn't happen on my mac |
|
I'll also look into this over the weekend. |
|
Can we remove this |
I'm afraid we cannot, this is deep inside yetus logic, how it identifies the affected modules and their dependencies, and build them one by one |
|
ignore my last comment about effective pom, it was wrong, deleted it |
|
hm, strange, now I can repro the same locally too :D |
|
I'm also able to repro with the steps you have shared on mac but @abstractdog , isn't this way of doing things wrong? if clean the ~/.m2/repository cache and build the modules like |
That's what I was suspecting yesterday as well. Maybe I couldn't communicate it better. |
I agree that building the project module by module is not necessarily the most optimal way, because we can figure out what went wrong even if the whole project is built in one go, I'm totally fine with a patch where the maven build phase is done in one go, and as a positive side effect, this issue would also go away |

Uh oh!
There was an error while loading. Please reload this page.