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 1DDBD200B33 for ; Wed, 29 Jun 2016 14:25:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1C6B9160A57; Wed, 29 Jun 2016 12:25:42 +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 674FE160A4D for ; Wed, 29 Jun 2016 14:25:41 +0200 (CEST) Received: (qmail 68168 invoked by uid 500); 29 Jun 2016 12:25:40 -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 68159 invoked by uid 99); 29 Jun 2016 12:25:40 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2016 12:25:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F27B4C09EB for ; Wed, 29 Jun 2016 12:25:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id iMIclN8WbZH0 for ; Wed, 29 Jun 2016 12:25:39 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 86A915FB20 for ; Wed, 29 Jun 2016 12:25:38 +0000 (UTC) Received: (qmail 67877 invoked by uid 99); 29 Jun 2016 12:25:37 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2016 12:25:37 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 86DCE2C02A3 for ; Wed, 29 Jun 2016 12:25:37 +0000 (UTC) Date: Wed, 29 Jun 2016 12:25:37 +0000 (UTC) From: "Murtadha Hubail (JIRA)" To: notifications@asterixdb.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (ASTERIXDB-1498) Failed to open index with resource ID after a failed query MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 29 Jun 2016 12:25:42 -0000 [ https://issues.apache.org/jira/browse/ASTERIXDB-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Murtadha Hubail resolved ASTERIXDB-1498. ---------------------------------------- Resolution: Fixed Fixed in commit 6dc71486bb597c45151d9723f7bee0d69df27ea1. As previously mentioned, the real cause of the issue is an uncaught exception that causes the LifeCycleComponentManager to stop. The merged fix adds an appropriate error message when trying to access a dataset/index after the DatasetLifeCycleManager has been stopped, so that would make it clear that the error is not caused by the DatasetLifeCycleManager. > Failed to open index with resource ID after a failed query > ---------------------------------------------------------- > > Key: ASTERIXDB-1498 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1498 > Project: Apache AsterixDB > Issue Type: Bug > Components: Metadata > Reporter: Yingyi Bu > Assignee: Murtadha Hubail > > There is a read query failed and then I run into the following exception: > {noformat} > Caused by: org.apache.hyracks.api.exceptions.HyracksDataException: Failed to open index with resource ID 7 since it does not exist. > at org.apache.asterix.common.context.DatasetLifecycleManager.open(DatasetLifecycleManager.java:191) > at org.apache.asterix.metadata.MetadataNode.searchIndex(MetadataNode.java:1021) > at org.apache.asterix.metadata.MetadataNode.getFunction(MetadataNode.java:879) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324) > at sun.rmi.transport.Transport$1.run(Transport.java:200) > at sun.rmi.transport.Transport$1.run(Transport.java:197) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:196) > at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > ... 1 more > {noformat} > What could be possible reasons leading to this? -- This message was sent by Atlassian JIRA (v6.3.4#6332)