You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Billie Rinaldi (JIRA)" <ji...@apache.org> on 2012/05/16 22:07:07 UTC
[jira] [Created] (ACCUMULO-596) Shell doesn't accept hex characters
with nonzero first bit
Billie Rinaldi created ACCUMULO-596:
---------------------------------------
Summary: Shell doesn't accept hex characters with nonzero first bit
Key: ACCUMULO-596
URL: https://issues.apache.org/jira/browse/ACCUMULO-596
Project: Accumulo
Issue Type: Bug
Components: client
Affects Versions: 1.4.0, 1.3.5
Reporter: Billie Rinaldi
Assignee: Billie Rinaldi
Fix For: 1.5.0, 1.4.1
The shell throws BadArgumentException: unsupported non-ascii character for hex characters \x80 or greater.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (ACCUMULO-596) Shell doesn't accept hex
characters with nonzero first bit
Posted by "Billie Rinaldi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Billie Rinaldi resolved ACCUMULO-596.
-------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.4.1)
> Shell doesn't accept hex characters with nonzero first bit
> ----------------------------------------------------------
>
> Key: ACCUMULO-596
> URL: https://issues.apache.org/jira/browse/ACCUMULO-596
> Project: Accumulo
> Issue Type: Bug
> Components: client
> Affects Versions: 1.4.0, 1.3.5
> Reporter: Billie Rinaldi
> Assignee: Billie Rinaldi
> Fix For: 1.5.0
>
>
> The shell throws BadArgumentException: unsupported non-ascii character for hex characters \x80 or greater.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ACCUMULO-596) Shell doesn't accept hex
characters with nonzero first bit
Posted by "Billie Rinaldi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277793#comment-13277793 ]
Billie Rinaldi commented on ACCUMULO-596:
-----------------------------------------
It turns out that this error is thrown deliberately, which is to say that the shell cannot interpret hex characters \x80 or greater since an appropriate charset is not specified. Calling getBytes() on a string consisting of \x80 returns a three-byte array. Using getBytes("ISO-8859-1") should fix this issue as long as the same charset is used when the string is created.
> Shell doesn't accept hex characters with nonzero first bit
> ----------------------------------------------------------
>
> Key: ACCUMULO-596
> URL: https://issues.apache.org/jira/browse/ACCUMULO-596
> Project: Accumulo
> Issue Type: Bug
> Components: client
> Affects Versions: 1.4.0, 1.3.5
> Reporter: Billie Rinaldi
> Assignee: Billie Rinaldi
> Fix For: 1.5.0, 1.4.1
>
>
> The shell throws BadArgumentException: unsupported non-ascii character for hex characters \x80 or greater.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira