asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yingyi Bu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ASTERIXDB-1801) [Windows] log manager fails at restart time
Date Sun, 19 Feb 2017 09:20:44 GMT

     [ https://issues.apache.org/jira/browse/ASTERIXDB-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yingyi Bu updated ASTERIXDB-1801:
---------------------------------
    Summary: [Windows] log manager fails at restart time  (was: [Windows] log manager fails
at startup time)

> [Windows] log manager fails at restart 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)

Mime
View raw message