You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Xiang Zhang (Jira)" <ji...@apache.org> on 2019/12/11 11:17:00 UTC

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

    [ https://issues.apache.org/jira/browse/HDDS-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16993452#comment-16993452 ] 

Xiang Zhang commented on HDDS-2414:
-----------------------------------

Does this need test ?[~elek]

> 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
>            Priority: Major
>              Labels: newbie
>
> 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