-
Notifications
You must be signed in to change notification settings - Fork 440
TEZ-4420 : Upgrade Hadoop to 3.3.4 #272
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
Conversation
…e main idea is to give priority to Mockito than Powermock.
|
@abstractdog I have tested all tests in my local. The only test failure was TestLocalMode previously which I see you have fixed recently in master. Can you please review this. |
This comment was marked as outdated.
This comment was marked as outdated.
|
Just FYI why I made this change in tez-tests |
e82492c to
f7d1c84
Compare
|
@abstractdog Can you please review this now |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
@abstractdog Can you please review this. |
I cannot see powermock used by tez, so assuming that the powermock used by hadoop conflicts with the mockito used by tez? is that right? if so, theoretically, this conflict can be resolved in the future in case of a mockito version change in tez or rather a powermock version change in hadoop (as mockito is quite new one in tez since TEZ-4383) |
|
Hi @abstractdog Sorry my bad. I checked the Hadoop 3.3.4 version in my local repo. It had the use of powermock libraries which I was using to debug and mock some functionalities for branch-3 (Hive) upgrade with Hadoop 3.3.4. These were unnecessary changes. I refreshed my local and deleted all the jars. Now it downloaded oss Hadoop 3.3.4 and built correctly. We only need to include mockito-core for the tez-tests that's it. I have pushed my commit. Kindly check it once. |
|
@abstractdog Added a snapshot of a sample successful test which was failing earlier : |
|
Just for everyone's knowledge, if we do not include mockito-core, the tests will fail with the following errors: [INFO] Running org.apache.tez.mapreduce.TestMRRJobs [INFO] Running org.apache.tez.test.TestAM [INFO] Running org.apache.tez.test.TestAMRecovery |
|
💔 -1 overall
This message was automatically generated. |
abstractdog
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks much cleaner, thanks @amanraj2520
+1
|
nice. well done |

Upgraded Hadoop to 3.3.4 and some dependency imports for tests.
Have successfully tested in my local running all the test cases.