bgaborg commented on a change in pull request #1707: HADOOP-16697. Tune/audit 
auth mode
URL: https://github.com/apache/hadoop/pull/1707#discussion_r351822846
 
 

 ##########
 File path: 
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/s3guard/DynamoDBMetadataStore.java
 ##########
 @@ -1991,6 +2082,51 @@ public RenameTracker initiateRenameOperation(
         new AncestorState(this, BulkOperationState.OperationType.Rename, 
dest));
   }
 
+  /**
+   * Mark the directories instantiated under the destination path
+   * as authoritative.
+   * @param dest destination path.
+   * @param operationState active state.
+   * @throws IOException failure.
+   * @return the number of directories marked.
+   */
+  @Override
+  public int markAsAuthoritative(final Path dest,
+      final BulkOperationState operationState) throws IOException {
+    if (operationState == null) {
+      return 0;
+    }
+    AncestorState state = (AncestorState)operationState;
 
 Review comment:
   nit:space

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to