[ 
https://issues.apache.org/jira/browse/HADOOP-18408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17581352#comment-17581352
 ] 

ASF GitHub Bot commented on HADOOP-18408:
-----------------------------------------

sreeb-msft opened a new pull request, #4758:
URL: https://github.com/apache/hadoop/pull/4758

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   This commit ignores the testResilienceAsExpected test in 
ITestAbfsRenameStageFailure. 
   
   ITestAbfsRenameStageFailure fails for the NonHNS SharedKey configuration - 
   
   `[ERROR] 
ITestAbfsRenameStageFailure>TestRenameStageFailure.testResilienceAsExpected:126 
[resilient commit support] expected:<[tru]e> but was:<[fals]e>
   `
   The check for whether ResilientCommits are possible depends on whether etags 
are preserved in rename or not. If not, an exception is thrown which leads the 
ResilientCommitByRename flag to remain set to `null` and ultimately causes the 
test failure.
   In case of nonHNS accounts, as etags are not preserved in rename, the test 
run is not valid. Hence for this particular configuration the test has been 
ignored. 




> [ABFS]: Ignore run of ITestAbfsRenameStageFailure for NonHNS-SharedKey 
> configuration
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-18408
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18408
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/azure, test
>            Reporter: Pranav Saxena
>            Assignee: Pranav Saxena
>            Priority: Minor
>
> ITestAbfsRenameStageFailure fails for NonHNS-SharedKey configuration.
> Failure:
> [ERROR]   
> ITestAbfsRenameStageFailure>TestRenameStageFailure.testResilienceAsExpected:126
>  [resilient commit support] expected:<[tru]e> but was:<[fals]e>
> RCA:
> ResilientCommit looks for whether etags are preserved in rename, if not then 
> it throws an exception and the flag for resilientCommitByRename stays null, 
> leading ultimately to the test failure
> Mitigation:
> Since, etags are not preserved in the case of rename in nonHNS account, test 
> run for nonHNS account is not valid case. Hence, as part of this task, we 
> shall ignore this test for nonHNS configuraiton.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to