Hadoop "Unable to load Native-hadoop library for your platform" error on CentOS

Source: Internet
Author: User
Tags scp command

everything is OK on the Namenode node, and there is no prompt for this information, but the following message appears on Datanode:15/01/14 16:42:09 WARN util. nativecodeloader:unable to load Native-hadoop library for your platform ... using Builtin-java classes where applicableafter checking the original is Datanode sub-node /home/hadoop/hadoop2.2/lib directory does not have native folder, and Namenode above is the folder, Now you want to copy this folder from Namenode to all the Datanode nodes:go to the Lib folder on Namenode and copy it using the SCP command:scp-r native/ [email protected]:/home/hadoop/ Hadoop2.2/lib
Some summary of the SCP command:Copy from local to server: SCP Sourcefilepath [email protected]:d estination file pathcopy multiple files: SCP file1 file2 [email protected]:destination file path copy from server to Local: scp-pr [email protected]:/home/linux/soft//home/linux/others/Copy the entire directory: scp-r native/ [email protected]:/home/hadoop/hadoop2.2/lib

Hadoop "Unable to load Native-hadoop library for your platform" error on CentOS

Related Article

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.