Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE229925F for ; Fri, 9 Mar 2012 21:15:20 +0000 (UTC) Received: (qmail 24567 invoked by uid 500); 9 Mar 2012 21:15:20 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 24524 invoked by uid 500); 9 Mar 2012 21:15:20 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 24515 invoked by uid 99); 9 Mar 2012 21:15:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 21:15:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 21:15:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8DAB11639E for ; Fri, 9 Mar 2012 21:14:59 +0000 (UTC) Date: Fri, 9 Mar 2012 21:14:59 +0000 (UTC) From: "Arun C Murthy (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <380080146.45557.1331327699581.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-1722) Make streaming to handle non-utf8 byte array MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226463#comment-13226463 ] Arun C Murthy commented on HADOOP-1722: --------------------------------------- Matt - Matthias's patch applies clean to branch-1. I'd like to push it in for hadoop-1.0.2, you ok? Thanks. > Make streaming to handle non-utf8 byte array > -------------------------------------------- > > Key: HADOOP-1722 > URL: https://issues.apache.org/jira/browse/HADOOP-1722 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Runping Qi > Assignee: Klaas Bosteels > Fix For: 0.21.0 > > Attachments: HADOOP-1722-branch-0.18.patch, HADOOP-1722-branch-0.19.patch, HADOOP-1722-v0.20.1.patch, HADOOP-1722-v2.patch, HADOOP-1722-v3.patch, HADOOP-1722-v4.patch, HADOOP-1722-v4.patch, HADOOP-1722-v5.patch, HADOOP-1722-v6.patch, HADOOP-1722.patch > > > Right now, the streaming framework expects the output sof the steam process (mapper or reducer) are line > oriented UTF-8 text. This limit makes it impossible to use those programs whose outputs may be non-UTF-8 > (international encoding, or maybe even binary data). Streaming can overcome this limit by introducing a simple > encoding protocol. For example, it can allow the mapper/reducer to hexencode its keys/values, > the framework decodes them in the Java side. > This way, as long as the mapper/reducer executables follow this encoding protocol, > they can output arabitary bytearray and the streaming framework can handle them. -- 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