[
https://issues.apache.org/jira/browse/NIFI-4208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16127447#comment-16127447
]
ASF subversion and git services commented on NIFI-4208:
-------------------------------------------------------
Commit abca9d1464fe0d6a5deefb28260465a310a97bd4 in nifi's branch
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=abca9d1 ]
NIFI-4208: Fixed bug in SchemaRepositoryRecordSerde that would return null from
deserializeEdit if there was no data; the interface documents that null cannot
be returned from this method, as it is called only when data is expected to
exist. As a result, if there is no data, we should throw EOFException instead,
and the write-ahead log will handle that appropriately.
This closes #2086.
Signed-off-by: Andy LoPresto <[email protected]>
> Node failed to join cluster due to NullPointerException
> -------------------------------------------------------
>
> Key: NIFI-4208
> URL: https://issues.apache.org/jira/browse/NIFI-4208
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Critical
> Fix For: 1.4.0
>
>
> A clustered node ran out of disk space. Upon restart, I came across the
> following error:
> 2017-07-20 09:03:00,988 ERROR [main] o.a.nifi.controller.StandardFlowService
> Failed to load flow from cluster due to:
> org.apache.nifi.cluster.ConnectionException: Failed to connect node to
> cluster due to: java.lang.NullPointerException
> org.apache.nifi.cluster.ConnectionException: Failed to connect node to
> cluster due to: java.lang.NullPointerException
> at
> org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:945)
> at
> org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:515)
> at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:800)
> at org.apache.nifi.NiFi.<init>(NiFi.java:160)
> at org.apache.nifi.NiFi.main(NiFi.java:267)
> Caused by: java.lang.NullPointerException: null
> at
> org.apache.nifi.controller.repository.RepositoryRecordSerde.getRecordIdentifier(RepositoryRecordSerde.java:43)
> at
> org.apache.nifi.controller.repository.RepositoryRecordSerde.getRecordIdentifier(RepositoryRecordSerde.java:26)
> at
> org.wali.MinimalLockingWriteAheadLog$Partition.recoverNextTransaction(MinimalLockingWriteAheadLog.java:1132)
> at
> org.wali.MinimalLockingWriteAheadLog.recoverFromEdits(MinimalLockingWriteAheadLog.java:459)
> at
> org.wali.MinimalLockingWriteAheadLog.recoverRecords(MinimalLockingWriteAheadLog.java:301)
> at
> org.apache.nifi.controller.repository.WriteAheadFlowFileRepository.loadFlowFiles(WriteAheadFlowFileRepository.java:381)
> at
> org.apache.nifi.controller.FlowController.initializeFlow(FlowController.java:713)
> at
> org.apache.nifi.controller.StandardFlowService.initializeController(StandardFlowService.java:955)
> at
> org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:927)
> ... 4 common frames omitted
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)