Return-Path: X-Original-To: apmail-crunch-dev-archive@www.apache.org Delivered-To: apmail-crunch-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3BFA810ED5 for ; Mon, 24 Feb 2014 18:46:21 +0000 (UTC) Received: (qmail 58111 invoked by uid 500); 24 Feb 2014 18:46:20 -0000 Delivered-To: apmail-crunch-dev-archive@crunch.apache.org Received: (qmail 58053 invoked by uid 500); 24 Feb 2014 18:46:20 -0000 Mailing-List: contact dev-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@crunch.apache.org Delivered-To: mailing list dev@crunch.apache.org Received: (qmail 58045 invoked by uid 99); 24 Feb 2014 18:46:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Feb 2014 18:46:20 +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 (athena.apache.org: domain of jwills@cloudera.com designates 209.85.192.45 as permitted sender) Received: from [209.85.192.45] (HELO mail-qg0-f45.google.com) (209.85.192.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Feb 2014 18:46:16 +0000 Received: by mail-qg0-f45.google.com with SMTP id j5so15910292qga.4 for ; Mon, 24 Feb 2014 10:45:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=oCUI8r8Zv62Lh+yjDjhwxHDE3+q1S6ceElOENHY3S60=; b=M+MkggkfSPjRZnqoEfBTw1SeKhVjXM8y9lFVClwurjjOV8QMqcRtr1qAMDDObsu9iY UskYYalIg8BceLNWr4ybJQh8rtrC/D1MPSzQAImBjuP5CtmwM/0Ug1u8gcpN5kYjfR7g sfoEX5UrFCdFdnoAPZMU3vxjcn51F3FtvmPOShItEc13qi3L72w9HB4VeBlfW5dNN3mY UNKoc9nABX6a8pJGLVx8i/Mcx9+1gVLZc0ax0RPGsXB2VrUa1CY8sHR3FobYKFbO6HYt 19FhQNMywTrt4Lzi2fDXPUmV3qyFNbL24jusrw0K2KVn3oICf/Xcj+Pzspnj7wZwFNkV xBvA== X-Gm-Message-State: ALoCoQlDorJSHBRqQYhA41g2VF48MCZrg5haNxnXok/S64MgaIN1Vr61MvLSyeAnt+QEq2RjhVSl X-Received: by 10.140.22.39 with SMTP id 36mr30238831qgm.59.1393267555204; Mon, 24 Feb 2014 10:45:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.172.202 with HTTP; Mon, 24 Feb 2014 10:45:35 -0800 (PST) In-Reply-To: References: From: Josh Wills Date: Mon, 24 Feb 2014 10:45:35 -0800 Message-ID: Subject: Re: Object size To: dev Content-Type: multipart/alternative; boundary=001a11c153f6b4973204f32b615f X-Virus-Checked: Checked by ClamAV on apache.org --001a11c153f6b4973204f32b615f Content-Type: text/plain; charset=ISO-8859-1 There is the length() method, which will return a PObject with the number of elements in the PCollection. It requires running an MR job though. J On Mon, Feb 24, 2014 at 10:03 AM, Jinal Shah wrote: > Hi, > > Is there a way possible in crunch to find the size of a particular > PCollection or PTable in whole. > > Thanks > Jinal > -- Director of Data Science Cloudera Twitter: @josh_wills --001a11c153f6b4973204f32b615f--