[ 
https://issues.apache.org/jira/browse/HDDS-5240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wangzhaohui updated HDDS-5240:
------------------------------
    Issue Type: Bug  (was: Improvement)

> Fix out of bound exception when auditparser load
> ------------------------------------------------
>
>                 Key: HDDS-5240
>                 URL: https://issues.apache.org/jira/browse/HDDS-5240
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: wangzhaohui
>            Assignee: wangzhaohui
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2021-05-18-10-37-41-770.png
>
>
> {code:java}
> ozone auditparser ~/audit.db load /logs/om-audit.log{code}
> The command throw out of bound exception:
> Index 6 out of bounds for length 6.
> The audit log like this
> !image-2021-05-18-10-37-41-770.png!
> There is "\n" after "partNumber: 1" and "partName***"
> so, bReader.readLine() only read before the first "\n"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to