tachyon1.7.1+hadoop2.6.0
Description: Using two nodes, respectively Hmaster, slave1
To download the installation package:
: HTTP://WWW.TACHYON-PROJECT.ORG/DOWNLOADS/FILES/0.7.1/
This is extracted into:/app directory
1, decompression: TAR-ZXVF tachyon-0.7.1-bin.tar.gz/app/
rename : tachyon-0.7.1 tachyon
compiling: Cd/app/tachyon
Execution:mvn clean package-djava.version=1.7-dhadoop.version=2.6.0-dskiptests
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "border=" 0 "style=" background:url ("/E /u261/lang/zh-cn/images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
2, after the completion of the compilation, configure the environment changes.
vi/etc/profile
Add the following content:
export Tachyon_home=/app/tachyon
export path= $PATH: $OOZIE _home/bin: $TACHYON _home/bin
3. Configuring the Tachyon-env.sh File
Copy one from the template first. Enter /app/tachyon/conf: cd /app/tachyon/conf
CP tachyon-env.sh.template tachyon-env.sh
VI tachyon-env.sh
Add and modify the following:
Export Java_home=/app/jdk7
Export java= "$JAVA _home/bin/java"
Export Tachyon_master_address=hmaster #主机名, can be an alias or IP
Export tachyon_underfs_address=hdfs://hmaster:49000 #采用HDFS as data storage
Export TACHYON_WORKER_MEMORY_SIZE=1GB #这个可以调, custom
Export Tachyon_underfs_hdfs_impl=org.apache.hadoop.hdfs.distributedfilesystem
4, configuration slave
vi slaves
added:slave1
5. Configure Works
VI works
Add to:
Hmaster
slave1
6. Copy the installation directory to the other nodes:
Scp-r/app/tachyon slave1:/app/
7. Format Storage Room:
Tachon format
8. Start Tachyon
tachyon-start.sh All Mount
The final jps:hmaster contacts are activated separately.
Tachyonmaster
Tachyonworker
The SLAVE1 node will start:
Tachyonworker
9. Client access to see if the success
http://hmaster:19999/
This article is from the "Javaweb" blog, make sure to keep this source http://472053211.blog.51cto.com/3692116/1689332
Tachyon 1.7.1 Installation