Java.lang.UnsatisfiedLinkError:org.apache.hadoop.util.NativeCrc32.nativeComputeChunkedSums (IIl ...)

Source: Internet
Author: User

Running Hadoop and Spark programs in window eclipse will encounter the following exception error Java.lang.UnsatisfiedLinkError: Org.apache.hadoop.util.NativeCrc32.nativeComputeChunkedSums (iiljava/nio/bytebuffer;iljava/nio/bytebuffer;i iljava/lang/string; JZ) V

Specific solution, reference the Stackoverflow:hadoop error on Windows:java.lang.UnsatisfiedLinkError

This is due to the $hadoop_home/lib/native source binary package, the file defaults to 32-bit, while running under window requires 64-bit format, so you need to find online users have compiled a corresponding version of the 64-bit native package, or compile your own Hadoop source code, you can also get 64-bit native package.
After replacing in the local program, you also need to specify the JVM parameters when the program is running:-djava.library.path= $HADOOP _home/lib/native, see StackOverflow solution above

Encounter the same problem friends can refer to, and other problems, can also be posted in the comments section below, I will promptly reply to you ~

Reprint please indicate the source: http://blog.csdn.net/coder__cs/article/details/79128222
This article comes from "Elon33 's blog"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.