Database 'default' is in an inconsistent state!
See original GitHub issueHello All
I have run the updated 1.sql ( including the drop table ) still i am facing the issue, can you all please help me
I have also run the following - ( based on FAQ link )
export jvm_args=“-Devolutionplugin=enabled -DapplyEvolutions.default=true -mem 1024 -J-Xloggc:$project_root…/logs/elephant/dr-gc.date +'%Y%m%d%H%M'
-J-XX:+PrintGCDetails”
export jvm_props=“-Devolutionplugin=enabled and -DapplyEvolutions.default=true”
nohup /apps/dr_elephant/target/universal/dr-elephant-2.0.13/bin/dr-elephant -Djava.library.path=/lib/native -Dhttp.port=8080 -Ddb.default.url=“jdbc:mysql://it00512:3306/drelephant?characterEncoding=UTF-8"” -Ddb.default.user=root -Ddb.default.password=********* > /apps/dr_elephant/dr.log 2>&1
Error stack trace -
SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/apps/dr_elephant/target/universal/dr-elephant-2.0.13/lib/ch.qos.logback.logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/apps/dr_elephant/target/universal/dr-elephant-2.0.13/lib/org.slf4j.slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/apps/dr_elephant/target/universal/dr-elephant-2.0.13/lib/org.slf4j.slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/apps/opt/cloudera/parcels/CDH-5.11.2-1.cdh5.11.2.p2699.2946/jars/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] [info] play - database [default] connected at jdbc:mysql://it00512:3306/drelephant?characterEncoding=UTF-8 [error] play - Oops, cannot start the server. @76pacppo4: Database ‘default’ is in an inconsistent state! at play.api.db.evolutions.Evolutions$.checkEvolutionsState(Evolutions.scala:193) at play.api.db.evolutions.Evolutions$.databaseEvolutions(Evolutions.scala:348) at play.api.db.evolutions.Evolutions$$anonfun$evolutionScript$2.apply(Evolutions.scala:313) at play.api.db.evolutions.Evolutions$$anonfun$evolutionScript$2.apply(Evolutions.scala:311) at scala.Option.map(Option.scala:145) at play.api.db.evolutions.Evolutions$.evolutionScript(Evolutions.scala:311) at play.api.db.evolutions.EvolutionsPlugin$$anonfun$onStart$1$$anonfun$apply$1.apply$mcV$sp(Evolutions.scala:462) at play.api.db.evolutions.EvolutionsPlugin.withLock(Evolutions.scala:507) at play.api.db.evolutions.EvolutionsPlugin$$anonfun$onStart$1.apply(Evolutions.scala:461) at play.api.db.evolutions.EvolutionsPlugin$$anonfun$onStart$1.apply(Evolutions.scala:459) at scala.collection.immutable.List.foreach(List.scala:318) at play.api.db.evolutions.EvolutionsPlugin.onStart(Evolutions.scala:459) at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:88) at play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:88) at scala.collection.immutable.List.foreach(List.scala:318) at play.api.Play$$anonfun$start$1.apply$mcV$sp(Play.scala:88) at play.api.Play$$anonfun$start$1.apply(Play.scala:88) at play.api.Play$$anonfun$start$1.apply(Play.scala:88) at play.utils.Threads$.withContextClassLoader(Threads.scala:18) at play.api.Play$.start(Play.scala:87) at play.core.StaticApplication.<init>(ApplicationProvider.scala:52) at play.core.server.NettyServer$.createServer(NettyServer.scala:280) at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:316) at play.core.server.NettyServer$$anonfun$main$3.apply(NettyServer.scala:311) at scala.Option.map(Option.scala:145) at play.core.server.NettyServer$.main(NettyServer.scala:311) at play.core.server.NettyServer.main(NettyServer.scala)
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (2 by maintainers)
Top GitHub Comments
To fix this problem, you must install mysql 5.7+ or mariadb 10.2+.
@jibran123 you can refer to dr-elephant/issues#230