You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2016/05/06 18:23:12 UTC
[jira] [Issue Comment Deleted] (HADOOP-13093) Discuss whether dfs
-ls should escape control characters on terminal
[ https://issues.apache.org/jira/browse/HADOOP-13093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated HADOOP-13093:
--------------------------------------
Comment: was deleted
(was:
This is an automatically generated message.
randyc@yahoo-inc.com is no longer with Yahoo! Inc.
Your message will not be forwarded.
If you have a sales inquiry, please email yahoosales@yahoo-inc.com and someone will follow up with you shortly.
If you require assistance with a legal matter, please send a message to legal-notices@yahoo-inc.com
Thank you!
)
> Discuss whether dfs -ls should escape control characters on terminal
> --------------------------------------------------------------------
>
> Key: HADOOP-13093
> URL: https://issues.apache.org/jira/browse/HADOOP-13093
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Reporter: John Zhuge
> Assignee: John Zhuge
>
> HADOOP-13079 adds option {{-q}} to {{dfs -ls}} to print non-printable characters as "?". This jira will decide whether to make {{-q}} the default for {{dfs -ls}} on a terminal.
> This is a split of HADOOP-13079. The split gives us more time to debate the proper default behavior and enables different target versions.
> To test whether STDOUT is connected to a terminal, I will use {{System.console() != null}}, fully aware its limitation. JNI {{isatty(3)}} is possible but too problematic as pointed out by [~cmccabe].
> I will survey FsShell and hdfs commands and their proper expected default behaviors. Thanks [~andrew.wang] for the suggestion. More jiras may follow.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org