Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to compile 64-bit hadoop2.2.0 by Centos6.5

Shulou Source: shulou.com Published: 2022-06-01 12:48:41 10月04日 Update

This article introduces the knowledge of "how Centos6.5 compiles 64-bit hadoop2.2.0". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

You can modify the maven configuration conf/setting.xml and configure the image library:

Osc-maven-repo * osc-maven-repo http://maven.oschina.net/content/groups/public/

Configure jdk, local repository, plug-in repository, etc.:

Jdk-1.7 1.7 local-repo local-repo http://maven.oschina.net/content/groups/public/ true false osc-maven-repo Osc-maven-repo http://maven.oschina.net/content/groups/public/ true false

Compile the protobuf environment: yum gcc gcc-c++ cmake ncurses-devel openssl-devel

Protobuf: https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.gz

Standard compilation installation:. / configure & & make & & make install

Compile hadoop:

Mvn package-Pdist,native-DskipTests-Dtar

Most likely there will be network problems, memory overflow (1G is enough), compilation completed:

Call it a day.

That's all for "how Centos6.5 compiles 64-bit hadoop2.2.0". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Compile configure repository content more knowledge practical learned next memory dilemma adequacy reality situation plug-ins articles standards cases environment editing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Apple Redmi Shulou Information Shulou Tech Info