You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by zaenal rifai <to...@gmail.com> on 2016/01/12 09:48:03 UTC
log4j:WARN
hai i have some problem when running flume
the error is
+ exec /usr/bin/java -Xmx1024m -cp
'/opt/service/conf:/data/apache-flume-1.5.2-bin/lib/*' -Djava.library.path=
org.apache.flume.node.Application --conf-file
/data/apache-flume-1.5.2-bin/conf/top-agent-mobile1.conf --name httpagent-m1
log4j:WARN No appenders could be found for logger
(org.apache.flume.lifecycle.LifecycleSupervisor).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
i'm running flume with command
/data/apache-flume-1.5.2-bin/bin/flume-ng agent -n httpagent-m1 -c conf -f
/data/apache-flume-1.5.2-bin/conf/top-agent-mobile1.conf --name
httpagent-m1
any suggest what i must suppose to do ?
Re: log4j:WARN
Posted by Gonzalo Herreros <gh...@gmail.com>.
It's a warning that it's not finding the log4j configuration file, the real
problem is that probably is not finding any of the other configuration
files but you don't see the errors.
I think the issue might be with "-c conf", I kinda remember is relative to
the bin directory like this "../conf"; if you put the absolute path it
should work.
Regards,
Gonzalo
On 12 January 2016 at 08:48, zaenal rifai <to...@gmail.com> wrote:
> hai i have some problem when running flume
>
> the error is
>
> + exec /usr/bin/java -Xmx1024m -cp
> '/opt/service/conf:/data/apache-flume-1.5.2-bin/lib/*' -Djava.library.path=
> org.apache.flume.node.Application --conf-file
> /data/apache-flume-1.5.2-bin/conf/top-agent-mobile1.conf --name httpagent-m1
> log4j:WARN No appenders could be found for logger
> (org.apache.flume.lifecycle.LifecycleSupervisor).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.
>
> i'm running flume with command
>
> /data/apache-flume-1.5.2-bin/bin/flume-ng agent -n httpagent-m1 -c conf -f
> /data/apache-flume-1.5.2-bin/conf/top-agent-mobile1.conf --name
> httpagent-m1
>
>
> any suggest what i must suppose to do ?
>
>