This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 116a2fa307e HBASE-29743 Fix typos in documentation for 
BulkLoadObserver (#7524)
116a2fa307e is described below

commit 116a2fa307ebd1ace07da38ece311df6b130bc9e
Author: Kevin Geiszler <[email protected]>
AuthorDate: Sun Dec 7 07:43:12 2025 -0800

    HBASE-29743 Fix typos in documentation for BulkLoadObserver (#7524)
    
    Signed-off-by: Duo Zhang <[email protected]>
    Reviewed-by: Liu Xiao <[email protected]>
    (cherry picked from commit dd9e37acb26cc581c57651ceba461d13820fafb3)
---
 .../hadoop/hbase/coprocessor/BulkLoadObserver.java | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
index 8e571c2403e..a5af783360d 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
@@ -27,12 +27,12 @@ import org.apache.yetus.audience.InterfaceStability;
  * <br>
  * <h3>Exception Handling</h3> For all functions, exception handling is done 
as follows:
  * <ul>
- * <li>Exceptions of type {@link IOException} are reported back to client.</li>
+ * <li>Exceptions of type {@link IOException} are reported back to the 
client.</li>
  * <li>For any other kind of exception:
  * <ul>
  * <li>If the configuration {@link CoprocessorHost#ABORT_ON_ERROR_KEY} is set 
to true, then the
  * server aborts.</li>
- * <li>Otherwise, coprocessor is removed from the server and
+ * <li>Otherwise, the coprocessor is removed from the server and
  * {@link org.apache.hadoop.hbase.DoNotRetryIOException} is returned to the 
client.</li>
  * </ul>
  * </li>
@@ -42,11 +42,11 @@ import org.apache.yetus.audience.InterfaceStability;
 @InterfaceStability.Evolving
 public interface BulkLoadObserver {
   /**
-   * Called as part of SecureBulkLoadEndpoint.prepareBulkLoad() RPC call. It 
can't bypass the
-   * default action, e.g., ctx.bypass() won't have effect. If you need to get 
the region or table
-   * name, get it from the <code>ctx</code> as follows:
-   * <code>code>ctx.getEnvironment().getRegion()</code>. Use getRegionInfo to 
fetch the encodedName
-   * and use getTableDescriptor() to get the tableName.
+   * Called as part of the SecureBulkLoadEndpoint.prepareBulkLoad() RPC call. 
It can't bypass the
+   * default action, e.g., ctx.bypass() won't have any effect. If you need to 
get the region or
+   * table name, get it from the <code>ctx</code> as follows:
+   * <code>ctx.getEnvironment().getRegion()</code>. Use getRegionInfo to fetch 
the encodedName and
+   * use getDescriptor() to get the tableName.
    * @param ctx the environment to interact with the framework and master
    */
   default void 
prePrepareBulkLoad(ObserverContext<RegionCoprocessorEnvironment> ctx)
@@ -54,11 +54,11 @@ public interface BulkLoadObserver {
   }
 
   /**
-   * Called as part of SecureBulkLoadEndpoint.cleanupBulkLoad() RPC call. It 
can't bypass the
-   * default action, e.g., ctx.bypass() won't have effect. If you need to get 
the region or table
-   * name, get it from the <code>ctx</code> as follows:
-   * <code>code>ctx.getEnvironment().getRegion()</code>. Use getRegionInfo to 
fetch the encodedName
-   * and use getTableDescriptor() to get the tableName.
+   * Called as part of the SecureBulkLoadEndpoint.cleanupBulkLoad() RPC call. 
It can't bypass the
+   * default action, e.g., ctx.bypass() won't have any effect. If you need to 
get the region or
+   * table name, get it from the <code>ctx</code> as follows:
+   * <code>ctx.getEnvironment().getRegion()</code>. Use getRegionInfo to fetch 
the encodedName and
+   * use getDescriptor() to get the tableName.
    * @param ctx the environment to interact with the framework and master
    */
   default void 
preCleanupBulkLoad(ObserverContext<RegionCoprocessorEnvironment> ctx)

Reply via email to