Skip to content

Commit 54c6d96

Browse files
Addressed PR comments
1 parent e63092d commit 54c6d96

File tree

5 files changed

+552
-458
lines changed

5 files changed

+552
-458
lines changed

hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/contracts/exceptions/ConcurrentWriteOperationDetectedException.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
/**
2222
* Thrown when a concurrent write operation is detected.
23+
* This exception is used to indicate that a parallel access to the create path
24+
* has been detected, which violates the single writer semantics.
2325
*/
2426
@org.apache.hadoop.classification.InterfaceAudience.Public
2527
@org.apache.hadoop.classification.InterfaceStability.Evolving
@@ -29,6 +31,9 @@ public class ConcurrentWriteOperationDetectedException
2931
private static final String ERROR_MESSAGE = "Parallel access to the create path detected. Failing request "
3032
+ "to honor single writer semantics";
3133

34+
/**
35+
* Constructs a new ConcurrentWriteOperationDetectedException with a default error message.
36+
*/
3237
public ConcurrentWriteOperationDetectedException() {
3338
super(ERROR_MESSAGE);
3439
}

0 commit comments

Comments
 (0)