You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2007/08/29 01:21:30 UTC
[jira] Updated: (HADOOP-1800) [hbaseshell] output shoudl default
utf8 encoding
[ https://issues.apache.org/jira/browse/HADOOP-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HADOOP-1800:
--------------------------
Attachment: utf8.txt
Here's a fix:
{code}
HADOOP-1800 [hbaseshell] output shoudl default utf8 encoding
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/ConsoleTable.java
Make a PrintStream that outputs utf8. Have all printing use it.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/SelectCommand.java
Fix few places where we make Strings w/o stipulating UTF-8 encoding.
{code}
> [hbaseshell] output shoudl default utf8 encoding
> ------------------------------------------------
>
> Key: HADOOP-1800
> URL: https://issues.apache.org/jira/browse/HADOOP-1800
> Project: Hadoop
> Issue Type: Bug
> Components: contrib/hbase
> Reporter: stack
> Assignee: stack
> Priority: Minor
> Attachments: utf8.txt
>
>
> Outputting the content of an hbase cell, hbaseshell makes a String of the hbase cell bytes. Usually making the String, hbaseshell stipulates the bytes are UTF-8 -- which is a pretty good bet, if the cell contains a String -- but then it goes and uses the JVM's System.out writing STDOUT. This latter will have been built using the JVM's locale. This will usually not be UTF-8.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.