Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to implement hadoop compilation in centos 64-bit

Shulou Source: shulou.com Published: 2022-06-01 01:59:41 11月12日 Update

This article mainly shows you the "centos 64-bit how to achieve hadoop compilation", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "centos 64-bit how to achieve hadoop compilation" this article.

If the installed centos is 64-bit, and the source code given on the official website of hadoop is 32-bit, if you run it directly, the following message will appear:

Java HotSpot (TM) 64-Bit Server VM warning: You have loaded library / usr/local/hadoop-2.2.0/lib/native/libhadoop.so.1.0.0 which might have disabled stack guard. The VM will try to fix the stack guard now.

....

Java: ssh: Could not resolve hostname Java: Name or service not known

HotSpot (TM): ssh: Could not resolve hostname HotSpot (TM): Name or service not known

64-Bit: ssh: Could not resolve hostname 64-Bit: Name or service not known

It needs to be compiled. I saw a well-written blog post on the Internet. I also put it into practice and can finish it.

Http://blog.csdn.net/w13770269691/article/details/16883663

In some software, running. / configure will report an error with the error message:

Configure: error: C++ preprocessor "/ lib/cpp" fails sanity

Check See `config.log' for more details

Solution: this situation occurs because the relevant package of the C++ compiler is not installed, log in as a root user and execute on the terminal:

# yum install glibc-headers

# yum install gcc-c++

These are all the contents of the article "how to implement hadoop compilation in centos 64-bit". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Compile content article study help run information method situation time easy to understand more organization source code user knowledge terminal tape compiler industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Technology NVidia OPPO Reno Shulou Tech Info