Tachyon with Hadoop

Source: Internet
Author: User

hadoop2.2.0 jdk1.7 tachyon0.5.0 No zookeeper

Both Tachyon and Hadoop are pseudo-distributed patterns

1. Modify the Core-site.xml file

<property> <name>fs.tachyon.impl</name> <value>tachyon.hadoop.tfs</value></ Property>

2. Configure hadoop-env.sh

Add an environment variable for the Tachyon client jar package path in the hadoop-env.sh file

Export hadoop_classpath=/home/hadoop/tachyon-0.5. 0-bin/client/target/tachyon-client-0.5. 0-jar-with-dependencies.jar

3. Start the Hadoop cluster

sbin/start-dfs.shsbin/start-yarn.sh

4. Start Tachyon

Tachyon-start.sh Local

5. Performing Mr Jobs

Hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.2. 0. Jar wordcount-libjars/home/hadoop/tachyon-0.5. 0-bin/client/target/tachyon-client-0.5. 0-jar-with-dependencies.jar tachyon://hadoop:19998/test/passwd tachyon:// Hadoop:19998/out

6. View Results

Tachyon TFS CAT/out/part-r-00000

Tachyon with Hadoop

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.