怎么在linux查看Hadoop版本
时间: 2024-06-18 14:02:35 浏览: 320
hadoop-2.7.7 linux安装包
在Linux系统中,你可以通过以下命令来查看Hadoop的版本:
```
hadoop version
```
执行该命令后,你将会看到类似如下的输出:
```
Hadoop 3.1.2
Source code repository https://github.com/apache/hadoop.git -r b3cbbb467e22b55ceff8e60a62c5c31bfc3a0aa8
Compiled by jdu on 2019-01-05T07:32Z
Compiled with protoc 2.5.0
From source with checksum 43883d56bda4bca1a7d06812c31e1a1
This command was run using /usr/local/hadoop/share/hadoop/common/hadoop-common-3.1.2.jar
```
其中第一行显示了Hadoop的版本号为3.1.2。
阅读全文