nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gard Skauge <g...@cloudexplorers.com>
Subject Unable to read Record Schema from stream
Date Sat, 04 Feb 2017 10:20:32 GMT
Hi,

We have a Nifi 1.1 cluster, and one of the nodes that has previously been working fine, is
now refusing to start, throwing this exception:


2017-02-03 16:04:48,588 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.io.IOExcept
ion: Unable to read Record Schema from stream
org.apache.nifi.cluster.ConnectionException: Failed to connect node to cluster due to: java.io.IOException:
Unable to read Record Schema from stream
        at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:901)
~[nifi-framework-core-1.1.0.jar:1.1.0]
        at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:493)
~[nifi-framework-core-1.1.0.jar:1.1.0]
        at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:770) [nifi-jetty-1.1.0.jar:1.1.0]
        at org.apache.nifi.NiFi.<init>(NiFi.java:156) [nifi-runtime-1.1.0.jar:1.1.0]
        at org.apache.nifi.NiFi.main(NiFi.java:262) [nifi-runtime-1.1.0.jar:1.1.0]
Caused by: java.io.IOException: Unable to read Record Schema from stream
        at org.apache.nifi.repository.schema.RecordSchema.readFrom(RecordSchema.java:117)
~[nifi-schema-utils-1.1.0.jar:1.1.0]
        at org.apache.nifi.controller.repository.SchemaRepositoryRecordSerde.readHeader(SchemaRepositoryRecordSerde.java:100)
~[nifi-framework-core-1.1.0.jar:1.1.0]
        at org.wali.MinimalLockingWriteAheadLog$Partition.getRecoveryStream(MinimalLockingWriteAheadLog.java:1005)
~[nifi-write-ahead-log-1.1.0.jar:1.1.0]
        at org.wali.MinimalLockingWriteAheadLog$Partition.getNextRecoverableTransactionId(MinimalLockingWriteAheadLog.java:1016)
~[nifi-write-ahead-log-1.1.0.jar:1.1.0]
        at org.wali.MinimalLockingWriteAheadLog.recoverFromEdits(MinimalLockingWriteAheadLog.java:430)
~[nifi-write-ahead-log-1.1.0.jar:1.1.0]
        at org.wali.MinimalLockingWriteAheadLog.recoverRecords(MinimalLockingWriteAheadLog.java:301)
~[nifi-write-ahead-log-1.1.0.jar:1.1.0]
        at org.apache.nifi.controller.repository.WriteAheadFlowFileRepository.loadFlowFiles(WriteAheadFlowFileRepository.java:346)
~[nifi-framework-core-1.1.0.jar:1.1.0]
        at org.apache.nifi.controller.FlowController.initializeFlow(FlowController.java:700)
~[nifi-framework-core-1.1.0.jar:1.1.0]
        at org.apache.nifi.controller.StandardFlowService.loadFromBytes(StandardFlowService.java:701)
~[nifi-framework-core-1.1.0.jar:1.1.0]
        at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:872)
~[nifi-framework-core-1.1.0.jar:1.1.0]
        ... 4 common frames omitted
Caused by: java.io.EOFException: null
        at java.io.DataInputStream.readFully(DataInputStream.java:197) ~[na:1.8.0_111]
        at java.io.DataInputStream.readUTF(DataInputStream.java:609) ~[na:1.8.0_111]
        at java.io.DataInputStream.readUTF(DataInputStream.java:564) ~[na:1.8.0_111]
        at org.apache.nifi.repository.schema.RecordSchema.readField(RecordSchema.java:126)
~[nifi-schema-utils-1.1.0.jar:1.1.0]
        at org.apache.nifi.repository.schema.RecordSchema.readField(RecordSchema.java:144)
~[nifi-schema-utils-1.1.0.jar:1.1.0]
        at org.apache.nifi.repository.schema.RecordSchema.readField(RecordSchema.java:144)
~[nifi-schema-utils-1.1.0.jar:1.1.0]
        at org.apache.nifi.repository.schema.RecordSchema.readFrom(RecordSchema.java:111)
~[nifi-schema-utils-1.1.0.jar:1.1.0]
        ... 13 common frames omitted



Not sure what is happening here?



Thanks,
Gard Skauge


Mime
View raw message