Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-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 9CFD3D190 for ; Thu, 15 Nov 2012 08:09:02 +0000 (UTC) Received: (qmail 12695 invoked by uid 500); 15 Nov 2012 08:09:02 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 12667 invoked by uid 500); 15 Nov 2012 08:09:01 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 12636 invoked by uid 99); 15 Nov 2012 08:09:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 08:09:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tommaso.teofili@gmail.com designates 209.85.160.47 as permitted sender) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 08:08:54 +0000 Received: by mail-pb0-f47.google.com with SMTP id ro12so956723pbb.34 for ; Thu, 15 Nov 2012 00:08:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=eqP3sjGKJ4iJBjlOCHE8xS6xkBU5yIuX/fiWQq0p3zY=; b=GTusq4iUvGQu35POsH/ZoMQOZSR5mENdFe/KhItjQ3bDnpr/EeVNcl5adBoZAiCIfU ZbR8X6sNshl5mR7aHx6sMuR8/R0BjhHQThckoBc12O/Hiw8b8ahq8yLefI0ZGYn+16l9 0T3WFZn9QYhU5WqfRNOucPT4prPb2St2VSqINSxSbKDjeGUMPM8v5q9LvEXufHMLjSuU hFFLSWNzZIcdlXXssok2pbk9dvDwANVTdUP9D29dkTv312uUpCJJY5289lKUtmv/s7Pp PtWmzkuWnqBk70YxeqL0VawLqAqI+NMfy+rdaZCeYwxQRpJF3dgnqYfgO24IGAjY08dB f83A== Received: by 10.68.230.66 with SMTP id sw2mr2218040pbc.119.1352966914266; Thu, 15 Nov 2012 00:08:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.200.70 with HTTP; Thu, 15 Nov 2012 00:07:54 -0800 (PST) From: Tommaso Teofili Date: Thu, 15 Nov 2012 09:07:54 +0100 Message-ID: Subject: Strange input read behavior To: dev@hama.apache.org Content-Type: multipart/alternative; boundary=047d7b339e7351571104ce8428bb X-Virus-Checked: Checked by ClamAV on apache.org --047d7b339e7351571104ce8428bb Content-Type: text/plain; charset=ISO-8859-1 Hi guys, I was just running a couple of tests with GradientDescentBSP when I realized that using the newly installed RC5 the algorithm fails at its very beginning because it seems it cannot read from input. java.io.IOException: cannot read input vector size at org.apache.hama.ml.regression.GradientDescentBSP.getXSize(GradientDescentBSP.java:268) at org.apache.hama.ml.regression.GradientDescentBSP.getInitialTheta(GradientDescentBSP.java:244) at org.apache.hama.ml.regression.GradientDescentBSP.bsp(GradientDescentBSP.java:72) at org.apache.hama.bsp.LocalBSPRunner$BSPRunner.run(LocalBSPRunner.java:254) at org.apache.hama.bsp.LocalBSPRunner$BSPRunner.call(LocalBSPRunner.java:284) at org.apache.hama.bsp.LocalBSPRunner$BSPRunner.call(LocalBSPRunner.java:211) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Since I didn't change anything on that side and it works with 0.6.0-SNAPSHOT I wonder if the latest stuff related to input split caused problems. WDYT? Tommaso p.s.: I noticed this just after my +1 on the RC vote but please keep it on hold while we track this issue --047d7b339e7351571104ce8428bb--