{"action":"created","issue":{"url":"https://api.github.com/repos/apache/kafka/issues/698","labels_url":"https://api.github.com/repos/apache/kafka/issues/698/labels{/name}","comments_url":"https://api.github.com/repos/apache/kafka/issues/698/comments","events_url":"https://api.github.com/repos/apache/kafka/issues/698/events","html_url":"https://github.com/apache/kafka/pull/698","id":123042737,"number":698,"title":"KAFKA-1860","user":{"login":"MayureshGharat","id":4326831,"avatar_url":"https://avatars.githubusercontent.com/u/4326831?v=3","gravatar_id":"","url":"https://api.github.com/users/MayureshGharat","html_url":"https://github.com/MayureshGharat","followers_url":"https://api.github.com/users/MayureshGharat/followers","following_url":"https://api.github.com/users/MayureshGharat/following{/other_user}","gists_url":"https://api.github.com/users/MayureshGharat/gists{/gist_id}","starred_url":"https://api.github.com/users/MayureshGharat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MayureshGharat/subscriptions","organizations_url":"https://api.github.com/users/MayureshGharat/orgs","repos_url":"https://api.github.com/users/MayureshGharat/repos","events_url":"https://api.github.com/users/MayureshGharat/events{/privacy}","received_events_url":"https://api.github.com/users/MayureshGharat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T23:22:15Z","updated_at":"2015-12-21T03:25:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/kafka/pulls/698","html_url":"https://github.com/apache/kafka/pull/698","diff_url":"https://github.com/apache/kafka/pull/698.diff","patch_url":"https://github.com/apache/kafka/pull/698.patch"},"body":"The JVM should stop if the underlying file system goes in to Read only mode"},"comment":{"url":"https://api.github.com/repos/apache/kafka/issues/comments/166188115","html_url":"https://github.com/apache/kafka/pull/698#issuecomment-166188115","issue_url":"https://api.github.com/repos/apache/kafka/issues/698","id":166188115,"user":{"login":"lindong28","id":5873403,"avatar_url":"https://avatars.githubusercontent.com/u/5873403?v=3","gravatar_id":"","url":"https://api.github.com/users/lindong28","html_url":"https://github.com/lindong28","followers_url":"https://api.github.com/users/lindong28/followers","following_url":"https://api.github.com/users/lindong28/following{/other_user}","gists_url":"https://api.github.com/users/lindong28/gists{/gist_id}","starred_url":"https://api.github.com/users/lindong28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindong28/subscriptions","organizations_url":"https://api.github.com/users/lindong28/orgs","repos_url":"https://api.github.com/users/lindong28/repos","events_url":"https://api.github.com/users/lindong28/events{/privacy}","received_events_url":"https://api.github.com/users/lindong28/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T03:25:44Z","updated_at":"2015-12-21T03:25:44Z","body":"@MayureshGharat To address the issue explained in KAFKA-1860, would it be sufficient to catch the FileNotFoundExeption for the existing try/finally statement? I assume `writer.write(0.toString)` would throw the exception. It seems to be more fine grained than the existing approach."}}