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

Ke-Yi Sung reassigned HDDS-5240:
--------------------------------

    Assignee: Ke-Yi Sung

> 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: Improvement
>            Reporter: wangzhaohui
>            Assignee: Ke-Yi Sung
>            Priority: Major
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to