构建hadoop时apache hadoop常见故障

wj8zmpe1  于 2021-06-01  发布在  Hadoop
关注(0)|答案(0)|浏览(201)

你好,我昨天刚上传了同样的问题,但我的解释很差。
安装hadoop时apache hadoop常见故障
<这是我以前的帖子。
我想在raspbian os上的raspberry pi中安装hadoop。
http://data.andyburgin.co.uk/post/157450047463/running-hue-on-a-raspberry-pi-hadoop-cluster
<我指的是这个网站。

**编译hadoop

We now need to compile the Hadoop binaries, download and unpack the Hadoop 2.6.4 source, tweak pom.xml so it bypasses the documentation generation as this fails on the Pi, apply the HADOOP-9320 patch and build the binary.
cd
apt-get install oracle-java8-jdk
wget http://apache.mirror.anlx.net/hadoop/common/hadoop-2.6.4/hadoop-2.6.4-src.tar.gz
tar -zxvf hadoop-2.6.4-src.tar.gz
vi hadoop-2.6.4-src/pom.xml
Disable the problem step in by adding the following to <properties>…</properties>
    <additionalparam>-Xdoclint:none</additionalparam>
Next apply the HADOOP-9320 patch
cd hadoop-2.6.4-src/hadoop-common-project/hadoop-common/src
wget https://issues.apache.org/jira/secure/attachment/12570212/HADOOP-9320.patch
patch < HADOOP-9320.patch
cd ~/hadoop-2.6.4-src/
Next install a whole bunch of build tools and libraries:
apt-get install maven build-essential autoconf automake libtool cmake zlib1g-dev pkg-config libssl-dev libfuse-dev libsnappy-dev libsnappy-java libbz2-dev**
<< i've finished this line.

but the error occurred at the next stage >**sudo mvn package -Pdist,native -DskipTests -Dtar**

如何修复此错误?请帮忙。谢谢:)

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题