You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by lulynn_2008 <lu...@163.com> on 2012/08/22 11:11:19 UTC

issue in flume-0.94 when write data to hdfs: WARN conf.FlumeBuilder: Deprecated syntax: Expected a format spec but instead had a (String) avrojson

Hello all,


I am trying to save data into hdfs by collector. But the data is not written into hdfs and I got following information. From http://mail-archives.apache.org/mod_mbox/incubator-flume-user/201109.mbox/%3CCAH2V9sUfk9n2MU_UQABHQhWBP4mVk5g314VqcYc+zP+dzc_S7g@mail.gmail.com%3E, seems this is an known issue of flume-0.9.4. Is there any fix for this. Thanks.


configuration in page:
|
| 2 | SUCCEEDED | config [hostname1, tail( "/home/ff/verify.text", false ), agentSink( "hostname2", 35853 ) ] | |
| 3 | SUCCEEDED | config [collector-1, collectorSource, collectorSink( "hdfs://hostname2:9000/flume", "agent-testing" )] |


I start collector-1 and flume hostname1 agent with following command:
./flume node_nowatch -n collector-1
[ff@hostname1 bin]$ ./flume node_nowatch


Got following information from collector-1:
WARN conf.FlumeBuilder: Deprecated syntax: Expected a format spec but instead had a (String) avrojson
WARN conf.FlumeBuilder: Deprecated syntax: Expected a format spec but instead had a (String) avrojson
WARN conf.FlumeBuilder: Deprecated syntax: Expected a format spec but instead had a (String) avrojson


Thanks