[
https://issues.apache.org/jira/browse/ACCUMULO-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570317#comment-13570317
]
Eric Newton commented on ACCUMULO-1032:
---------------------------------------
Reading the magic in the new format might be broken. It does not protect
against some crazy initial value from the old log file format, which might
cause it to read the entire file as a single UTF string.
> encryption changes break diagnostic LogReader
> ---------------------------------------------
>
> Key: ACCUMULO-1032
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1032
> Project: Accumulo
> Issue Type: Bug
> Components: tserver
> Reporter: Eric Newton
> Assignee: Eric Newton
> Priority: Critical
> Fix For: 1.5.0
>
>
> Trying to debug a continuous ingest test:
> {noformat}
> $ ./bin/accumulo org.apache.accumulo.server.logger.LogReader
> /accumulo/wal/some/filename
> ava.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.accumulo.start.Main$1.run(Main.java:97)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.UTFDataFormatException: malformed input around byte 542
> at java.io.DataInputStream.readUTF(DataInputStream.java:617)
> at java.io.DataInputStream.readUTF(DataInputStream.java:547)
> at
> org.apache.accumulo.server.logger.LogFileKey.readFields(LogFileKey.java:51)
> at org.apache.accumulo.server.logger.LogReader.main(LogReader.java:105)
> ... 6 more
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira