-
Notifications
You must be signed in to change notification settings - Fork 958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Write paimon table with hive engine by MR got exeception #4537
Comments
I encountered the same problem and solved it by upgrading the zstd-jni version to zstd-jni-1.5.5-11 |
I tied with below steps:
the problem still there. the two version zstd-jni both in class.path.
|
Try the following steps:
|
@ChrisKyrie , Thank you qulickly answer. my cluster is CHD6.3.2 , the zstd-jni not under hive/lib. it under mr/lib I don't think it's a good idea to remove the zstd-jni-1.3.8.jar on all yarn nodemanager nodes. I'm not sure if this will cause other problems. |
The essence of the problem is that zstd-jni-1.3.8-1.jar does not contain the class ZstdOutputStreamNoFinalizer,and paimon require zstd-jni-1.5.5-11.jar |
Update: I finally discovered that MR utilizes Perhaps we should consider adding more test cases to ensure that there are no issues with the original MR job. However, for now, everything seems fine to me. |
Update: I have another CDH cluster. And follow the same steps. However, I'm unable to query the result table. beeline got below error:
and hiveserver2 log
|
It turns out that I set the wrong value for "hive.metastore.warehouse.dir". |
Search before asking
Paimon version
0.9
Compute Engine
hive: 2.1-cdh-6.3-1
Minimal reproduce step
create paimon table in beeline
after that, try insert data
What doesn't meet your expectations?
MapReduce failed with bellow error.
Anything else?
I checked if my cluster supports zstd compression:
Use the following command to run MR job
hadoop jar /opt/cloudera/parcels/CDH/jars/hadoop-mapreduce-examples*.jar wordcount -Dmapreduce.map.output.compress.codec=org.apache.hadoop.io.compress.ZStandardCodec -Dmapreduce.map.output.compress=true -Dmapreduce.output.fileoutputformat.compress=true -Dmapreduce.output.fileoutputformat.compress.codec=org.apache.hadoop.io.compress.ZStandardCodec wcin wcout-zst
The job ran successfully.
a part of that log.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: