[
https://issues.apache.org/jira/browse/HBASE-6262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cosmin Lehene resolved HBASE-6262.
----------------------------------
Resolution: Duplicate
duplicated (and fixed by) HBASE-7476
> Row Count hangs due to printing raw without filtering for control
> codes/non-displayable characters
> --------------------------------------------------------------------------------------------------
>
> Key: HBASE-6262
> URL: https://issues.apache.org/jira/browse/HBASE-6262
> Project: HBase
> Issue Type: Bug
> Components: shell
> Reporter: Kevin Odell
> Attachments: hbase-shell.log
>
>
> The problem is the key is printed raw without filtering for control
> codes/non-displayable characters. Consequently, row 264000's row key includes
> the data <ESC>P (hex: 1B 50) which initiates a VT100/ANSI DCS sequence, which
> normally must be terminated by a DCS string terminator code, <ESC>\ (hex: 1B
> 5C) (cf.
> At row 264000, <ESC>P appears, but is not followed by the <ESC>\ termination
> code -- so instead of data being output to the display, it is getting
> buffered by the terminal to complete the DCS command. Result: the data is not
> displayed (xterminal) or the terminal locks up (gnome-terminal).
> Note that this is a potential for abusing this "feature" to hide/alter
> information displayed on the screen, since an arbitrary terminal control
> codes could potentially be constructed and injected into a rowkey.
> If you open a VT100-emulating terminal window can cat the attached file,
> as-is, it would hang after displaying the starting portion of the line for
> row 264000.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)