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 5361E18419 for ; Tue, 23 Jun 2015 12:52:04 +0000 (UTC) Received: (qmail 79684 invoked by uid 500); 23 Jun 2015 12:52:04 -0000 Delivered-To: apmail-crunch-user-archive@crunch.apache.org Received: (qmail 79651 invoked by uid 500); 23 Jun 2015 12:52:04 -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 79641 invoked by uid 99); 23 Jun 2015 12:52:04 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2015 12:52:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id BE9ED1A5DEB for ; Tue, 23 Jun 2015 12:52:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id FdtpOeh1reAF for ; Tue, 23 Jun 2015 12:52:03 +0000 (UTC) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id D69A3454D6 for ; Tue, 23 Jun 2015 12:52:02 +0000 (UTC) Received: by wicnd19 with SMTP id nd19so104952622wic.1 for ; Tue, 23 Jun 2015 05:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=CHQnfe3BQNjmKG3/1v+T6IWjoo5bDmGXw3YeByP5eFA=; b=F43dbIvvOCSPGeOSaCE6EZw9/YBaxf/RwLo7vg+UkkTDk43AM/zkNFkcjF4ZM5utRV THi/kv3/fsWGSRGqZVZWD0rXOiGOaC0QXysWqh8ViKXsI04tRScVTo/+te6BQoVqJ9YX ZwS7AlAVn6hRN9Cl+TfHAqWd/0i/ApZhIhou1B6GsC8WBfhGlUo1JIGSQITuhAR3YEtu /XOazyhOMJzuPbJmNXKIh64zFK/qs236WUMEWGRzfsCEg3KvchCyeXpJJAvlS5OrnTCf 1cfYhSyFN1e3e0xJPdIsAOQvlVYC9UPpZCcOCNE9whvcK9tojZygsCXWS0Nwcz6lrrSP h/Cw== MIME-Version: 1.0 X-Received: by 10.194.178.225 with SMTP id db1mr61984865wjc.153.1435063922088; Tue, 23 Jun 2015 05:52:02 -0700 (PDT) Received: by 10.28.0.13 with HTTP; Tue, 23 Jun 2015 05:52:02 -0700 (PDT) Date: Tue, 23 Jun 2015 21:52:02 +0900 Message-ID: Subject: secondary sort in crunch on spark. From: Kidong Lee To: user@crunch.apache.org Content-Type: multipart/alternative; boundary=089e0122e90c4e62e005192edba6 --089e0122e90c4e62e005192edba6 Content-Type: text/plain; charset=UTF-8 Hi, I have been using spark to implement our recommendation algorithm, for which it was hard to get secondary sort by value, thus, I have implemented this algorithm with the help of hive. I think, spark does not support secondary sort yet. I have recently implemented the same recommendation algorithm in crunch running on spark with using crunch secondary sort API. I am wondering how to implement secondary sort in crunch running on spark. Anybody can give me some explanations about the implementation of secondary sort in crunch spark? thanks, - Kidong. --089e0122e90c4e62e005192edba6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I have been usin= g spark to implement our recommendation algorithm, for which it was hard to= get secondary sort by value, thus, I have implemented this algorithm with = the help of hive.
I think, spark does not support secondary sort yet.
I have recently implemented the same recommendation algorithm in crunc= h running on spark with using crunch secondary sort API.

I am = wondering how to implement secondary sort in crunch running on spark.
Anybody can give me some explanations about the implementation of s= econdary sort in crunch spark?

thanks,

- Kidong.<= br>

--089e0122e90c4e62e005192edba6--