[
https://issues.apache.org/jira/browse/HDDS-8858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733241#comment-17733241
]
Ethan Rose commented on HDDS-8858:
----------------------------------
Instead of only printing hints in verbose mode, we could print the hints to
stderr.
> Do not mix JSON output with "hints"
> -----------------------------------
>
> Key: HDDS-8858
> URL: https://issues.apache.org/jira/browse/HDDS-8858
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone CLI
> Reporter: Attila Doroszlai
> Priority: Major
>
> After listing the keys in JSON, {{ozone sh key list}} prints a "hint" if
> there are more keys than allowed by the {{\-\-length}} option. This makes
> processing the JSON output more difficult, and might even break scripts that
> were initially tested only with fewer keys than the limit. Such hints should
> be omitted by default, printed only in verbose mode.
> There may be other commands with similar behavior.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]