You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Dinesh Chitlangia (Jira)" <ji...@apache.org> on 2021/06/02 03:17:00 UTC

[jira] [Updated] (HDDS-5240) Fix out of bound exception when loading auditparser

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

Dinesh Chitlangia updated HDDS-5240:
------------------------------------
    Summary: Fix out of bound exception when loading auditparser  (was: Fix out of bound exception when auditparser load)

> Fix out of bound exception when loading auditparser
> ---------------------------------------------------
>
>                 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-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org