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 2019/12/23 21:13:00 UTC

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

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

Dinesh Chitlangia reassigned HDDS-2414:
---------------------------------------

    Assignee: Xiang Zhang

> 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
>            Assignee: Xiang Zhang
>            Priority: Major
>              Labels: newbie, pull-request-available
>             Fix For: 0.5.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org