Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 401431872F for ; Fri, 8 Jan 2016 16:29:40 +0000 (UTC) Received: (qmail 30213 invoked by uid 500); 8 Jan 2016 16:29:40 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 30176 invoked by uid 500); 8 Jan 2016 16:29:40 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 30138 invoked by uid 99); 8 Jan 2016 16:29:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2016 16:29:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DEA012C1F62 for ; Fri, 8 Jan 2016 16:29:39 +0000 (UTC) Date: Fri, 8 Jan 2016 16:29:39 +0000 (UTC) From: "Vovodroid (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10835) CqlInputFormat creates too small splits for map Hadoop tasks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-10835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15089456#comment-15089456 ] Vovodroid commented on CASSANDRA-10835: --------------------------------------- Hi, in branch *3.0.2 commit SHA a5c731b5* CHANGES.txt contains {code} Merged from 2.2: * Fix regression on split size in CqlInputFormat (CASSANDRA-10835) * Better handling of SSL connection errors inter-node (CASSANDRA-10816) {code} but I don't see changes from cassandra-3.0.1-10835-2.txt in the branch nor in commit neither in current code. Did I miss something? > CqlInputFormat creates too small splits for map Hadoop tasks > ------------------------------------------------------------- > > Key: CASSANDRA-10835 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10835 > Project: Cassandra > Issue Type: Bug > Reporter: Artem Aliev > Fix For: 2.2.5, 3.0.3, 3.2 > > Attachments: cassandra-2.2-10835-2.txt, cassandra-3.0.1-10835-2.txt, cassandra-3.0.1-10835.txt > > > CqlInputFormat use number of rows in C* version < 2.2 to define split size > The default split size was 64K rows. > {code} > private static final int DEFAULT_SPLIT_SIZE = 64 * 1024; > {code} > The doc: > {code} > * You can also configure the number of rows per InputSplit with > * ConfigHelper.setInputSplitSize. The default split size is 64k rows. > {code} > New split algorithm assumes that SPLIT size is in bytes, so it creates really small map hadoop tasks by default (or with old configs). > There two way to fix it: > 1. Update the doc and increase default value to something like 16MB > 2. Make the C* to be compatible with older version. > I like the second options, as it will not surprise people who upgrade from old versions. I do not expect a lot of new user that will use Hadoop. -- This message was sent by Atlassian JIRA (v6.3.4#6332)