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 "Marton Elek (Jira)" <ji...@apache.org> on 2019/11/07 10:36:00 UTC

[jira] [Created] (HDDS-2414) Simplify robot tests with removing output greps

Marton Elek created HDDS-2414:
---------------------------------

             Summary: Simplify robot tests with removing output greps
                 Key: HDDS-2414
                 URL: https://issues.apache.org/jira/browse/HDDS-2414
             Project: Hadoop Distributed Data Store
          Issue Type: Task
            Reporter: Marton Elek


The robot tests under hadoop-ozone/dist/src/main/smoketest contain a lot of grep fragments to filter out the output of the CLI commands:
{code:java}
ozone sh key list o3://om/fstest/bucket1 | grep -v WARN | jq -r '.name' {code}
It was introduced because we had some unrelated logs on the console.

Fortunately the ozone log4j.properties has been adjusted to hide the unrelated lines.

It would be great to remove all of these "grep -v ...." fragments to make sure that all the CLI work well with annoying logging.

For example the previous line should work as
{code:java}
ozone sh key list o3://om/fstest/bucket1 | jq -r '.name'  {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org