You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Soya Miyoshi (Jira)" <ji...@apache.org> on 2019/09/04 08:13:00 UTC

[jira] [Created] (HDFS-14819) [Dynamometer] Cannot parse audit logs with ‘=‘ in unexpected places when starting a workload.

Soya Miyoshi created HDFS-14819:
-----------------------------------

             Summary: [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


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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org