Skip to content

Commit

Permalink
[FLINK-37212] Skip relocating some region related exceptions
Browse files Browse the repository at this point in the history
Closes #55
  • Loading branch information
jichun authored and ferenc-csaky committed Feb 7, 2025
1 parent 7e7d74b commit ca5a4aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flink-sql-connector-hbase-2.2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,13 @@ under the License.
<shadedPattern>org.apache.flink.hbase.shaded.org.apache.hadoop.hbase</shadedPattern>
<!-- HBase client uses shaded KeyValueCodec to encode data and put the class name in
the header of request, the HBase region server can not load the shaded
KeyValueCodec class when decode the data, so we exclude them here. -->
KeyValueCodec class when decode the data, so we exclude them here.
Some exceptions also required to keep their original package because the region
server sends it that way, and otherwise the client will not recognize it.-->
<excludes>
<exclude>org.apache.hadoop.hbase.codec.*</exclude>
<exclude>org.apache.hadoop.hbase.NotServingRegionException</exclude>
<exclude>org.apache.hadoop.hbase.exceptions.RegionMovedException</exclude>
</excludes>
</relocation>
</relocations>
Expand Down

0 comments on commit ca5a4aa

Please sign in to comment.