In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "how to configure Flume". Friends who are interested might as well take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to configure Flume.
1. Install JDK
Configure JAVA_ home [root @ hftest0001 opt] # cat / etc/profile...export JAVA_HOME=/usr/java/jdk1.7.0_67-clouderaexport PATH=$JAVA_HOME/bin:$ path. [root @ hftest0001 opt] # java-versionjava version "1.7.0x67" Java (TM) SE Runtime Environment (build 1.7.0_67-b01) Java HotSpot (TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
two。 Download Flume
[root@hftest0001 opt] # wget [root@hftest0001 opt] # tar-zxvf apache-flume-1.6.0-bin.tar.gz
3.Flume configuration
You can configure FLUME_HOME environment variables I configured [root@hftest0001 apache-flume-1.6.0-bin] # cat / etc/profile...export FLUME_HOME=/opt/apache-flume-1.6.0-binexport PATH=$FLUME_HOME/bin:$ path. [root @ hftest0001 conf] # pwd/opt/apache-flume-1.6.0-bin/conf [root@hftest0001 conf] # cp flume-env.sh.template flume-env.sh [root@hftest0001 conf] # vi flume-env.sh. # export JAVA_HOME=/usr/lib/jvm/java-6-sunexport JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera... [root@hftest0001 conf] # vi log4j.properties .flume.root.logger = DEBUG Console#flume.root.logger=INFO,LOGFILE... At this point, I believe you have a deeper understanding of "how to configure Flume", might as well come to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.