{"action":"created","issue":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/464","repository_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver","labels_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/464/comments","events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/464/events","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/464","id":155211479,"number":464,"title":"Update jar file and re-run the same context of last jar don't work","user":{"login":"giaosudau","id":539238,"avatar_url":"https://avatars.githubusercontent.com/u/539238?v=3","gravatar_id":"","url":"https://api.github.com/users/giaosudau","html_url":"https://github.com/giaosudau","followers_url":"https://api.github.com/users/giaosudau/followers","following_url":"https://api.github.com/users/giaosudau/following{/other_user}","gists_url":"https://api.github.com/users/giaosudau/gists{/gist_id}","starred_url":"https://api.github.com/users/giaosudau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giaosudau/subscriptions","organizations_url":"https://api.github.com/users/giaosudau/orgs","repos_url":"https://api.github.com/users/giaosudau/repos","events_url":"https://api.github.com/users/giaosudau/events{/privacy}","received_events_url":"https://api.github.com/users/giaosudau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-17T09:13:41Z","updated_at":"2016-05-17T10:34:01Z","closed_at":null,"body":"I re upload the jar after change some code but when re-run with the same class I change don't work.\r\n\r\n```bash \r\ncurl -i -d \"config.path=/Users/giaosudau/IdeaProjects/ImpressionMetric/src/main/resources/test.conf\" 'localhost:8090/jobs?appName=test-cassandra-4&classPath=job.SqlLoaderJob&context=sql_context'\r\n```\r\n\r\nEven I did change the location of jar but it still didn't work.\r\nI need to create a new context then it works.\r\nSo when I wanna update a jar I need to create a new context?"},"comment":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/comments/219680334","html_url":"https://github.com/spark-jobserver/spark-jobserver/issues/464#issuecomment-219680334","issue_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/464","id":219680334,"user":{"login":"hntd187","id":6778339,"avatar_url":"https://avatars.githubusercontent.com/u/6778339?v=3","gravatar_id":"","url":"https://api.github.com/users/hntd187","html_url":"https://github.com/hntd187","followers_url":"https://api.github.com/users/hntd187/followers","following_url":"https://api.github.com/users/hntd187/following{/other_user}","gists_url":"https://api.github.com/users/hntd187/gists{/gist_id}","starred_url":"https://api.github.com/users/hntd187/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hntd187/subscriptions","organizations_url":"https://api.github.com/users/hntd187/orgs","repos_url":"https://api.github.com/users/hntd187/repos","events_url":"https://api.github.com/users/hntd187/events{/privacy}","received_events_url":"https://api.github.com/users/hntd187/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T10:34:01Z","updated_at":"2016-05-17T10:34:01Z","body":"Yes, spark contexts are immutable. Once a jar is loaded into the context you can't update it. "}}