Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ CentOS6 5 source compiler installation Hadoop2.5.1     - Linux IO redirection (Linux)

- Linux server disk expansion and Oracle tablespace file migration operations (Database)

- Ubuntu 14.04 can be used to create a WIFI hotspot for Android (Linux)

- Android Sets the system screen brightness (Programming)

- Ubuntu buffalo wzr-hp-300nh brush DD-WRT router system (Linux)

- Objective-C basic program structure (Programming)

- Shorewall firewall settings under Ubuntu (Linux)

- Use value type build better applications Swift (Programming)

- Oracle 11g contraction table space error ORA-03297: file contains used data beyondrequested RESIZE value (Database)

- To obtain installation package (RPM) under RHEL6 (Linux)

- Windows and Ubuntu dual system, repair of two ways UEFI boot (Linux)

- SSH without password (Linux)

- Linux system Passwd file detailed analysis (Linux)

- Docker in the development and practice of IFTTT (Server)

- Grading defense against Linux server attacks (Linux)

- Getting the Linux shell variable test (Programming)

- RHEL / CentOS / Fedora Install Nagios 4.0.1 (Linux)

- KVM QEMU virtual machine installation configuration under CentOS (Linux)

- PHP CURL get cookies simulated login (Database)

- Use Makeself Create installation file (Linux)

 
         
  CentOS6 5 source compiler installation Hadoop2.5.1
     
  Add Date : 2016-05-09      
         
         
         
  CentOS 6.5 source code to compile and install Hadoop2.5.1

First, the compiler environment

CentOS6.5 (64bit)
jdk7
ant1.9.4
maven3.1.1
findbugs3.0.0
protobuf2.5.0
hadoop2.5.1 source code file

Second, all of the above software installation required

1.yum installable software

yum install svn ncurses-devel gcc * lzo-devel zlib-devel autoconf automake libtool cmake openssl-devel

2. Install the JDK

rpm -ivh jdk-8-linux-x64.rpm
  
vim / etc / profile
export JAVA_HOME = / usr / java / jdk1.7.0
export JRE_HOME = / usr / java / jdk1.7.0 / jre
export PATH = $ JAVA_HOME / bin: $ JRE_HOME / bin: $ PATH
export CLASSPATH =:. $ JAVA_HOME / lib / dt.jar: $ JAVA_HOME / lib / tools.jar

3. Install ant

tar zxvf apache-ant-1.9.4-bin.tar.gz
  
vim / etc / profile
export ANT_HOME = / usr / local / apache-ant-1.9.4
export PATH = $ PATH: $ ANT_HOME / bin

4. Install findbugs

tar zxvf findbugs-3.0.0.tar.gz
  
vim / etc / profile
export FINDBUGS_HOME = / usr / local / findbugs-3.0.0
export PATH = $ PATH: $ FINDBUGS_HOME / bin

5. Install protobuf

tar zxvf protobuf-2.5.0.tar.gz
cd protobuf-2.5.0
./configure --prefix = / usr / local
make && make install

6. Install maven

tar -zxvf apache-maven-3.1.1-bin.tar.gz
vim / etc / peofile
export M2_HOME = / usr / local / apache-maven-3.1.1
export PATH = $ PATH: $ JAVA_HOME / bin: $ M2_HOME / bin

Third, compiling hadoop source

tar zxvf hadoop-2.5.1-src.tar.gz
cd hadoop-2.5.1-src
mvn package -Pdist, native, docs -DskipTests -Dtar

The final document in hadoop-2.5.1-src / hadoop-dist / target in

So far, the hadoop2.5.1 own translation has been completed, has been tested and will not appear at run time warning, and really make people happy!

Also: If a problem occurs at compile time, may wish to consider jdk versions and each version of the software problem, I first use the jdk8, he has been given, and finally tried it jdk7 be successful.

In accordance with the above steps you can basically guarantee that compiles correctly, the process of compiling a reference to many online articles, since they have a habit of taking notes, and after each operation are recorded in the notes, and therefore unrecorded made reference to those articles, please forgive me.
     
         
         
         
  More:      
 
- How to use the command line ftp upload and download files (Linux)
- HTML5 postMessage cross-domain data exchange (Programming)
- Based on Google Cloud Storage Mirroring open Maven Central Repository (Server)
- CentOS of NFS (Server)
- VNC connection VMware vSphere ESXi 5.5 (Linux)
- Intrusion prevention network server security maintenance tips (Linux)
- JBPM6 Tutorial - Fast Fun JBPM table (Linux)
- Nginx is used to build the cache module srcache_nginx (Server)
- Linux use logs to troubleshoot (Linux)
- MyCAT log analysis (Database)
- Shorewall firewall settings under Ubuntu (Linux)
- To install the Contiki development toolchain on Ubuntu (Linux)
- iOS developers - a simple factory pattern and OC reflection (Programming)
- RedHat Linux 5.5 installation process SVN Service Notes (Server)
- Java NIO2: Buffer (Programming)
- Ceph distributed storage system is installed on a CentOS 7.1 (Server)
- Linux / Windows setup is complete port range (Linux)
- HBase cluster installation and deployment (Server)
- Using Oracle for Oracle GoldenGate to achieve a one-way data synchronization (Database)
- Brief Linux commands (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.