Return-Path: X-Original-To: apmail-crunch-user-archive@www.apache.org Delivered-To: apmail-crunch-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF4A510E3A for ; Wed, 12 Mar 2014 15:28:13 +0000 (UTC) Received: (qmail 41812 invoked by uid 500); 12 Mar 2014 15:28:13 -0000 Delivered-To: apmail-crunch-user-archive@crunch.apache.org Received: (qmail 40937 invoked by uid 500); 12 Mar 2014 15:28:02 -0000 Mailing-List: contact user-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@crunch.apache.org Delivered-To: mailing list user@crunch.apache.org Received: (qmail 40927 invoked by uid 99); 12 Mar 2014 15:28:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 15:28:01 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=11486d9dd0=nbarry@cerner.com designates 159.140.194.49 as permitted sender) Received: from [159.140.194.49] (HELO xmail02.cernercloud.com) (159.140.194.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 15:27:52 +0000 Received: from pps.filterd (xmail02.cernercloud.com [127.0.0.1]) by xmail02.cernercloud.com (8.14.7/8.14.7) with SMTP id s2CFN1va027139 for ; Wed, 12 Mar 2014 10:27:30 -0500 Received: from cernmsgls5hub2.cerner.net ([170.71.96.37]) by xmail02.cernercloud.com with ESMTP id 1jjt1qr22g-2 for ; Wed, 12 Mar 2014 10:27:30 -0500 Received: from CERNMSGLS5MB5A.cerner.net ([169.254.2.232]) by CERNMSGLS5HUB2.cerner.net ([170.71.96.37]) with mapi id 14.03.0174.001; Wed, 12 Mar 2014 10:27:29 -0500 From: "Barry,Nathan" To: "user@crunch.apache.org" Subject: convert a scrunch.PCollection to a crunch.PCollection ? Thread-Topic: convert a scrunch.PCollection to a crunch.PCollection ? Thread-Index: AQHPPgeUjyiLBHU+nkeVQox4Poa+HQ== Date: Wed, 12 Mar 2014 15:27:28 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.9.131030 x-originating-ip: [39.250.140.23] Content-Type: multipart/alternative; boundary="_000_CF45E70A182F2nbarrycernercom_" MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87,1.0.14,0.0.0000 definitions=2014-03-12_06:2014-03-12,2014-03-12,1970-01-01 signatures=0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CF45E70A182F2nbarrycernercom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi I'm migrating some code from crunch to scrunch and I'm running into an issu= e leveraging a crunch based API that takes a crunch PCollection as a parame= ter but I have a scrunch PCollection which results in compilation errors wh= en trying to pass the scrunch Pcollection into the API What am I missing? I _think_ I have the proper conversion imports in place. [ERROR] found : org.apache.crunch.scrunch.PCollection[org.apache.hadoop.= hbase.client.Put] [ERROR] required: org.apache.crunch.PCollection[org.apache.hadoop.hbase.cl= ient.Put] Thanks, Nathan CONFIDENTIALITY NOTICE This message and any included attachments are from C= erner Corporation and are intended only for the addressee. The information = contained in this message is confidential and may constitute inside or non-= public information under international, federal, or state securities laws. = Unauthorized forwarding, printing, copying, distribution, or use of such in= formation is strictly prohibited and may be unlawful. If you are not the ad= dressee, please promptly delete this message and notify the sender of the d= elivery error by e-mail or you may call Cerner's corporate offices in Kansa= s City, Missouri, U.S.A at (+1) (816)221-1024. --_000_CF45E70A182F2nbarrycernercom_ Content-Type: text/html; charset="us-ascii" Content-ID: <86EEF40F6469A0458FA428323409A39C@cerner.com> Content-Transfer-Encoding: quoted-printable
Hi=

I'm migrating some code from crunch to scrunch and I'm running into an issu= e leveraging a crunch based API that takes a crunch PCollection as a parame= ter but I have a scrunch PCollection which results in compilation errors wh= en trying to pass the scrunch Pcollection into the API

What am I missing?  I _think_ I have the proper conversion imports in = place.

[ERROR]  found   : org.apache.crunch.scrunch.PCollectio= n[org.apache.hadoop.hbase.client.Put]
[ERROR]  required: org.apache.crunch.PCollection[org.apache.= hadoop.hbase.client.Put]

Thanks,

Nathan

CONFIDENTIALITY NOTICE This message and any included attachments are from C= erner Corporation and are intended only for the addressee. The information = contained in this message is confidential and may constitute inside or non-= public information under international, federal, or state securities laws. = Unauthorized forwarding, printing, copying, distribution, or use of such in= formation is strictly prohibited and may be unlawful. If you are not the ad= dressee, please promptly delete this message and notify the sender of the d= elivery error by e-mail or you may call Cerner's corporate offices in K= ansas City, Missouri, U.S.A at (+1) (816)221-1024.
--_000_CF45E70A182F2nbarrycernercom_--