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 D4DB6200C20 for ; Sun, 19 Feb 2017 10:19:51 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D3807160B65; Sun, 19 Feb 2017 09:19:51 +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 CF5AC160B58 for ; Sun, 19 Feb 2017 10:19:50 +0100 (CET) Received: (qmail 13722 invoked by uid 500); 19 Feb 2017 09:19:50 -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 13698 invoked by uid 99); 19 Feb 2017 09:19:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Feb 2017 09:19:50 +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 9CF071A04DA for ; Sun, 19 Feb 2017 09:19:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id BzN5CtsCjBID for ; Sun, 19 Feb 2017 09:19:47 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 7B7475FE22 for ; Sun, 19 Feb 2017 09:19:46 +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 B31DCE030B for ; Sun, 19 Feb 2017 09:19:45 +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 BB6D92411B for ; Sun, 19 Feb 2017 09:19:44 +0000 (UTC) Date: Sun, 19 Feb 2017 09:19:44 +0000 (UTC) From: "Yingyi Bu (JIRA)" To: notifications@asterixdb.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ASTERIXDB-1801) [Windows] log manager fails at startup time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 19 Feb 2017 09:19:52 -0000 [ https://issues.apache.org/jira/browse/ASTERIXDB-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yingyi Bu updated ASTERIXDB-1801: --------------------------------- Description: When I restarted an AsterixDB instance on Windows, I found the following exception in the log: {noformat} assembly\samples\local\data\red\txnlog\transaction_log_1 at org.apache.asterix.transaction.management.service.logging.LogManager.deleteAllLogFiles(LogManager.java:428) at org.apache.asterix.transaction.management.service.logging.LogManager.renewLogFiles(LogManager.java:357) at org.apache.asterix.transaction.management.service.recovery.CheckpointManager.doSharpCheckpoint(CheckpointMana ger.ja va:52) at org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint.notifyStartupComplete(NCApplicationEntryPoint.ja va:253 ) at org.apache.hyracks.control.nc.NodeControllerService.start(NodeControllerService.java:305) at org.apache.hyracks.control.nc.NCDriver.main(NCDriver.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.mojo.appassembler.booter.AppassemblerBooter.executeMain(AppassemblerBooter.java:233) at org.codehaus.mojo.appassembler.booter.AppassemblerBooter.main(AppassemblerBooter.java:65) Feb 19, 2017 8:47:35 AM org.apache.hyracks.control.nc.service.NCService launchNCProcess INFO: NCDriver exited with return value 1 Feb 19, 2017 8:47:35 AM org.apache.hyracks.control.nc.service.NCService main INFO: Waiting for connection from CC on null:9090 {noformat} After restarting, further queries will run into the following exception: {noformat} SEVERE: The MetadataNode failed to bind before the configured timeout (60 seconds); the MetadataNode was configured to run on NC: red org.apache.hyracks.api.exceptions.HyracksDataException: The MetadataNode failed to bind before the configured timeout ( 60 seconds); the MetadataNode was configured to run on NC: red at org.apache.asterix.metadata.MetadataManager$CCMetadataManagerImpl.init(MetadataManager.java:982) at org.apache.asterix.api.http.servlet.APIServlet.doPost(APIServlet.java:127) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:524) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java :303) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) at java.lang.Thread.run(Unknown Source) {noformat} Restart the instance again and then everything works. was: When I restarted an AsterixDB instance on Windows, I found the following exception in the log: {noformat} assembly\samples\local\data\red\txnlog\transaction_log_1 at org.apache.asterix.transaction.management.service.logging.LogManager.deleteAllLogFiles(LogManager.java:428) at org.apache.asterix.transaction.management.service.logging.LogManager.renewLogFiles(LogManager.java:357) at org.apache.asterix.transaction.management.service.recovery.CheckpointManager.doSharpCheckpoint(CheckpointMana ger.ja va:52) at org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint.notifyStartupComplete(NCApplicationEntryPoint.ja va:253 ) at org.apache.hyracks.control.nc.NodeControllerService.start(NodeControllerService.java:305) at org.apache.hyracks.control.nc.NCDriver.main(NCDriver.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.mojo.appassembler.booter.AppassemblerBooter.executeMain(AppassemblerBooter.java:233) at org.codehaus.mojo.appassembler.booter.AppassemblerBooter.main(AppassemblerBooter.java:65) Feb 19, 2017 8:47:35 AM org.apache.hyracks.control.nc.service.NCService launchNCProcess INFO: NCDriver exited with return value 1 Feb 19, 2017 8:47:35 AM org.apache.hyracks.control.nc.service.NCService main INFO: Waiting for connection from CC on null:9090 {noformat} After restarting, further queries will run into the following exception: {noformat} SEVERE: The MetadataNode failed to bind before the configured timeout (60 seconds); the MetadataNode was configured to run on NC: red org.apache.hyracks.api.exceptions.HyracksDataException: The MetadataNode failed to bind before the configured timeout ( 60 seconds); the MetadataNode was configured to run on NC: red at org.apache.asterix.metadata.MetadataManager$CCMetadataManagerImpl.init(MetadataManager.java:982) at org.apache.asterix.api.http.servlet.APIServlet.doPost(APIServlet.java:127) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:524) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java :303) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) at java.lang.Thread.run(Unknown Source) {noformat} > [Windows] log manager fails at startup time > ------------------------------------------- > > Key: ASTERIXDB-1801 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1801 > Project: Apache AsterixDB > Issue Type: Bug > Components: AsterixDB > Reporter: Yingyi Bu > Assignee: Till > Labels: Windows > > When I restarted an AsterixDB instance on Windows, I found the following exception in the log: > {noformat} > assembly\samples\local\data\red\txnlog\transaction_log_1 > at org.apache.asterix.transaction.management.service.logging.LogManager.deleteAllLogFiles(LogManager.java:428) > at org.apache.asterix.transaction.management.service.logging.LogManager.renewLogFiles(LogManager.java:357) > at org.apache.asterix.transaction.management.service.recovery.CheckpointManager.doSharpCheckpoint(CheckpointMana > ger.ja > va:52) > at org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint.notifyStartupComplete(NCApplicationEntryPoint.ja > va:253 > ) > at org.apache.hyracks.control.nc.NodeControllerService.start(NodeControllerService.java:305) > at org.apache.hyracks.control.nc.NCDriver.main(NCDriver.java:47) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.codehaus.mojo.appassembler.booter.AppassemblerBooter.executeMain(AppassemblerBooter.java:233) > at org.codehaus.mojo.appassembler.booter.AppassemblerBooter.main(AppassemblerBooter.java:65) > Feb 19, 2017 8:47:35 AM org.apache.hyracks.control.nc.service.NCService launchNCProcess > INFO: NCDriver exited with return value 1 > Feb 19, 2017 8:47:35 AM org.apache.hyracks.control.nc.service.NCService main > INFO: Waiting for connection from CC on null:9090 > {noformat} > After restarting, further queries will run into the following exception: > {noformat} > SEVERE: The MetadataNode failed to bind before the configured timeout (60 seconds); the MetadataNode was configured to > run on NC: red > org.apache.hyracks.api.exceptions.HyracksDataException: The MetadataNode failed to bind before the configured timeout ( > 60 seconds); the MetadataNode was configured to run on NC: red > at org.apache.asterix.metadata.MetadataManager$CCMetadataManagerImpl.init(MetadataManager.java:982) > at org.apache.asterix.api.http.servlet.APIServlet.doPost(APIServlet.java:127) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) > at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) > at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) > at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) > at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) > at org.eclipse.jetty.server.Server.handle(Server.java:524) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319) > at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253) > at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) > at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) > at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) > at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java > :303) > at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) > at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) > at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) > at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) > at java.lang.Thread.run(Unknown Source) > {noformat} > Restart the instance again and then everything works. -- This message was sent by Atlassian JIRA (v6.3.15#6346)