You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by kishore alajangi <al...@gmail.com> on 2014/06/19 09:43:32 UTC

flume starting through service

The flume is writing to hdfs when I start flume manually through config
file like

flume-ng agent -c /etc/flume-ng/conf -f /etc/flume-ng/conf/flume.conf -n
<agentname>

but not start by

service flume-ng-agent start

what could be the reason, the docs says we can start flume either 1st or
second method, why it is not working from the second method, please
explain..
-- 
Thanks,
Kishore.

Re: flume starting through service

Posted by Mike Percy <mp...@apache.org>.
Check the log which is at /var/log/flume-ng/flume.log

Mike

Sent from my iPhone

> On Jun 24, 2014, at 11:36 PM, kishore alajangi <al...@gmail.com> wrote:
> 
> No error, my view is when i start #service flume-ng-agent it will work as same as flume-ng agent -c /etc/flume-ng/conf -f /etc/flume-ng/conf/flume.conf -n agent. but no result in the output.
> 
> 
>> On Wed, Jun 25, 2014 at 10:27 AM, Mike Percy <mp...@apache.org> wrote:
>> Ok so what's the error?
>> 
>> Mike
>> 
>> Sent from my iPhone
>> 
>>> On Jun 24, 2014, at 10:44 PM, kishore alajangi <al...@gmail.com> wrote:
>>> 
>>> Flume 1.4.0-cdh4.5.0
>>> 
>>> 
>>>> On Wed, Jun 25, 2014 at 7:12 AM, Mike Percy <mp...@apache.org> wrote:
>>>> Can you please provide details on the errors you are seeing? What version of Flume?
>>>> 
>>>> 
>>>>> On Thu, Jun 19, 2014 at 12:43 AM, kishore alajangi <al...@gmail.com> wrote:
>>>>> 
>>>>> The flume is writing to hdfs when I start flume manually through config file like
>>>>> 
>>>>> flume-ng agent -c /etc/flume-ng/conf -f /etc/flume-ng/conf/flume.conf -n <agentname>
>>>>> 
>>>>> but not start by
>>>>> 
>>>>> service flume-ng-agent start
>>>>> 
>>>>> what could be the reason, the docs says we can start flume either 1st or second method, why it is not working from the second method, please explain..
>>>>> -- 
>>>>> Thanks,
>>>>> Kishore.
>>> 
>>> 
>>> 
>>> -- 
>>> Thanks,
>>> Kishore.
> 
> 
> 
> -- 
> Thanks,
> Kishore.

Re: flume starting through service

Posted by kishore alajangi <al...@gmail.com>.
No error, my view is when i start #service flume-ng-agent it will work as
same as flume-ng agent -c /etc/flume-ng/conf -f
/etc/flume-ng/conf/flume.conf -n agent. but no result in the output.


On Wed, Jun 25, 2014 at 10:27 AM, Mike Percy <mp...@apache.org> wrote:

> Ok so what's the error?
>
> Mike
>
> Sent from my iPhone
>
> On Jun 24, 2014, at 10:44 PM, kishore alajangi <al...@gmail.com>
> wrote:
>
> Flume 1.4.0-cdh4.5.0
>
>
> On Wed, Jun 25, 2014 at 7:12 AM, Mike Percy <mp...@apache.org> wrote:
>
>> Can you please provide details on the errors you are seeing? What version
>> of Flume?
>>
>>
>> On Thu, Jun 19, 2014 at 12:43 AM, kishore alajangi <
>> alajangikishore@gmail.com> wrote:
>>
>>>
>>> The flume is writing to hdfs when I start flume manually through config
>>> file like
>>>
>>> flume-ng agent -c /etc/flume-ng/conf -f /etc/flume-ng/conf/flume.conf -n
>>> <agentname>
>>>
>>> but not start by
>>>
>>> service flume-ng-agent start
>>>
>>> what could be the reason, the docs says we can start flume either 1st or
>>> second method, why it is not working from the second method, please
>>> explain..
>>> --
>>> Thanks,
>>> Kishore.
>>>
>>
>>
>
>
> --
> Thanks,
> Kishore.
>
>


-- 
Thanks,
Kishore.

Re: flume starting through service

Posted by Mike Percy <mp...@apache.org>.
Ok so what's the error?

Mike

Sent from my iPhone

> On Jun 24, 2014, at 10:44 PM, kishore alajangi <al...@gmail.com> wrote:
> 
> Flume 1.4.0-cdh4.5.0
> 
> 
>> On Wed, Jun 25, 2014 at 7:12 AM, Mike Percy <mp...@apache.org> wrote:
>> Can you please provide details on the errors you are seeing? What version of Flume?
>> 
>> 
>>> On Thu, Jun 19, 2014 at 12:43 AM, kishore alajangi <al...@gmail.com> wrote:
>>> 
>>> The flume is writing to hdfs when I start flume manually through config file like
>>> 
>>> flume-ng agent -c /etc/flume-ng/conf -f /etc/flume-ng/conf/flume.conf -n <agentname>
>>> 
>>> but not start by
>>> 
>>> service flume-ng-agent start
>>> 
>>> what could be the reason, the docs says we can start flume either 1st or second method, why it is not working from the second method, please explain..
>>> -- 
>>> Thanks,
>>> Kishore.
> 
> 
> 
> -- 
> Thanks,
> Kishore.

Re: flume starting through service

Posted by kishore alajangi <al...@gmail.com>.
Flume 1.4.0-cdh4.5.0


On Wed, Jun 25, 2014 at 7:12 AM, Mike Percy <mp...@apache.org> wrote:

> Can you please provide details on the errors you are seeing? What version
> of Flume?
>
>
> On Thu, Jun 19, 2014 at 12:43 AM, kishore alajangi <
> alajangikishore@gmail.com> wrote:
>
>>
>> The flume is writing to hdfs when I start flume manually through config
>> file like
>>
>> flume-ng agent -c /etc/flume-ng/conf -f /etc/flume-ng/conf/flume.conf -n
>> <agentname>
>>
>> but not start by
>>
>> service flume-ng-agent start
>>
>> what could be the reason, the docs says we can start flume either 1st or
>> second method, why it is not working from the second method, please
>> explain..
>> --
>> Thanks,
>> Kishore.
>>
>
>


-- 
Thanks,
Kishore.

Re: flume starting through service

Posted by Mike Percy <mp...@apache.org>.
Can you please provide details on the errors you are seeing? What version
of Flume?


On Thu, Jun 19, 2014 at 12:43 AM, kishore alajangi <
alajangikishore@gmail.com> wrote:

>
> The flume is writing to hdfs when I start flume manually through config
> file like
>
> flume-ng agent -c /etc/flume-ng/conf -f /etc/flume-ng/conf/flume.conf -n
> <agentname>
>
> but not start by
>
> service flume-ng-agent start
>
> what could be the reason, the docs says we can start flume either 1st or
> second method, why it is not working from the second method, please
> explain..
> --
> Thanks,
> Kishore.
>