Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDF 3.4.1 NIFI 1.9 :handlehttp request processor BUG - hitting nifi bug with jetty NIFI-5522

HDF 3.4.1 NIFI 1.9 :handlehttp request processor BUG - hitting nifi bug with jetty NIFI-5522

Contributor

HDF 3.4.1 NIFI 1.9 :handlehttp request processor BUG - hitting nifi bug with jetty NIFI-5522

 

we are hitting the bug NIFI-5522 with HDF 3.4.1 nifi 1.9

the resolution provided as per the JIRA is to upgrade jetty
https://issues.apache.org/jira/browse/NIFI-5479


as of now, we are following workaround for this when it happens is changing the port it listens to or restarting NiFi service


quick question, as we are on HDF 3.4.1 nifi 1.9, do you recommend to upgrade jetty from the latest versions 1.10 or 1.11 by copying the nars to 1.9 ?

 

 

@Matt 

@Timothy 

2 REPLIES 2
Highlighted

Re: HDF 3.4.1 NIFI 1.9 :handlehttp request processor BUG - hitting nifi bug with jetty NIFI-5522

Contributor

exact same error with 1.9. enabled debugging and below is the log 

 

https://issues.apache.org/jira/browse/NIFI-5522

 

 

 

2020-06-01 21:23:15,185 DEBUG [NiFi Web Server-466504] o.e.jetty.server.handler.ContextHandler scope null||/nifi-api/processors/bdac38da-b5cf-1e57-9f5e-ef744cf5204f/run-status @ o.e.j.w.WebAppContext@275bf9b3{nifi-docs,/nifi-docs,file:///grid/var/lib/nifi/work/jetty/nifi-web-docs-1.9.0.3.4.1.1-4.war/webapp/,AVAILABLE}{/grid/var/lib/nifi/work/nar/framework/nifi-framework-nar-1.9.0.3.4.1.1-4.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-docs-1.9.0.3.4.1.1-4.war}
2020-06-01 21:23:15,185 DEBUG [NiFi Web Server-466504] o.e.jetty.server.handler.ContextHandler scope null||/nifi-api/processors/bdac38da-b5cf-1e57-9f5e-ef744cf5204f/run-status @ o.e.j.w.WebAppContext@27adc16e{nifi-error,/,file:///grid/var/lib/nifi/work/jetty/nifi-web-error-1.9.0.3.4.1.1-4.war/webapp/,AVAILABLE}{/grid/var/lib/nifi/work/nar/framework/nifi-framework-nar-1.9.0.3.4.1.1-4.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.9.0.3.4.1.1-4.war}
2020-06-01 21:23:15,185 DEBUG [NiFi Web Server-466504] org.eclipse.jetty.server.Server handled=true async=false committed=true on HttpChannelOverHttp@4700a37d{r=30,c=true,a=DISPATCHED,uri=https://abc.com:9091/nifi-api/processors/bdac38da-b5cf-1e57-9f5e-ef744cf5204f/run-status,age=546}
2020-06-01 21:23:15,185 DEBUG [NiFi Web Server-466504] org.eclipse.jetty.server.HttpChannel HttpChannelOverHttp@4700a37d{r=30,c=true,a=COMPLETING,uri=https://abc.com:9091/nifi-api/processors/bdac38da-b5cf-1e57-9f5e-ef744cf5204f/run-status,age=546} action COMPLETE
2020-06-01 21:23:15,185 DEBUG [NiFi Web Server-466504] org.eclipse.jetty.server.HttpChannel COMPLETE for /nifi-api/processors/bdac38da-b5cf-1e57-9f5e-ef744cf5204f/run-status written=2861
Value: 'HandleHttpRequest[id=bdac38da-b5cf-1e57-9f5e-ef744cf5204f] Failed to process session due to Failed to initialize the server: org.apache.nifi.processor.exception.ProcessException: Failed to initialize the server'
Value: 'bdac38da-b5cf-1e57-9f5e-ef744cf5204f'
Value: 'HandleHttpRequest[id=bdac38da-b5cf-1e57-9f5e-ef744cf5204f] Failed to process session due to Failed to initialize the server: org.apache.nifi.processor.exception.ProcessException: Failed to initialize the server'
Value: 'bdac38da-b5cf-1e57-9f5e-ef744cf5204f'
Value: 'HandleHttpRequest[id=bdac38da-b5cf-1e57-9f5e-ef744cf5204f] Failed to process session due to Failed to initialize the server: org.apache.nifi.processor.exception.ProcessException: Failed to initialize the server'
Value: 'bdac38da-b5cf-1e57-9f5e-ef744cf5204f'
Value: 'HandleHttpRequest[id=bdac38da-b5cf-1e57-9f5e-ef744cf5204f] Failed to process session due to Failed to initialize the server: org.apache.nifi.processor.exception.ProcessException: Failed to initialize the server'
Value: 'bdac38da-b5cf-1e57-9f5e-ef744cf5204f'
Value: 'HandleHttpRequest[id=bdac38da-b5cf-1e57-9f5e-ef744cf5204f] Failed to process session due to Failed to initialize the server: org.apache.nifi.processor.exception.ProcessException: Failed to initialize the server'
Value: 'bdac38da-b5cf-1e57-9f5e-ef744cf5204f'

 

Highlighted

Re: HDF 3.4.1 NIFI 1.9 :handlehttp request processor BUG - hitting nifi bug with jetty NIFI-5522

Contributor

nifi-app.log:2020-06-01 21:46:41,079 WARN [Timer-Driven Process Thread-47] o.e.j.util.component.AbstractLifeCycle FAILED ServerConnector@1b1f0574{HTTP/1.1,[http/1.1]}{0.0.0.0:5151}: java.net.BindException: Address already in use
nifi-app.log:java.net.BindException: Address already in use

 

 

i see this error from other nodes in the cluster. unless i update the processor to new port, we can run the flows 

Don't have an account?
Coming from Hortonworks? Activate your account here