摘要:
a1.sources = r1a1.sinks = k1a1.channels = c1 a1.sources.r1.type = execa1.sources.r1.command = tail -f /sinkslog/1.txt a1.sinks.k1.type=hdfsa1.sinks.k1 阅读全文
posted @ 2018-08-09 17:04
uuhh
阅读(399)
评论(0)
推荐(0)
摘要:
Warning The problem with ExecSource and other asynchronous sources is that the source can not guarantee that if there is a failure to put the event in 阅读全文
posted @ 2018-08-09 16:26
uuhh
阅读(504)
评论(0)
推荐(0)
摘要:
/*Basic representation of a data object in Flume. Provides access to data as it flows through the system. Flume中数据对象的基本表示。 提供对数据流经系统的访问 */public inter 阅读全文
posted @ 2018-08-09 13:32
uuhh
阅读(642)
评论(0)
推荐(0)
摘要:
http://flume.apache.org/ 安装 1、上传 2、解压 3、修改conf/flume-env.sh 文件中的JDK目录 注意:JAVA_OPTS 配置 如果我们传输文件过大 报内存溢出时 需要修改这个配置项 4、验证安装是否成功 ./flume-ng version 5、配置环境变量 export FLUME_HOME=/home/apache-flume-1.6... 阅读全文
posted @ 2018-08-09 12:25
uuhh
阅读(518)
评论(0)
推荐(0)
摘要:
a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.sources.r1.type = netcat a1.sources.r1.bind = localhost a1.sources.r1.port = 44444 # Describe the sink a1.sinks.k1.... 阅读全文
posted @ 2018-08-09 11:07
uuhh
阅读(437)
评论(0)
推荐(0)
摘要:
netstat -tunlp 产看端口开启情况包括进程 fdsik -l 查看硬盘信息. telnet 命令行退出 ctrl+] ls | tee 1.txt tee重定向到一个文件 centos7自带jdk所在目录/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191- 阅读全文
posted @ 2018-08-09 08:27
uuhh
阅读(225)
评论(0)
推荐(0)

浙公网安备 33010602011771号