当前位置:网站首页>具体说明 Flume介绍、安装和配置
具体说明 Flume介绍、安装和配置
2022-07-06 10:18:00 【全栈程序员站长】
大家好,又见面了,我是全栈君。
社论:
本文总结“Hadoop生态系统”中的当中一员——Apache Flume
写在前面二:
所用软件说明:
一、什么是Apache Flume
官网:Flume is a distributed, reliable, and availableservicefor efficientlycollecting, aggregating, and moving large amounts of log data. It has a simple and flexible architecture based on streaming data flows. It is robust and fault tolerant with tunable reliability mechanisms and many failover and recovery mechanisms. It uses a simple extensible data model that allows for online analytic application.
1、flume是一个分布式的日志收集系统,具有高可靠、高可用、事务管理、失败重新启动等功能。数据处理速度快,全然能够用于生产环境。 经常使用的分布式日志收集系统: Apache Flume、 Facebook Scribe、 Apache Chukwa 2、flume的核心是agent。
agent是一个java进程,执行在日志收集端,通过agent接收日志。然后暂存起来,再发送到目的地。 3、agent里面包括3个核心组件:source、channel、sink。
3.1、source组件是专用于收集日志的。能够处理各种类型各种格式的日志数据,包含avro、thrift、exec、jms、spooling directory、netcat、 sequence generator、syslog、http、legacy、自己定义。source组件把数据收集来以后。暂时存放在channel中。
3.2、channel组件是在agent中专用于暂时存储数据的,能够存放在memory、jdbc、file、自己定义。 channel中的数据仅仅有在sink发送成功之后才会被删除。 3.3、sink组件是用于把数据发送到目的地的组件,目的地包含hdfs、logger、avro、thrift、ipc、file、null、hbase、solr、自己定义。 4、在整个传输数据过程中。流动的是event。事务保证是在event级别。 5、flume能够支持多级flume的agent,支持扇入(fan-in)、扇出(fan-out)。
Flume简单处理示意图
Flume复杂处理示意图
二、Flume安装配置
2.1、下载Flume
2.2、解压缩
cd /home/yujianxin/flume tar -zxvf apache-flume-1.4.0-src.tar.gz ; tar -zxvfapache-flume-1.4.0-bin.tar.gz
然后把src目录中的内容所有拷贝到bin目录
2.3、配置Flume环境变量
三、验证Flume安装是否成功
OK!
出现如上截图,说明Flume安装成功。
版权声明:本文博客原创文章,博客,未经同意,不得转载。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/117390.html原文链接:https://javaforall.cn
边栏推荐
- 8位MCU跑RTOS有没有意义?
- I want to say more about this communication failure
- Getting started with pytest ----- allow generate report
- Pourquoi Li shufu a - t - il construit son téléphone portable?
- Jerry's updated equipment resource document [chapter]
- Common - magic number 7
- Jerry's watch reads the file through the file name [chapter]
- Stealing others' vulnerability reports and selling them into sidelines, and the vulnerability reward platform gives rise to "insiders"
- 2022暑期项目实训(三)
- Nodejs developer roadmap 2022 zero foundation Learning Guide
猜你喜欢
FMT open source self driving instrument | FMT middleware: a high real-time distributed log module Mlog
编译原理——自上而下分析与递归下降分析构造(笔记)
Distiller les connaissances du modèle interactif! L'Université de technologie de Chine & meituan propose Virt, qui a à la fois l'efficacité du modèle à deux tours et la performance du modèle interacti
UDP协议:因性善而简单,难免碰到“城会玩”
C language exchanges two numbers through pointers
Kivy tutorial: support Chinese in Kivy to build cross platform applications (tutorial includes source code)
std::true_type和std::false_type
Smart street lamp based on stm32+ Huawei cloud IOT design
Recommend easy-to-use backstage management scaffolding, everyone open source
第三季百度网盘AI大赛盛夏来袭,寻找热爱AI的你!
随机推荐
Heavy! Ant open source trusted privacy computing framework "argot", flexible assembly of mainstream technologies, developer friendly layered design
Will openeuler last long
从交互模型中蒸馏知识!中科大&美团提出VIRT,兼具双塔模型的效率和交互模型的性能,在文本匹配上实现性能和效率的平衡!...
Principle and usage of extern
带你穿越古罗马,元宇宙巴士来啦 #Invisible Cities
Pytest learning ----- pytest confitest of interface automation test Py file details
Recursive way
FMT开源自驾仪 | FMT中间件:一种高实时的分布式日志模块Mlog
2019 Alibaba cluster dataset Usage Summary
Maixll dock camera usage
Jerry's watch reading setting status [chapter]
1700C - Helping the Nature
模板于泛型编程之declval
STM32+ESP8266+MQTT协议连接OneNet物联网平台
The latest financial report release + tmall 618 double top, Nike energy leads the next 50 years
Scratch epidemic isolation and nucleic acid detection Analog Electronics Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
The third season of Baidu online AI competition is coming in midsummer, looking for you who love AI!
Dichotomy (integer dichotomy, real dichotomy)
Insert dial file of Jerry's watch [chapter]
李書福為何要親自掛帥造手機?