madhumita chakraborty, thank you for the update. Patch v003 is looking good so far, and I'm running it through some final tests.
I dont see any reference to SUPPORTS_ATOMIC_RENAME and SUPPORTS_ATOMIC_DIRECTORY_DELETE defined in ContractOptions.
Oops, you're right. These are unused. Perhaps these flags are just set up for documentation purposes or anticipating writing atomicity contract tests in the future. (Cc Steve Loughran.) For now, let's take this out of scope for the current patch and proceed.
testRenameFileBeingAppended is failing.
Yes, if this is a known deviation from HDFS semantics, then using the skip method is the right thing to do. I'd appreciate confirmation from Dushyanth that this is a difference in semantics and not in fact an unintended bug in the append implementation.
Root folder access is not fully supported in WASB. So removed TestAzureNativeContractRootDir.
Similar question: is this an accepted difference in semantics, or is this a bug in the handling of /? If it's not certain, then you could create a separate JIRA to track handling of /. I wouldn't want it to block committing this patch, because it's clear that we're already getting value from the tests that are working.