{"action":"created","issue":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/120","labels_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/120/comments","events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/120/events","html_url":"https://github.com/spark-jobserver/spark-jobserver/pull/120","id":67246095,"number":120,"title":"JVM per context","user":{"login":"Ankit1010","id":855649,"avatar_url":"https://avatars.githubusercontent.com/u/855649?v=3","gravatar_id":"","url":"https://api.github.com/users/Ankit1010","html_url":"https://github.com/Ankit1010","followers_url":"https://api.github.com/users/Ankit1010/followers","following_url":"https://api.github.com/users/Ankit1010/following{/other_user}","gists_url":"https://api.github.com/users/Ankit1010/gists{/gist_id}","starred_url":"https://api.github.com/users/Ankit1010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ankit1010/subscriptions","organizations_url":"https://api.github.com/users/Ankit1010/orgs","repos_url":"https://api.github.com/users/Ankit1010/repos","events_url":"https://api.github.com/users/Ankit1010/events{/privacy}","received_events_url":"https://api.github.com/users/Ankit1010/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-08T23:53:11Z","updated_at":"2015-05-18T04:45:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/120","html_url":"https://github.com/spark-jobserver/spark-jobserver/pull/120","diff_url":"https://github.com/spark-jobserver/spark-jobserver/pull/120.diff","patch_url":"https://github.com/spark-jobserver/spark-jobserver/pull/120.patch"},"body":"Running each context in a separate process for issue #87"},"comment":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/comments/102920873","html_url":"https://github.com/spark-jobserver/spark-jobserver/pull/120#issuecomment-102920873","issue_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/120","id":102920873,"user":{"login":"velvia","id":1062875,"avatar_url":"https://avatars.githubusercontent.com/u/1062875?v=3","gravatar_id":"","url":"https://api.github.com/users/velvia","html_url":"https://github.com/velvia","followers_url":"https://api.github.com/users/velvia/followers","following_url":"https://api.github.com/users/velvia/following{/other_user}","gists_url":"https://api.github.com/users/velvia/gists{/gist_id}","starred_url":"https://api.github.com/users/velvia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/velvia/subscriptions","organizations_url":"https://api.github.com/users/velvia/orgs","repos_url":"https://api.github.com/users/velvia/repos","events_url":"https://api.github.com/users/velvia/events{/privacy}","received_events_url":"https://api.github.com/users/velvia/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T04:45:03Z","updated_at":"2015-05-18T04:45:03Z","body":"Pierre, many thanks for trying this out.  I'll be trying this out soon,\nhopefully.\n\nOn Sat, May 16, 2015 at 12:40 AM, Pierre Vincent <notifications@github.com>\nwrote:\n\n> That's great stuff @Ankit1010 <https://github.com/Ankit1010>, I tried\n> this out and this seems to be working well and solving issues with multiple\n> jobs running simultaneously (see #147\n> <https://github.com/spark-jobserver/spark-jobserver/issues/147>)\n>\n> Couple of comments though, as it seems there are some gaps in that Pull\n> Request as to what is required to wire the whole thing to run properly. I\n> understand these might be related to the work being in progress, but in\n> case somebody else wants to try this out... and also to make sure that\n> they're not forgotten about!\n>\n> I can add these comments inline in the files as well if that's better for\n> you?\n>\n> *Missing required configuration \"deploy.manager-start-cmd\"*\n>\n> There is no default value in the configuration for this entry. I worked\n> out from your own repo that this should be set to a path to\n> bin/manager_start.sh\n>\n> *manager_start.sh is not part of the deployed scripts*\n>\n> With this change, the Job Server needs this file to start contexts, so it\n> would make sense to make it part of the deployment.\n>\n> *setenv.sh is used for both manager_start.sh and server_start.sh but\n> checks if server is not already started*\n>\n> This causes the manager_start.sh to fail when creating context (POST to\n> /contexts fails).\n> Commenting out the check for existing PID works around the problem.\n> Obviously this needs a better solution.\n>\n> *akka issues with Oversize pay load when creating job*\n>\n> Once I was able to create contexts, creating jobs started throwing errors\n> like:\n>\n> akka.remote.OversizedPayloadException: Discarding oversized payload [...] max allowed size 128000 bytes\n>\n> Adding the following line in the Job Server configuration got rid of this\n> problem:\n>\n> akka.remote.netty.tcp.maximum-frame-size = 256000\n>\n> Now, my knowledge in Akka is limited so I'm not sure if that's a\n> recommended thing to do or if that error might point towards something that\n> is done wrong when creating the job.\n>\n> *Unable to run tests for assembly build*\n>\n> When building the JAR, I had to disable the tests in assembly because a\n> couple of them have compilation errors (JobManagerActorSpec and\n> JobStatusActorSpec). I understand that you didn't work out yet how to set\n> up the tests for the multi-JVM side of things, but it might be good to fix\n> the existing tests in the build - or to explicitly ignore them for the time\n> being, so that we can still run the rest of the tests in assembly.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/spark-jobserver/spark-jobserver/pull/120#issuecomment-102584516>\n> .\n>\n\n\n\n-- \nIf you are free, you need to free somebody else.\nIf you have some power, then your job is to empower somebody else.\n   --- Toni Morrison\n"}}