Hadoop Combat-flume Hello World (ix)

Source: Internet
Author: User

Environment Description: master server ip:192.168.80.128

1. Prepare Apache-flume-1.7.0-bin.tar File

2. Upload to Master (192.168.80.128) server

3, Decompression Apache-flume-1.7.0-bin.tar

TAR-ZXVF Apache-flume-1.7.0-bin.tar


4. Enter the configuration file directory of the Flume

Cd/apache-flume-1.7.0-bin/conf

5, modify the contents of the apache-flume-1.7.0-bin/conf

a1.sources == = = = = 44444= = = + == C1


5. Start the Flume program

Bin/flume-ng agent--conf conf--conf-file/home/hadoop/apache-flume-1.7.0-bin/conf/flume-conf.properties--name A1- Dflume.root.logger=info,console


PS: If background is started, add it on the basis of step 5

-N agent1 > Log.log 2>&1 &

6. Enter Telnet localhost 44444 in another window

Hadoop Combat-flume Hello World (ix)

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.