hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1800) [hbaseshell] output shoudl default utf8 encoding
Date Tue, 28 Aug 2007 23:21:30 GMT

     [ 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:

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.

> [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.

View raw message