From 9f237e4d0c09e9f7020eb84c0c7a9b03555f58d0 Mon Sep 17 00:00:00 2001
From: weitule <1765003482@qq.com>
Date: Tue, 13 Aug 2024 17:33:42 +0800
Subject: [PATCH 1/2] Fixed the error: org.
apache.hadoop.hbase.DoNotRetryIOException: java.lang.UnsatisfiedLinkError:
org-apache.hadoop.util.NativeCodeLoader.buildSupportsSnappy()Z Set
hbase.table.sanity.checks to false.The error happened when i create table
compressed by snappy. The environment based on hadoop 3.3.3 and hbase2.4.16.
But hbase-2.4.16 document said it is compatible with hadoop 3.3.x, I used the
configuration:
org.apache.hadoop.hbase.io.compress.aircompressor.SnappyCodec,org.apache.hadoop.hbase.io.compress.xerial.SnappyCodec,
the error still occurs.So I changed the dependency hadoop3.1.2 to hadoop
3.3.3, the error fixed
Signed-off-by: weitule <1765003482@qq.com>
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 11680c4d7f25..c60c3c386394 100755
--- a/pom.xml
+++ b/pom.xml
@@ -541,7 +541,7 @@
${compileSource}
2.10.0
- 3.1.2
+ 3.3.3
From cd3b757211e3c48fa64b15badecbf360bf771ef7 Mon Sep 17 00:00:00 2001
From: weitule <1765003482@qq.com>
Date: Tue, 13 Aug 2024 18:01:58 +0800
Subject: [PATCH 2/2] Fixed the error: org.
apache.hadoop.hbase.DoNotRetryIOException: java.lang.UnsatisfiedLinkError:
org-apache.hadoop.util.NativeCodeLoader.buildSupportsSnappy()Z Set
hbase.table.sanity.checks to false.The error happened when i create table
compressed by snappy. The environment based on hadoop 3.3.3 and hbase2.4.16.
But hbase-2.4.16 document said it is compatible with hadoop 3.3.x, I used the
configuration:
org.apache.hadoop.hbase.io.compress.aircompressor.SnappyCodec,org.apache.hadoop.hbase.io.compress.xerial.SnappyCodec,
the error still occurs.So I changed the dependency hadoop3.1.2 to hadoop
3.3.3, the error fixed
Signed-off-by: weitule <1765003482@qq.com>
---
pom.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pom.xml b/pom.xml
index c60c3c386394..1e877b8dce58 100755
--- a/pom.xml
+++ b/pom.xml
@@ -541,6 +541,8 @@
${compileSource}
2.10.0
+
3.3.3