{"action":"created","issue":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/173","labels_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/173/comments","events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/173/events","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/173","id":89188249,"number":173,"title":"No configuration setting found for key 'akka.version'","user":{"login":"ChenYanting","id":7411682,"avatar_url":"https://avatars.githubusercontent.com/u/7411682?v=3","gravatar_id":"","url":"https://api.github.com/users/ChenYanting","html_url":"https://github.com/ChenYanting","followers_url":"https://api.github.com/users/ChenYanting/followers","following_url":"https://api.github.com/users/ChenYanting/following{/other_user}","gists_url":"https://api.github.com/users/ChenYanting/gists{/gist_id}","starred_url":"https://api.github.com/users/ChenYanting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChenYanting/subscriptions","organizations_url":"https://api.github.com/users/ChenYanting/orgs","repos_url":"https://api.github.com/users/ChenYanting/repos","events_url":"https://api.github.com/users/ChenYanting/events{/privacy}","received_events_url":"https://api.github.com/users/ChenYanting/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-18T03:32:22Z","updated_at":"2015-06-25T01:07:14Z","closed_at":null,"body":"Hi\r\n\r\nI have a Spark JobServer with dependent-jar-uris setting. dependent-jar-uris points to a dependency jar file. Sometimes, I have to upload a new version of the dependency jar file to the same location in order to replace the old one without stopping the JobServer. \r\n\r\nThen, when I create the context, I always see the error message below.\r\n>\r\n  \"status\": \"CONTEXT INIT ERROR\",\r\n  \"result\": {\r\n    \"message\": \"No configuration setting found for key 'akka.version'\",\r\n    \"errorClass\": \"com.typesafe.config.ConfigException$Missing\",\r\n    \"stack\": [\"com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:124)\", \"com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:145)\", \"com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:151)\", \"com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:159)\", \"com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:164)\", \"com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:206)\", \"akka.actor.ActorSystem$Settings.<init>(ActorSystem.scala:168)\", \"akka.actor.ActorSystemImpl.<init>(ActorSystem.scala:504)\", \"akka.actor.ActorSystem$.apply(ActorSystem.scala:141)\", \"akka.actor.ActorSystem$.apply(ActorSystem.scala:118)\", \"org.apache.spark.util.AkkaUtils$.org$apache$spark$util$AkkaUtils$$doCreateActorSystem(AkkaUtils.scala:122)\", \"org.apache.spark.util.AkkaUtils$$anonfun$1.apply(AkkaUtils.scala:55)\", \"org.apache.spark.util.AkkaUtils$$anonfun$1.apply(AkkaUtils.scala:54)\", \"org.apache.spark.util.Utils$$anonfun$startServiceOnPort$1.apply$mcVI$sp(Utils.scala:1837)\", \"scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)\", \"org.apache.spark.util.Utils$.startServiceOnPort(Utils.scala:1828)\", \"org.apache.spark.util.AkkaUtils$.createActorSystem(AkkaUtils.scala:57)\", \"org.apache.spark.SparkEnv$.create(SparkEnv.scala:223)\", \"org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:163)\", \"org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:269)\", \"org.apache.spark.SparkContext.<init>(SparkContext.scala:272)\", \"spark.jobserver.context.DefaultSparkContextFactory$$anon$1.<init>(SparkContextFactory.scala:41)\", \"spark.jobserver.context.DefaultSparkContextFactory.makeContext(SparkContextFactory.scala:41)\", \"spark.jobserver.context.DefaultSparkContextFactory.makeContext(SparkContextFactory.scala:34)\", \"spark.jobserver.JobManagerActor.createContextFromConfig(JobManagerActor.scala:268)\", \"spark.jobserver.JobManagerActor$$anonfun$wrappedReceive$1.applyOrElse(JobManagerActor.scala:106)\", \"scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)\", \"scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)\", \"scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)\", \"ooyala.common.akka.ActorStack$$anonfun$receive$1.applyOrElse(ActorStack.scala:33)\", \"scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)\", \"scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)\", \"scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)\", \"ooyala.common.akka.Slf4jLogging$$anonfun$receive$1$$anonfun$applyOrElse$1.apply$mcV$sp(Slf4jLogging.scala:26)\", \"ooyala.common.akka.Slf4jLogging$class.ooyala$common$akka$Slf4jLogging$$withAkkaSourceLogging(Slf4jLogging.scala:35)\", \"ooyala.common.akka.Slf4jLogging$$anonfun$receive$1.applyOrElse(Slf4jLogging.scala:25)\", \"scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)\", \"scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)\", \"scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)\", \"ooyala.common.akka.ActorMetrics$$anonfun$receive$1.applyOrElse(ActorMetrics.scala:24)\", \"akka.actor.Actor$class.aroundReceive(Actor.scala:465)\", \"ooyala.common.akka.InstrumentedActor.aroundReceive(InstrumentedActor.scala:8)\", \"akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)\", \"akka.actor.ActorCell.invoke(ActorCell.scala:487)\", \"akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)\", \"akka.dispatch.Mailbox.run(Mailbox.scala:220)\", \"akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)\", \"scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\", \"scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\", \"scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\", \"scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\"]\r\n\r\nHowever, if I restart the JobServer, it works well as before. \r\n\r\nAs a result, how do I make the JobServer work well after I replace a new dependency file?"},"comment":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/comments/115059574","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/173#issuecomment-115059574","issue_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/173","id":115059574,"user":{"login":"ChenYanting","id":7411682,"avatar_url":"https://avatars.githubusercontent.com/u/7411682?v=3","gravatar_id":"","url":"https://api.github.com/users/ChenYanting","html_url":"https://github.com/ChenYanting","followers_url":"https://api.github.com/users/ChenYanting/followers","following_url":"https://api.github.com/users/ChenYanting/following{/other_user}","gists_url":"https://api.github.com/users/ChenYanting/gists{/gist_id}","starred_url":"https://api.github.com/users/ChenYanting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChenYanting/subscriptions","organizations_url":"https://api.github.com/users/ChenYanting/orgs","repos_url":"https://api.github.com/users/ChenYanting/repos","events_url":"https://api.github.com/users/ChenYanting/events{/privacy}","received_events_url":"https://api.github.com/users/ChenYanting/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T01:07:14Z","updated_at":"2015-06-25T01:07:14Z","body":"@velvia \r\nDo you have any further idea about this issue?"}}