Rick, This error message isn't indicating that there's no Connection for the Relationship, but rather than the FlowFile was never transferred. I.e., there was never a call to session.transfer() for that FlowFile. Thanks-Mark
> From: rbra...@softnas.com > To: dev@nifi.apache.org > Subject: RE: Transfer relationship not specified (FlowFileHandlingException) > Date: Fri, 11 Sep 2015 23:25:33 +0000 > > Some more details: > > 2015-09-11 18:23:23,743 ERROR [Timer-Driven Process Thread-3] > c.s.c.processors.files.GetFileData > GetFileData[id=8f5e644d-591c-4df1-8c79-feea118bd8c0] Failed to process > session due to org.apache.nifi.processor.exception.FlowFileHandlingException: > StandardFlowFileRecord[uuid=58429f42-cd3c-481a-83ea-86d058de3515,claim=org.apache.nifi.controller.repository.claim.StandardContentClaim@fe1ea005,offset=0,name=printargs.c,size=190] > is not known in this session (StandardProcessSession[id=6967]): > org.apache.nifi.processor.exception.FlowFileHandlingException: > StandardFlowFileRecord[uuid=58429f42-cd3c-481a-83ea-86d058de3515,claim=org.apache.nifi.controller.repository.claim.StandardContentClaim@fe1ea005,offset=0,name=printargs.c,size=190] > is not known in this session (StandardProcessSession[id=6967]) > 2015-09-11 18:23:23,744 INFO [Timer-Driven Process Thread-3] > c.s.c.processors.files.GetFileData > GetFileData[id=8f5e644d-591c-4df1-8c79-feea118bd8c0] added > StandardFlowFileRecord[uuid=a9e8b8e6-1f27-4fbd-b7c4-7bf4be9ec444,claim=org.apache.nifi.controller.repository.claim.StandardContentClaim@ff0cad6b,offset=0,name=anImage.png,size=16418] > to flow > 2015-09-11 18:23:23,744 INFO [Timer-Driven Process Thread-3] > c.s.c.processors.files.GetFileData > GetFileData[id=8f5e644d-591c-4df1-8c79-feea118bd8c0] added > StandardFlowFileRecord[uuid=a324aaff-a340-499d-9904-2421b2bfc4a8,claim=,offset=0,name=in,size=0] > to flow > ... > > So it seems there's some issue with each of the FlowFiles... > > -----Original Message----- > From: Rick Braddy [mailto:rbra...@softnas.com] > Sent: Friday, September 11, 2015 6:00 PM > To: dev@nifi.apache.org > Subject: Transfer relationship not specified (FlowFileHandlingException) > > Hi, > > I have a processor that appears to be creating FlowFiles correctly (modified > a standard processor), but when it goes to commit() the session, an exception > is raised: > > 2015-09-11 17:37:24,690 ERROR [Timer-Driven Process Thread-6] > c.s.c.processors.files.GetFileData > [GetFileData[id=8f5e644d-591c-4df1-8c79-feea118bd8c0]] Failed to retrieve > files due to {} > org.apache.nifi.processor.exception.FlowFileHandlingException: > StandardFlowFileRecord[uuid=7ec0f931-6fdb-4adb-829d-80d564bd3d31,claim=org.apache.nifi.controller.repository.claim.StandardContentClaim@93964c66,offset=244,name=225120878343804,size=42] > transfer relationship not specified > > I'm assuming this is supposed to be indicating there's no connection > available to commit the transfer; however, there is a "success" relationship > registered during init() in same way as original processor did it, and the > success relationship out is connected to another processor input as it should > be. > > Any suggestions for troubleshooting? > > Rick > >