hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Sigoure (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-3973) HBase IRB shell: Don't pretty-print the output when stdout isn't a TTY
Date Thu, 09 Jun 2011 22:13:59 GMT

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

Benoit Sigoure updated HBASE-3973:
----------------------------------

    Attachment: hbase-hirb-formatter.patch

Patch to fix the issue.

> HBase IRB shell: Don't pretty-print the output when stdout isn't a TTY
> ----------------------------------------------------------------------
>
>                 Key: HBASE-3973
>                 URL: https://issues.apache.org/jira/browse/HBASE-3973
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Minor
>         Attachments: hbase-hirb-formatter.patch
>
>
> In the HBase shell, when the output isn't a TTY, the shell assumes the "terminal" to
be 100 characters wide.  The way the shell wraps things around makes it very hard to script
the output of the shell (e.g. redirect the output to a file and then work on that file, or
pipe the output to another command).
> When stdout isn't a TTY, the shell shouldn't try to wrap things around.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message