You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2010/06/11 03:25:15 UTC

[jira] Created: (HBASE-2710) Shell should have default terminal width when detection fails

Shell should have default terminal width when detection fails
-------------------------------------------------------------

                 Key: HBASE-2710
                 URL: https://issues.apache.org/jira/browse/HBASE-2710
             Project: HBase
          Issue Type: Bug
          Components: shell
    Affects Versions: 0.21.0
            Reporter: Todd Lipcon
            Assignee: Kannan Muthukkaruppan
             Fix For: 0.21.0


HBASE-2632 added code to detect terminal width. On some terminals (eg emacs shell) this returns 0, which resulted in infinite loops in the formatter. Should default to 100 when we can't detect width.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2710) Shell should have default terminal width when detection fails

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon updated HBASE-2710:
-------------------------------

    Attachment: hbase-2710.txt

Patch from Kannan (he sent via mail)

> Shell should have default terminal width when detection fails
> -------------------------------------------------------------
>
>                 Key: HBASE-2710
>                 URL: https://issues.apache.org/jira/browse/HBASE-2710
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.21.0
>            Reporter: Todd Lipcon
>            Assignee: Kannan Muthukkaruppan
>             Fix For: 0.21.0
>
>         Attachments: hbase-2710.txt
>
>
> HBASE-2632 added code to detect terminal width. On some terminals (eg emacs shell) this returns 0, which resulted in infinite loops in the formatter. Should default to 100 when we can't detect width.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-2710) Shell should have default terminal width when detection fails

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Lipcon resolved HBASE-2710.
--------------------------------

    Hadoop Flags: [Reviewed]
      Resolution: Fixed

Committed. Thanks for patch, Kannan.

> Shell should have default terminal width when detection fails
> -------------------------------------------------------------
>
>                 Key: HBASE-2710
>                 URL: https://issues.apache.org/jira/browse/HBASE-2710
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.21.0
>            Reporter: Todd Lipcon
>            Assignee: Kannan Muthukkaruppan
>             Fix For: 0.21.0
>
>         Attachments: hbase-2710.txt
>
>
> HBASE-2632 added code to detect terminal width. On some terminals (eg emacs shell) this returns 0, which resulted in infinite loops in the formatter. Should default to 100 when we can't detect width.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.