{"action":"created","issue":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/493","repository_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver","labels_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/493/comments","events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/493/events","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/493","id":159347103,"number":493,"title":"Some issues using latest docker image.","user":{"login":"ruseinov","id":327569,"avatar_url":"https://avatars.githubusercontent.com/u/327569?v=3","gravatar_id":"","url":"https://api.github.com/users/ruseinov","html_url":"https://github.com/ruseinov","followers_url":"https://api.github.com/users/ruseinov/followers","following_url":"https://api.github.com/users/ruseinov/following{/other_user}","gists_url":"https://api.github.com/users/ruseinov/gists{/gist_id}","starred_url":"https://api.github.com/users/ruseinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruseinov/subscriptions","organizations_url":"https://api.github.com/users/ruseinov/orgs","repos_url":"https://api.github.com/users/ruseinov/repos","events_url":"https://api.github.com/users/ruseinov/events{/privacy}","received_events_url":"https://api.github.com/users/ruseinov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-09T07:49:47Z","updated_at":"2016-06-10T06:35:01Z","closed_at":null,"body":"First of all I had to modify the config in order for this thing to stop throwing time-outs and errors at me:\r\n```\r\nspray.can.server {\r\n  parsing.max-content-length = 50m\r\n  idle-timeout = 400s\r\n  request-timeout = 300s\r\n}\r\ndeploy {\r\n  manager-start-cmd = \"./app/manager_start.sh\"\r\n}\r\n```\r\n\r\nBut then, when I POST a jar to a jobserver I get:\r\n```\r\nUnexpected 0\r\n```\r\naltough jar appears in the list\r\n\r\nSometimes when I try to list jars I get ask timeout\r\n\r\nWhen I try to run the job in a jar I get a Future timeout 60 seconds error.\r\n\r\nI did investigate how it looks process-wise - there's a `manager_start.sh` being executed, but it exits really fast and then I get a Future timeout.\r\n\r\nThe job implements SparkJob trait and compiles just fine. Versions of spark and job-server libraries should also be all good. \r\n\r\nThere is no log output whatsoever about what's going wrong with upload or manager_start.sh"},"comment":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/comments/225104542","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/493#issuecomment-225104542","issue_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/493","id":225104542,"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":"2016-06-10T06:35:00Z","updated_at":"2016-06-10T06:35:00Z","body":"No….  dependent-jar-uris is a property of the CONTEXT config.   You can create a new context with updated dependent-jar-uris, no SJS restart is needed.   Only if you want dependent-jar-uris as part of the global SJS config do you need to restart SJS — but I think this is a bad idea anyways, it’s always better to localize dependencies on each context, rather than pollute all your contexts with it.\n\n> On Jun 9, 2016, at 11:15 PM, Noorul Islam K M <notifications@github.com> wrote:\n> \n> Doesn't this require spark-jobserver restart?\n> \n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub <https://github.com/spark-jobserver/spark-jobserver/issues/493#issuecomment-225102209>, or mute the thread <https://github.com/notifications/unsubscribe/ABA32xoUULTJ37AaoPfwlfuEE0tSGt0nks5qKQEbgaJpZM4Ixtga>.\n> \n\n"}}
{"actor":{"display_login":"velvia"}}