You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ke-Yi Sung (Jira)" <ji...@apache.org> on 2021/05/18 05:33:00 UTC

[jira] [Assigned] (HDDS-5240) Fix out of bound exception when auditparser load

     [ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org