Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EDC93200C1D for ; Thu, 16 Feb 2017 19:47:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EC5EF160B6F; Thu, 16 Feb 2017 18:47:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1DBC3160B61 for ; Thu, 16 Feb 2017 19:47:46 +0100 (CET) Received: (qmail 58994 invoked by uid 500); 16 Feb 2017 18:47:46 -0000 Mailing-List: contact notifications-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list notifications@asterixdb.apache.org Received: (qmail 58982 invoked by uid 99); 16 Feb 2017 18:47:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2017 18:47:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D99C7186128 for ; Thu, 16 Feb 2017 18:47:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id oQFtNszznLCw for ; Thu, 16 Feb 2017 18:47:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1F98B5FBA1 for ; Thu, 16 Feb 2017 18:47:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 36536E02BA for ; Thu, 16 Feb 2017 18:47:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id E7A3A2411D for ; Thu, 16 Feb 2017 18:47:41 +0000 (UTC) Date: Thu, 16 Feb 2017 18:47:41 +0000 (UTC) From: "Yingyi Bu (JIRA)" To: notifications@asterixdb.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ASTERIXDB-1791) HyracksDataException: Premature file in Join operator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Feb 2017 18:47:48 -0000 [ https://issues.apache.org/jira/browse/ASTERIXDB-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yingyi Bu updated ASTERIXDB-1791: --------------------------------- Description: Configuration: 2 NC 1 GB RAM each TPC-H dataset with SF=2 Query (TPC-H Q18): {noformat} USE tpch; SET `compiler.joinmemory` "8MB" SET `compiler.groupmemory` "8MB" SET `compiler.sortmemory` "8MB" WITH tmp AS ( SELECT l_orderkey, SUM(l_quantity) t_sum_quantity FROM LineItem GROUP BY l_orderkey ) SELECT c.c_name, c.c_custkey, o.o_orderkey, o.o_orderdate, o.o_totalprice, SUM(l.l_quantity) sum_quantity FROM LineItem l JOIN tmp t ON t.l_orderkey = l.l_orderkey JOIN Orders o ON o.o_orderkey = t.l_orderkey JOIN Customer c ON c.c_custkey = o.o_custkey WHERE t.t_sum_quantity > 30 GROUP BY c.c_name, c.c_custkey, o.o_orderkey, o.o_orderdate, o.o_totalprice ORDER BY o.o_totalprice DESC, o.o_orderdate LIMIT 100 ; {noformat} Error: {noformat} Premature end of file at org.apache.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:223) at org.apache.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:50) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: Premature end of file at org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:41) at org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:62) at org.apache.hyracks.control.nc.Task.run(Task.java:330) ... 3 more Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: Premature end of file at org.apache.hyracks.dataflow.common.io.RunFileReader.nextFrame(RunFileReader.java:66) at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.applyInMemHashJoin(OptimizedHybridHashJoinOperatorDescriptor.java:672) at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.joinPartitionPair(OptimizedHybridHashJoinOperatorDescriptor.java:503) at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.close(OptimizedHybridHashJoinOperatorDescriptor.java:435) at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.close(OptimizedHybridHashJoinOperatorDescriptor.java:439) at org.apache.hyracks.control.nc.Task.pushFrames(Task.java:367) at org.apache.hyracks.control.nc.Task.run(Task.java:308) ... 3 more Feb 13, 2017 4:05:33 PM org.apache.asterix.api.http.server.QueryServiceServlet handleRequest SEVERE: Job failed on account of: Premature end of file org.apache.hyracks.api.exceptions.HyracksException: Job failed on account of: Premature end of file {noformat} was: Configuration: 2 NC 1 GB RAM each TPC-H dataset with SF=2 Query (TPC-H Q18): {noformat} USE tpch; WITH tmp AS ( SELECT l_orderkey, SUM(l_quantity) t_sum_quantity FROM LineItem GROUP BY l_orderkey ) SELECT c.c_name, c.c_custkey, o.o_orderkey, o.o_orderdate, o.o_totalprice, SUM(l.l_quantity) sum_quantity FROM Customer c JOIN Orders o ON c.c_custkey = o.o_custkey JOIN tmp t ON o.o_orderkey = t.l_orderkey JOIN LineItem l ON t.l_orderkey = l.l_orderkey WHERE t.t_sum_quantity > 30 GROUP BY c.c_name, c.c_custkey, o.o_orderkey, o.o_orderdate, o.o_totalprice ORDER BY o.o_totalprice DESC, o.o_orderdate LIMIT 100 ; {noformat} Error: {noformat} Premature end of file at org.apache.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:223) at org.apache.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:50) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: Premature end of file at org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:41) at org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:62) at org.apache.hyracks.control.nc.Task.run(Task.java:330) ... 3 more Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: Premature end of file at org.apache.hyracks.dataflow.common.io.RunFileReader.nextFrame(RunFileReader.java:66) at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.applyInMemHashJoin(OptimizedHybridHashJoinOperatorDescriptor.java:672) at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.joinPartitionPair(OptimizedHybridHashJoinOperatorDescriptor.java:503) at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.close(OptimizedHybridHashJoinOperatorDescriptor.java:435) at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.close(OptimizedHybridHashJoinOperatorDescriptor.java:439) at org.apache.hyracks.control.nc.Task.pushFrames(Task.java:367) at org.apache.hyracks.control.nc.Task.run(Task.java:308) ... 3 more Feb 13, 2017 4:05:33 PM org.apache.asterix.api.http.server.QueryServiceServlet handleRequest SEVERE: Job failed on account of: Premature end of file org.apache.hyracks.api.exceptions.HyracksException: Job failed on account of: Premature end of file {noformat} > HyracksDataException: Premature file in Join operator > ----------------------------------------------------- > > Key: ASTERIXDB-1791 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1791 > Project: Apache AsterixDB > Issue Type: Bug > Reporter: Yingyi Bu > Assignee: Taewoo Kim > > Configuration: > 2 NC > 1 GB RAM each > TPC-H dataset with SF=2 > Query (TPC-H Q18): > {noformat} > USE tpch; > SET `compiler.joinmemory` "8MB" > SET `compiler.groupmemory` "8MB" > SET `compiler.sortmemory` "8MB" > WITH tmp AS > ( > SELECT l_orderkey, SUM(l_quantity) t_sum_quantity > FROM LineItem > GROUP BY l_orderkey > ) > SELECT c.c_name, c.c_custkey, o.o_orderkey, o.o_orderdate, o.o_totalprice, > SUM(l.l_quantity) sum_quantity > FROM LineItem l > JOIN tmp t ON t.l_orderkey = l.l_orderkey > JOIN Orders o ON o.o_orderkey = t.l_orderkey > JOIN Customer c ON c.c_custkey = o.o_custkey > WHERE t.t_sum_quantity > 30 > GROUP BY c.c_name, c.c_custkey, o.o_orderkey, o.o_orderdate, o.o_totalprice > ORDER BY o.o_totalprice DESC, o.o_orderdate > LIMIT 100 > ; > {noformat} > Error: > {noformat} > Premature end of file > at org.apache.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:223) > at org.apache.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:50) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: Premature end of file > at org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:41) > at org.apache.hyracks.control.common.utils.ExceptionUtils.setNodeIds(ExceptionUtils.java:62) > at org.apache.hyracks.control.nc.Task.run(Task.java:330) > ... 3 more > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: Premature end of file > at org.apache.hyracks.dataflow.common.io.RunFileReader.nextFrame(RunFileReader.java:66) > at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.applyInMemHashJoin(OptimizedHybridHashJoinOperatorDescriptor.java:672) > at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.joinPartitionPair(OptimizedHybridHashJoinOperatorDescriptor.java:503) > at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.close(OptimizedHybridHashJoinOperatorDescriptor.java:435) > at org.apache.hyracks.dataflow.std.join.OptimizedHybridHashJoinOperatorDescriptor$ProbeAndJoinActivityNode$1.close(OptimizedHybridHashJoinOperatorDescriptor.java:439) > at org.apache.hyracks.control.nc.Task.pushFrames(Task.java:367) > at org.apache.hyracks.control.nc.Task.run(Task.java:308) > ... 3 more > Feb 13, 2017 4:05:33 PM org.apache.asterix.api.http.server.QueryServiceServlet handleRequest > SEVERE: Job failed on account of: > Premature end of file > org.apache.hyracks.api.exceptions.HyracksException: Job failed on account of: > Premature end of file > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)