Hello Hari:
     Thanks for your question.But,I am using jdbc channel also use the file 
channel.File channel has a problem when there is more than one source to the 
file channel transmission the filechannel the Datadir accumulation of a large 
number of files, the the hdfs sink can not quickly deal with these files, it 
will cause a file lock is lost, so that can not continue, eventually leading to 
the entire flume cluster comprehensive stop.In order to better monitor, I 
therefore joined jdbc channel, how the number of event mangodb statistics can 
prevent data loss.
     So I want to get a good configuration for jdbc channel.
 My Name:
 Yanzhi Liu

  
  

 

 ------------------ 原始邮件 ------------------
  发件人: "Hari Shreedharan"<[email protected]>;
 发送时间: 2012年9月29日(星期六) 中午1:32
 收件人: "user"<[email protected]>; 
 
 主题: Re: About jdbc channel

 

 Is there any specific reason that you are using jdbc channel? I would 
recommend using the FileChannel. The File Channel is what we would currently 
recommend for use as a durable channel. We have improved the channel a lot in 
the recent weeks. To take advantage of the latest features added to the 
channel, you can build it and drop in the new jars, or wait for the next 
release, which should happen soon. 
 

 Thanks,
 Hari
  

 -- 
 Hari Shreedharan
 


 
On Friday, September 28, 2012 at 9:04 PM, Yanzhi.liu wrote:
        Hello:
     I am using the mongodb database.My flume source is custom directory source.
     I am configuration with jdbc channel,but the flume.log was :
 2012-09-28 20:56:49,468 INFO lifecycle.LifecycleSupervisor: Stopping 
component: org.apache.flume.channel.jdbc.JdbcChannel@1690ab
2012-09-28 20:56:49,612 INFO impl.JdbcChannelProviderImpl: Embedded Derby 
shutdown raised SQL STATE 45000 as expected.
2012-09-28 20:56:49,613 INFO properties.PropertiesFileConfigurationProvider: 
Creating channels
2012-09-28 20:56:49,613 WARN impl.JdbcChannelProviderImpl: No connection URL 
specified. Using embedded derby database instance.
2012-09-28 20:56:49,613 WARN impl.JdbcChannelProviderImpl: Overriding values 
for - driver: org.apache.derby.jdbc.EmbeddedDriver, user: saconnectUrl: 
jdbc:derby:/home/flume/.flume/jdbc-channel/db;create=true, jdbc properties 
file: null, dbtype: DERBY
I want to know how to configuration that the jdbc channel will be run.
 Thanks very much!
 My Name:
 Yanzhi Liu

Reply via email to