drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arina Ielchiieva (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-5895) Fix unit tests for mongo storage plugin
Date Mon, 23 Oct 2017 10:37:00 GMT

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

Arina Ielchiieva updated DRILL-5895:
------------------------------------
    Labels: ready-to-commit  (was: )

> Fix unit tests for mongo storage plugin
> ---------------------------------------
>
>                 Key: DRILL-5895
>                 URL: https://issues.apache.org/jira/browse/DRILL-5895
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - MongoDB
>    Affects Versions: 1.11.0
>            Reporter: Volodymyr Tkach
>            Assignee: Volodymyr Tkach
>              Labels: ready-to-commit
>             Fix For: 1.12.0
>
>
> Mongo tests finish with following exception intermittently. It happens because  [timeout
value|https://github.com/flapdoodle-oss/de.flapdoodle.embed.process/blob/1.7/src/main/java/de/flapdoodle/embed/process/runtime/ProcessControl.java#L132]
from   de.flapdoodle.embed.process library is too low for the mongod process to be stopped
gracefully. 
> I have create [issue|https://github.com/flapdoodle-oss/de.flapdoodle.embed.process/issues/64]
to suggest making timeout configurable. For now as temporary solution we will log mongod exception
instead of throwing it.
> {noformat}
> [mongod output] Exception in thread "Thread-25" java.lang.IllegalStateException: Couldn't
kill mongod process!
> ----------------------------------------------------
> Something bad happend. We couldn't kill mongod process, and tried a lot.
> If you want this problem solved you can help us if you open a new issue.
> Follow this link:
> https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues
> Thank you:)
> ----------------------------------------------------
> 	at de.flapdoodle.embed.process.runtime.ProcessControl.waitForProcessGotKilled(ProcessControl.java:192)
> 	at de.flapdoodle.embed.process.runtime.ProcessControl.stop(ProcessControl.java:76)
> 	at de.flapdoodle.embed.process.runtime.AbstractProcess.stopProcess(AbstractProcess.java:189)
> 	at de.flapdoodle.embed.mongo.AbstractMongoProcess.stopInternal(AbstractMongoProcess.java:117)
> 	at de.flapdoodle.embed.process.runtime.AbstractProcess.stop(AbstractProcess.java:170)
> 	at de.flapdoodle.embed.process.runtime.Executable.stop(Executable.java:73)
> 	at de.flapdoodle.embed.process.runtime.Executable$JobKiller.run(Executable.java:90)
> 	at java.lang.Thread.run(Thread.java:745)
> Exception in thread "Thread-13" java.lang.IllegalStateException: Couldn't kill mongod
process!
> ----------------------------------------------------
> Something bad happend. We couldn't kill mongod process, and tried a lot.
> If you want this problem solved you can help us if you open a new issue.
> Follow this link:
> https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues
> Thank you:)
> ----------------------------------------------------
> 	at de.flapdoodle.embed.process.runtime.ProcessControl.waitForProcessGotKilled(ProcessControl.java:192)
> 	at de.flapdoodle.embed.process.runtime.ProcessControl.stop(ProcessControl.java:76)
> 	at de.flapdoodle.embed.process.runtime.AbstractProcess.stopProcess(AbstractProcess.java:189)
> 	at de.flapdoodle.embed.mongo.AbstractMongoProcess.stopInternal(AbstractMongoProcess.java:117)
> 	at de.flapdoodle.embed.process.runtime.AbstractProcess.stop(AbstractProcess.java:170)
> 	at de.flapdoodle.embed.process.runtime.Executable.stop(Executable.java:73)
> 	at de.flapdoodle.embed.process.runtime.Executable$JobKiller.run(Executable.java:90)
> 	at java.lang.Thread.run(Thread.java:745)
> Results :
> Tests in error: 
>   MongoTestSuit.tearDownCluster:260 ยป IllegalState Couldn't kill mongod process!...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message