Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 99164 invoked from network); 16 Oct 2008 20:42:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2008 20:42:15 -0000 Received: (qmail 40344 invoked by uid 500); 16 Oct 2008 20:42:11 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 40310 invoked by uid 500); 16 Oct 2008 20:42:11 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 40299 invoked by uid 99); 16 Oct 2008 20:42:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 13:42:11 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.163.179.218] (HELO web36104.mail.mud.yahoo.com) (66.163.179.218) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Oct 2008 20:41:03 +0000 Received: (qmail 35923 invoked by uid 60001); 16 Oct 2008 20:40:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=0yq1sIcYWFt2rV+/XBmlisHs/vriE3/Zkbv7rXUlCttCcmvhRMznq15LEVThKD3f7FUrUJbgxeh5ZAb+KKMZoHzzOkXFJDdgmAqLFFgQKB2LrbjyG5baLMXNBrDLC7oWKKyyVa/L+g463dHGd85PadyfGJlSnKr8bV0lRD+vD+Y=; X-YMail-OSG: KktTJ2cVM1lZATjHCq2Dl2oI39LNq_GfyMUycl0Fh_kLmijSVs_FErtU_2uJBwggwLmuslXhgF7iCzRgh0NuVUVZMq.78Xq_chm6bKi5VDlm0m7B.uLL0knU3mCw0D_NPZi9IZbGOc4h9SC4vjCYWPw4srjuAryEmYTRlxSxgqF2bjttecOFij6pQWwilA-- Received: from [131.94.129.128] by web36104.mail.mud.yahoo.com via HTTP; Thu, 16 Oct 2008 13:40:39 PDT X-Mailer: YahooMailRC/1096.40 YahooMailWebService/0.7.218.2 Date: Thu, 16 Oct 2008 13:40:39 -0700 (PDT) From: Zhengguo 'Mike' SUN Subject: Any one successfully ran the c++ pipes example? To: core-user@hadoop.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1587874639-1224189639=:9735" Message-ID: <543448.9735.qm@web36104.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1587874639-1224189639=:9735 Content-Type: text/plain; charset=us-ascii Hi, I was trying to write an application using the pipes api. But it seemed the serialization part is not working correctly. More specifically, I can't deserialize a string from an StringInStream constructed from context.getInputSplit(). Even with the examples bundled in the distribution archive(wordcount-nopipe.cc), it threw exceptions. If anyone had experience on that, please kindly give some advise. P.S. The code that I am suspecting: HadoopUtils::StringInStream stream(context.getInputSplit()); HadoopUtils::deserializeString(fname, stream); fname should be deserialized from that stream, but it actually wasn't. --0-1587874639-1224189639=:9735--