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 check whether Hadoop is 32-bit or 64-bit

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces how to check whether Hadoop is 32-bit or 64-bit, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

When hadoop is installed, we need to know whether the hadoop version is 32-bit or 64-bit.

The hadoop official website originally provides 32-bit, because most of us are 64-bit operating systems, so we have to compile. Later, the official website has provided 64-bit since the hadoop2.5 version.

In order to prevent us from using it incorrectly, let's actually operate and observe.

The hadoop-2.7.2.tar.gz installation package we downloaded from the official website

Whether the hadoop is 32-bit or 64-bit, we can look at the local library. Enter $hadoop_home/lib/native and use the file command

# #

After decompression, we enter

Cd hadoop-2.7.2/lib/native/

Use the file command:

File libhadoop.so.1.0.0

Libhadoop.so.1.0.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID [sha1] = 0x015fbb805a79777d41d110364d2054314d098b9f, not stripped

The display ELF 64-bit is 64-bit.

Thank you for reading this article carefully. I hope the article "how to check whether Hadoop is 32-bit or 64-bit" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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