·ÖÏí

CDH°²×°µÄflume1.5.0ÔõôÌí¼Ó×Ô¶¨Òå²å¼þ

ΪÁ˼¯ÈºµÄ¹ÜÀíCloudera Manager£¬²¢°²×°CDHµÄflume1.5.0£¬ÏÖÔÚÎÒÐèÒª°ÑµÚÈý·½²å¼þ¼ÓÈëflume1.5.0Öв¢ÒýÓ㬸ÃÔõô×öÄØ£¿ÎÒÖ±½Ó°ÑµÚÈý·½²å¼þjarÈÓµ½libϵ«ÊÇ»¹Êdzö´í£¿»¹ÐèÒªÅäÖÃʲôÂð£¿
lib=/opt/cloudera/parcels/CDH-5.1.0-1.cdh5.1.0.p0.53/lib/flume-ng/lib/

ÒÑÓÐ(8)ÈËÆÀÂÛ

Ìøתµ½Ö¸¶¨Â¥²ã
hyj ·¢±íÓÚ 2014-7-23 19:53:12
ÅäÖÃÎļþ¸ÃÁËÂð£¿
²Î¿¼flume ²å¼þ¿ª·¢½éÉÜ
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

shadowhtx ·¢±íÓÚ 2014-7-23 21:09:41
hyj ·¢±íÓÚ 2014-7-23 19:53
ÅäÖÃÎļþ¸ÃÁËÂð£¿
²Î¿¼flume ²å¼þ¿ª·¢½éÉÜ

ÎÒÓÃCDH°²×°µÄ°¡£¬ÅäÖÃÎļþÖ®À඼ÊÇCDH×Ô¶¯Íê³É£¬agentÒ²ÊÇÔÚCMÉÏÅäÖã¬ËùÒÔÎÒ²»ÖªµÀÔõôÓõÚÈý·½²å¼þ£¬Èç¹ûÊǶÀÁ¢apach flume£¬ºÜºÃÅäÖá£
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

hyj ·¢±íÓÚ 2014-7-24 02:57:19
ËüÃÇÖ®¼äµÄÔ­ÀíÓ¦¸Ã¶¼ÊÇÒ»ÑùµÄ¡£flumeÆô¶¯Ö®ºó£¬¿Ï¶¨¶ÁÈ¡ÅäÖÃÎļþ
ÐèÒª½â¾öÏÂÃæÁ½¸öÎÊÌâ
1.×Ô¶¨Òåjar°ü·Åµ½Ê²Ã´Î»ÖÃ
2.λÖöÔÁË£¬¸ÃÈçºÎÅäÖÃ
Äã˵·Åµ½libÀïÃæûÓÐÉúЧ£¬ÄãµÄÅäÖÃÎļþÐÞ¸ÄÁËÂð£¿
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

hyj ·¢±íÓÚ 2014-7-24 03:27:05
shadowhtx ·¢±íÓÚ 2014-7-23 21:09
ÎÒÓÃCDH°²×°µÄ°¡£¬ÅäÖÃÎļþÖ®À඼ÊÇCDH×Ô¶¯Íê³É£¬agentÒ²ÊÇÔÚCMÉÏÅäÖã¬ËùÒÔÎÒ²»ÖªµÀÔõôÓõÚÈý·½²å¼þ£¬ ...
ÌṩÏÂÄãµÄ°²×°Îĵµ£¬Èç¹ûÊÇflumeÄã»á¿ª·¢µÄ£¬cdhµÄÒ²ÊÇÒ»Ñù£¬Ö»²»¹ýcdh×öÁËһϷâ×°£¬Ô­Àí¶¼ÊÇÒ»ÑùµÄ¡£
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

sstutu ·¢±íÓÚ 2014-7-24 03:40:25

ÖÁÓÚ·ÅÔÚʲôλÖã¬Äã¿ÉÒÔ×Ô¼ºÕÒÕÒ¡£±ÈÈçhdfs¡¢hbaseµÄ²å¼þ·Åµ½Ê²Ã´Î»ÖÃÁË£¬ÅäÖÃÎļþʹÓõÄÊÇÄǸöÀà¡£
È»ºó¿ª·¢£¬Äã¾Í²Î¿¼Õâ¸öFlume 1.5.0 Developer Guide¹ÙÍøÎĵµ¡£

»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

shadowhtx ·¢±íÓÚ 2014-7-24 13:56:46
лл¸÷λµÄ½â´ð£¬ÒѾ­ÕÒµ½´ð°¸£¬ÐèÒª¸ù¾ÝCMµÄÅäÖ÷¾¶£¬ÔÚflumeÒ³ÃæϵĽø³ÌÑ¡ÏîÀï¿ÉÒÔÕÒµ½»·¾³±äÁ¿¡£
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

zhanggl ·¢±íÓÚ 2016-1-11 11:03:18
Â¥Ö÷ÄãºÃ£¬ÎÒÒ²Óöµ½¸úÄãÀàËƵÄÎÊÌ⣬ÔÚcm ÏÂÅäÖÃflume¡£ÈÕÖ¾Ìáʾ³É¹¦£¬µ«ÊÇhdfs ÉϾÍÊÇûÓÐÊý¾Ý
ÅäÖÃÎļþÈçÏÂ
[mw_shl_code=java,true]# Define a memory channel called ch1 on agent1
agent1.channels.ch1.type = memory
agent1.channels.ch1.capacity = 100000
agent1.channels.ch1.transactionCapacity = 100000
agent1.channels.ch1.keep-alive = 30

# Define an Avro source called avro-source1 on agent1 and tell it
# to bind to 0.0.0.0:41414. Connect it to channel ch1.
#agent1.sources.avro-source1.channels = ch1
#agent1.sources.avro-source1.type = avro
#agent1.sources.avro-source1.bind = 0.0.0.0
#agent1.sources.avro-source1.port = 41414
#agent1.sources.avro-source1.threads = 5

#define source monitor a file
agent1.sources.avro-source1.type = exec
agent1.sources.avro-source1.shell = /bin/bash -c
agent1.sources.avro-source1.command = tail -n +0 -F node13:/home/d12
agent1.sources.avro-source1.channels = ch1
agent1.sources.avro-source1.threads = 5

# Define a logger sink that simply logs all events it receives
# and connect it to the other end of the same channel.
agent1.sinks.log-sink1.channel = ch1
agent1.sinks.log-sink1.type = hdfs
agent1.sinks.log-sink1.hdfs.path = hdfs://node12:8020/flume
agent1.sinks.log-sink1.hdfs.writeFormat = Text
agent1.sinks.log-sink1.hdfs.fileType = DataStream
agent1.sinks.log-sink1.hdfs.rollInterval = 0
agent1.sinks.log-sink1.hdfs.rollSize = 1000000
agent1.sinks.log-sink1.hdfs.rollCount = 0
agent1.sinks.log-sink1.hdfs.batchSize = 1000
agent1.sinks.log-sink1.hdfs.txnEventMax = 1000
agent1.sinks.log-sink1.hdfs.callTimeout = 60000
agent1.sinks.log-sink1.hdfs.appendTimeout = 60000

# Finally, now that we've defined all of our components, tell
# agent1 which ones we want to activate.
agent1.channels = ch1
agent1.sources = avro-source1
agent1.sinks = log-sink1[/mw_shl_code]
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

sundays98 ·¢±íÓÚ 2018-3-2 15:41:05
shadowhtx ·¢±íÓÚ 2014-7-24 13:56
лл¸÷λµÄ½â´ð£¬ÒѾ­ÕÒµ½´ð°¸£¬ÐèÒª¸ù¾ÝCMµÄÅäÖ÷¾¶£¬ÔÚflumeÒ³ÃæϵĽø³ÌÑ¡ÏîÀï¿ÉÒÔÕÒµ½»·¾³±äÁ¿¡£

ÇëÎÊÄú×îÖÕÊÇÔõô½â¾öµÄ£¿ÄÜ˵µÄÉÔ΢ÏêϸһµãÂð
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

ÄúÐèÒªµÇ¼ºó²Å¿ÉÒÔ»ØÌû µÇ¼ | Á¢¼´×¢²á

±¾°æ»ý·Ö¹æÔò

¹Ø±Õ

ÍƼöÉÏÒ»Ìõ /2 ÏÂÒ»Ìõ