[
https://issues.apache.org/jira/browse/HDFS-14819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erik Krogen updated HDFS-14819:
-------------------------------
Fix Version/s: 3.3.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
LGTM, thanks a lot [~soyamiyoshi]! I just committed this to trunk.
> [Dynamometer] Cannot parse audit logs with ‘=‘ in unexpected places when
> starting a workload.
> ----------------------------------------------------------------------------------------------
>
> Key: HDFS-14819
> URL: https://issues.apache.org/jira/browse/HDFS-14819
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Soya Miyoshi
> Assignee: Soya Miyoshi
> Priority: Major
> Fix For: 3.3.0
>
> Attachments: HDFS-14819.001.patch, HDFS-14819.002.patch,
> HDFS-14819.003.patch
>
>
> When trying to launch a workload job, if any of the given audit logs’ values
> contain `=` aside from at the ends of the log’s keys (such as `ugi`, `src`),
> the audit log will not be parsed and an exception is thrown.
> For example, this audit log will result in exception, as it contains `=` in
> the `src` value (“/projects/date=0822”).
> {code:|borderStyle=solid}
> 2019-08-22 01:00:00,186 INFO FSNamesystem.audit: allowed=true ugi=feed
> (auth:aaaaa) ip=/119.472.323.333 cmd=getfileinfo
> src=/projects/date=0822 dst=null
> perm=null proto=rpc
> {code}
> If the second `=` in `src=/projects/date=0822` is removed, it works fine.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]