ubuntu20桌面版编译hadoop3.3.1源码后,启动单个节点的集群Single Node

前言
在ubuntu20桌面上顺利编译hadoop3.3.1各种源码,编译命令如下都通过了,接下来是找到编译后的文件启动一个节点的hadoop集群。

Building distributions:

Create binary distribution without native code and without documentation:

  $ mvn package -Pdist -DskipTests -Dtar -Dmaven.javadoc.skip=true

Create binary distribution with native code and with documentation:

  $ mvn package -Pdist,native,docs -DskipTests -Dtar

Create source distribution:

  $ mvn package -Psrc -DskipTests

Create source and binary distributions with native code and documentation:

  $ mvn package -Pdist,native,docs,src -DskipTests -Dtar

Create a local staging version of the website (in /tmp/hadoop-site)

  $ mvn clean site -Preleasedocs; mvn site:stage -DstagingDirectory=/tmp/hadoop-site

Note that the site needs to be built in a second pass after other artifacts.

编译后的程序目录

你可能感兴趣的:(ubuntu,hadoop,linux)