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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17346602#comment-17346602 ] 

wangzhaohui commented on HDDS-5240:
-----------------------------------

[~sky76093016] Hi,i am still working on this.

> 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