nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Clarke <matt.clarke....@gmail.com>
Subject Re: ListenHTTP processor
Date Wed, 20 Jan 2016 08:26:00 GMT
NiFi only needs to be running as root if you are trying to use ports 1024
or below. Ports above 1024 do not require privileged access on Linux. Try
using port 8081 instead for your listenHTTP processor. This will allow you
to run your NiFi as a non root user.
On Jan 20, 2016 1:23 AM, "sudeep mishra" <sudeepshekharm@gmail.com> wrote:

> Thanks Joe.
>
> One doubt though... maybe some Linux changes required but do I have to run
> NiFi as root user only to make use of ListenHTTP processor?
>
> On Tue, Jan 19, 2016 at 7:06 PM, Joe Witt <joe.witt@gmail.com> wrote:
>
>> Hello
>>
>> Sounds like you're on track now.  Just wanted to correct one comment made
>>
>>   ListenHTTP by default does not set an input port and instead it is a
>> required input.
>>
>> Thanks
>> Joe
>>
>> On Tue, Jan 19, 2016 at 7:49 AM, sudeep mishra <sudeepshekharm@gmail.com>
>> wrote:
>> > Listening on port 81 on Linux RHEL 6.5
>> >
>> > On Tue, Jan 19, 2016 at 6:04 PM, <ledor473@gmail.com> wrote:
>> >>
>> >> Hi Sudeep,
>> >>
>> >> On which port are you listening ?
>> >> Also which OS are you using ?
>> >>
>> >> Best regards,
>> >> Louis-Etienne
>> >>
>> >> > On Jan 19, 2016, at 2:11 AM, sudeep mishra <sudeepshekharm@gmail.com
>> >
>> >> > wrote:
>> >> >
>> >> > Hi,
>> >> >
>> >> > I am getting an error as 'failed to invoke @OnSchedule method due to
>> >> > java.net.SocketException:Permission denied' when using 'ListenHTTP
>> >> > processor'.
>> >> >
>> >> > Please suggest how to resolve the issue.
>> >> >
>> >> > Thanks & Regards,
>> >> >
>> >> > Sudeep Shekhar Mishra
>> >> >
>> >
>> >
>> >
>> >
>> > --
>> > Thanks & Regards,
>> >
>> > Sudeep Shekhar Mishra
>> >
>> >
>>
>
>
>
> --
> Thanks & Regards,
>
> Sudeep Shekhar Mishra
>
>
>

Mime
View raw message