Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to implement hadoop compilation in centos 64-bit

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report