-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-17459. ADLS Gen1: Fixes for rename contract tests #2607
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
💔 -1 overall
This message was automatically generated. |
Before the changes [INFO] Results: After the change [INFO] Results: |
what's causing NoClassDefFound? |
Fix the following test case failures which are failing after the contract test update in hadoop-common
[ERROR] Failures:
[ERROR] TestAdlContractRenameLive>AbstractContractRenameTest.testRenameFileOverExistingFile:131->Assert.fail:88 expected rename(/test/source-256.txt, /test/dest-512.txt) to be rejected with exception, but got false
[ERROR] TestAdlContractRenameLive.testRenameFileUnderFile:46 Expecting org.apache.hadoop.security.AccessControlException with text Parent path is not a folder. but got : "void"
Post updates to rename on existing file test, ADL contract test is having failure. Updates were made in the AbstractContractTest class in https://issues.apache.org/jira/browse/HADOOP-17365.
To align to test expectation of no exception but a false return from rename, ADL tests need config "fs.contract.rename-returns-false-if-dest-exists" set to true.
[Test results pasted at the end of conversation tab].