{"action":"created","issue":{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/1130","labels_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/1130/labels{/name}","comments_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/1130/comments","events_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/1130/events","html_url":"https://github.com/cooperative-computing-lab/cctools/pull/1130","id":128885634,"number":1130,"title":"Fix Chirp HDFS Crash on rmall","user":{"login":"dthain","id":2752914,"avatar_url":"https://avatars.githubusercontent.com/u/2752914?v=3","gravatar_id":"","url":"https://api.github.com/users/dthain","html_url":"https://github.com/dthain","followers_url":"https://api.github.com/users/dthain/followers","following_url":"https://api.github.com/users/dthain/following{/other_user}","gists_url":"https://api.github.com/users/dthain/gists{/gist_id}","starred_url":"https://api.github.com/users/dthain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dthain/subscriptions","organizations_url":"https://api.github.com/users/dthain/orgs","repos_url":"https://api.github.com/users/dthain/repos","events_url":"https://api.github.com/users/dthain/events{/privacy}","received_events_url":"https://api.github.com/users/dthain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/labels/Chirp","name":"Chirp","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"batrick","id":548304,"avatar_url":"https://avatars.githubusercontent.com/u/548304?v=3","gravatar_id":"","url":"https://api.github.com/users/batrick","html_url":"https://github.com/batrick","followers_url":"https://api.github.com/users/batrick/followers","following_url":"https://api.github.com/users/batrick/following{/other_user}","gists_url":"https://api.github.com/users/batrick/gists{/gist_id}","starred_url":"https://api.github.com/users/batrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batrick/subscriptions","organizations_url":"https://api.github.com/users/batrick/orgs","repos_url":"https://api.github.com/users/batrick/repos","events_url":"https://api.github.com/users/batrick/events{/privacy}","received_events_url":"https://api.github.com/users/batrick/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-01-26T17:24:59Z","updated_at":"2016-01-26T18:47:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/pulls/1130","html_url":"https://github.com/cooperative-computing-lab/cctools/pull/1130","diff_url":"https://github.com/cooperative-computing-lab/cctools/pull/1130.diff","patch_url":"https://github.com/cooperative-computing-lab/cctools/pull/1130.patch"},"body":"libhdfs crashes if you call unlink(x) and x does not exist.\r\n\"rmall\" needs to go through do_unlink to check for errors first."},"comment":{"url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/comments/175172692","html_url":"https://github.com/cooperative-computing-lab/cctools/pull/1130#issuecomment-175172692","issue_url":"https://api.github.com/repos/cooperative-computing-lab/cctools/issues/1130","id":175172692,"user":{"login":"dthain","id":2752914,"avatar_url":"https://avatars.githubusercontent.com/u/2752914?v=3","gravatar_id":"","url":"https://api.github.com/users/dthain","html_url":"https://github.com/dthain","followers_url":"https://api.github.com/users/dthain/followers","following_url":"https://api.github.com/users/dthain/following{/other_user}","gists_url":"https://api.github.com/users/dthain/gists{/gist_id}","starred_url":"https://api.github.com/users/dthain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dthain/subscriptions","organizations_url":"https://api.github.com/users/dthain/orgs","repos_url":"https://api.github.com/users/dthain/repos","events_url":"https://api.github.com/users/dthain/events{/privacy}","received_events_url":"https://api.github.com/users/dthain/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T18:47:47Z","updated_at":"2016-01-26T18:47:47Z","body":"I think you are seeing the right thing.  In this case the chirp server drops the connection, and then parrot just retries endlessly. With the patch, you see this behavior instead:\r\n\r\n2016/01/26 13:46:20.81 chirp_server[27769] hdfs: rmdir /testing/hosts\r\n2016/01/26 13:46:20.81 chirp_server[27769] hdfs: stat /testing/hosts\r\n2016/01/26 13:46:20.81 chirp_server[27769] chirp: = -3 (No such file or directory)\r\n"}}