yzeng1618 opened a new issue, #10286:
URL: https://github.com/apache/seatunnel/issues/10286

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   When running an HBase -> HBase pipeline with the SeaTunnel connector-v2 
HBase source, the job finishes successfully but the `Total Read Count` is much 
smaller than the real row count in HBase.
   
   - HBase shell `count 'assign_cf_table', {COLUMNS=>'cf1', CACHE=>10000}` 
returns **10,000,000** rows
   - SeaTunnel job summary shows `Total Read Count` / `Total Write Count` 
around **2460778** 
   - Logs show multiple splits were assigned, e.g. `Assigning 4 splits to 
subtask: 0`, but the source finishes quickly.
   
   <img width="1357" height="460" alt="Image" 
src="https://github.com/user-attachments/assets/5adc843a-9ecb-494b-b549-85e8fa373db5";
 />
   
   <img width="1262" height="982" alt="Image" 
src="https://github.com/user-attachments/assets/84b9fe39-c34a-4413-aa24-ac2634a5f181";
 />
   
   ### SeaTunnel Version
   
   2.3.12
   
   ### SeaTunnel Config
   
   ```conf
   env {
     parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
     Hbase {
       zookeeper_quorum = "<zk1:2181,zk2:2181,zk3:2181>"
       table = "assign_cf_table"
       caching = 100000
       batch = 100
       cache_blocks = false
   
       # kerberos configs (masked)
       hbase.client.kerberos.principal = "<principal>"
       hbase.client.keytab.file = "<keytab>"
       krb5_path = "<krb5.conf>"
   
       hbase_extra_config = {
         "hbase.security.authentication" = "kerberos"
         "hadoop.security.authentication" = "kerberos"
         "hbase.master.kerberos.principal" = "hbase/_HOST@REALM"
         "hbase.regionserver.kerberos.principal" = "hbase/_HOST@REALM"
         "hbase.rpc.protection" = "authentication"
         "hbase.zookeeper.useSasl" = "false"
       }
   
       schema = {
         columns = [
           { name = "rowkey" type = string },
           { name = "cf1:id" type = string },
           { name = "cf1:name" type = string }
         ]
       }
     }
   }
   
   sink {
     Hbase {
       zookeeper_quorum = "<zk1:2181,zk2:2181,zk3:2181>"
       table = "assign_cf_table2"
       rowkey_column = ["rowkey"]
       family_name { all_columns = "cf1" }
   
       hbase_extra_config = {
         "hbase.security.authentication" = "kerberos"
         "hadoop.security.authentication" = "kerberos"
         "hbase.master.kerberos.principal" = "hbase/_HOST@REALM"
         "hbase.regionserver.kerberos.principal" = "hbase/_HOST@REALM"
         "hbase.rpc.protection" = "authentication"
         "hbase.zookeeper.useSasl" = "false"
       }
     }
   }
   ```
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh -e flink -c /path/to/hbase2hbase.conf
   ```
   
   ### Error Exception
   
   ```log
   N/A (job finishes successfully; only read/write count mismatch)
   ```
   
   ### Zeta or Flink or Spark Version
   
   flink 1.20.1
   
   ### Java or Scala Version
   
   java8
   
   ### Screenshots
   
   <img width="2253" height="848" alt="Image" 
src="https://github.com/user-attachments/assets/01340c09-03b6-4bfa-9d71-4fb6ed3cafa7";
 />
   
   <img width="2238" height="385" alt="Image" 
src="https://github.com/user-attachments/assets/4c4ce343-c158-4169-a3d8-731a919f31df";
 />
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to