当前位置:网站首页>Flume learning 1
Flume learning 1
2022-06-30 09:52:00 【Keep-upup】
Definition :
flume Is a highly available 、 Highly reliable 、 A distributed , Log collection 、 polymerization 、 The transmission system . Only log type data , Data such as pictures and videos are not good .
effect :
flume The function of is to read data from the local disk and then transfer the data to HDFS Do offline analysis
flume framework : Data sources --->flume---> Where the data goes
flume Components :
source:Source Is responsible for receiving data to Flume Agent The components of .Source Components can handle various types 、 Various Log data in format , Include avro、thrift、exec、jms、spooling directory、netcat、sequence generator、syslog、http、legacy.(flume To accept from wedServer Read data , Dealing with the outside world . Reading documents 、 Port data, etc ) avro For multi tier flume
channel: The function is to play a buffer role , Don't store data , When all data is sent to sink,channel The data will be deleted
sink:Sink Keep polling Channel And remove them in batches , And batch write these events to the storage Or indexing system 、 Or it could be sent to another Flume Agent. Sink Component destinations include hdfs、logger、avro、thrift、ipc、file、HBase、solr、 Self determination The righteous .
agent:Agent It's a JVM process , It sends data from source to destination in the form of events . Agent There are mainly 3 Component composition ,Source、Channel、Sink.
Flume Installation and deployment
flume Official address :https://flume.apache.org/
Document address :https://flume.apache.org/FlumeUserGuide.html
flume Download address :http://archive.apache.org/dist/flume/
After downloading , take apache-flume-1.7.0-bin.tar.gz Upload to linux
Re decompress :
tar -zxf apache-flume-1.7.0-bin.tar.gz
You can decompress the apache-flume-1.7.0-bin Renamed as flume
mv apache-flume-1.7.0-bin flume
take flume/conf Under the flume-env.sh.template Change the file to flume-env.sh, And configuration flumeenv.sh file
mv flume-env.sh.template flume-env.sh
vi flume-env.sh
stay flume-env.sh Add... To the file export JAVA_HOME= you linux In the virtual machine jdk The path of
have access to echo $JAVA_HOME see jdk The path of
such flume The installation and deployment of is completed !
边栏推荐
- 训练一个图像分类器demo in PyTorch【学习笔记】
- Distributed ID
- MySQL internal component structure
- 银河麒麟server-V10配置镜像源
- 机器学习笔记 九:预测模型优化(防止欠拟合和过拟合问题发生)
- Create thread pool demo
- JVM memory common parameter configuration set
- Initialize static resource demo
- Difference between bow and cbow
- Machine learning note 9: prediction model optimization (to prevent under fitting and over fitting problems)
猜你喜欢
机器学习笔记 九:预测模型优化(防止欠拟合和过拟合问题发生)
Abstract classes and interfaces
云技能提升好伙伴,亚马逊云师兄今天正式营业
Enterprise data center "cloud" transformation solution
MySQL knowledge summary (useful for thieves)
Distributed things
单片机 MCU 固件打包脚本软件
【新书推荐】Deno Web Development
Numpy (data type)
Machine learning note 9: prediction model optimization (to prevent under fitting and over fitting problems)
随机推荐
1, 基本配置
[Ubuntu redis installation]
AutoUpdater. Net client custom update file
Thrift easy to use
JVM tuning tool introduction and constant pool explanation
目标检测yolov5开源项目调试
How do I start? (continuously updating)
Differences and relationships among hyper convergence, software defined storage (SDS), distributed storage and server San
Redis docker master-slave mode and sentinel
NER – Named Entity Recognition Summary
Abstract classes and interfaces
Simple redis lock
基于Svelte3.x桌面端UI组件库Svelte UI
Terminal -- Zsh of terminal three swordsmen
Good partner for cloud skill improvement, senior brother cloud of Amazon officially opened today
JVM notes (III): analysis of JVM object creation and memory allocation mechanism
仿照微信Oauth2.0接入方案
Application exploration and practice of super convergence in the production environment of insurance industry
MySQL index optimization miscellaneous
MySQL explain