{"action":"closed","issue":{"url":"https://api.github.com/repos/ukwa/webarchive-discovery/issues/149","repository_url":"https://api.github.com/repos/ukwa/webarchive-discovery","labels_url":"https://api.github.com/repos/ukwa/webarchive-discovery/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/ukwa/webarchive-discovery/issues/149/comments","events_url":"https://api.github.com/repos/ukwa/webarchive-discovery/issues/149/events","html_url":"https://github.com/ukwa/webarchive-discovery/issues/149","id":283877766,"node_id":"MDU6SXNzdWUyODM4Nzc3NjY=","number":149,"title":"Time limiting for analysers causes the JVM to hang","user":{"login":"tokee","id":199454,"node_id":"MDQ6VXNlcjE5OTQ1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/199454?v=4","gravatar_id":"","url":"https://api.github.com/users/tokee","html_url":"https://github.com/tokee","followers_url":"https://api.github.com/users/tokee/followers","following_url":"https://api.github.com/users/tokee/following{/other_user}","gists_url":"https://api.github.com/users/tokee/gists{/gist_id}","starred_url":"https://api.github.com/users/tokee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokee/subscriptions","organizations_url":"https://api.github.com/users/tokee/orgs","repos_url":"https://api.github.com/users/tokee/repos","events_url":"https://api.github.com/users/tokee/events{/privacy}","received_events_url":"https://api.github.com/users/tokee/received_events","type":"User","site_admin":false},"labels":[{"id":22717773,"node_id":"MDU6TGFiZWwyMjcxNzc3Mw==","url":"https://api.github.com/repos/ukwa/webarchive-discovery/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"tokee","id":199454,"node_id":"MDQ6VXNlcjE5OTQ1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/199454?v=4","gravatar_id":"","url":"https://api.github.com/users/tokee","html_url":"https://github.com/tokee","followers_url":"https://api.github.com/users/tokee/followers","following_url":"https://api.github.com/users/tokee/following{/other_user}","gists_url":"https://api.github.com/users/tokee/gists{/gist_id}","starred_url":"https://api.github.com/users/tokee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokee/subscriptions","organizations_url":"https://api.github.com/users/tokee/orgs","repos_url":"https://api.github.com/users/tokee/repos","events_url":"https://api.github.com/users/tokee/events{/privacy}","received_events_url":"https://api.github.com/users/tokee/received_events","type":"User","site_admin":false},"assignees":[{"login":"tokee","id":199454,"node_id":"MDQ6VXNlcjE5OTQ1NA==","avatar_url":"https://avatars1.githubusercontent.com/u/199454?v=4","gravatar_id":"","url":"https://api.github.com/users/tokee","html_url":"https://github.com/tokee","followers_url":"https://api.github.com/users/tokee/followers","following_url":"https://api.github.com/users/tokee/following{/other_user}","gists_url":"https://api.github.com/users/tokee/gists{/gist_id}","starred_url":"https://api.github.com/users/tokee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokee/subscriptions","organizations_url":"https://api.github.com/users/tokee/orgs","repos_url":"https://api.github.com/users/tokee/repos","events_url":"https://api.github.com/users/tokee/events{/privacy}","received_events_url":"https://api.github.com/users/tokee/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ukwa/webarchive-discovery/milestones/6","html_url":"https://github.com/ukwa/webarchive-discovery/milestone/6","labels_url":"https://api.github.com/repos/ukwa/webarchive-discovery/milestones/6/labels","id":1291242,"node_id":"MDk6TWlsZXN0b25lMTI5MTI0Mg==","number":6,"title":"3.0.0 Release","description":"Updating to Java 7, Solr 5. Numerous minor tweaks, additions and bugfixes.","creator":{"login":"anjackson","id":87843,"node_id":"MDQ6VXNlcjg3ODQz","avatar_url":"https://avatars2.githubusercontent.com/u/87843?v=4","gravatar_id":"","url":"https://api.github.com/users/anjackson","html_url":"https://github.com/anjackson","followers_url":"https://api.github.com/users/anjackson/followers","following_url":"https://api.github.com/users/anjackson/following{/other_user}","gists_url":"https://api.github.com/users/anjackson/gists{/gist_id}","starred_url":"https://api.github.com/users/anjackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anjackson/subscriptions","organizations_url":"https://api.github.com/users/anjackson/orgs","repos_url":"https://api.github.com/users/anjackson/repos","events_url":"https://api.github.com/users/anjackson/events{/privacy}","received_events_url":"https://api.github.com/users/anjackson/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":36,"state":"closed","created_at":"2015-09-04T20:04:41Z","updated_at":"2018-09-25T11:02:30Z","due_on":"2018-09-19T07:00:00Z","closed_at":"2018-09-19T15:32:00Z"},"comments":1,"created_at":"2017-12-21T13:11:19Z","updated_at":"2018-09-25T11:02:30Z","closed_at":"2018-09-25T11:02:29Z","author_association":"COLLABORATOR","body":"In order to bypass the Halting Problem, multiple analysers in `warc-indexer` creates a Runnable with the job, wraps it in a `Thread` and waits for the `Thread` to finish with a timeout. If it does not finish, an interrupt is called. \r\n\r\nThe problem with this approach is that interrupts are not guaranteed to terminate Threads, so there can be running Threads when overall processing of the WARC files has finished. This can block the indexer from finishing as the JVM waits for the Threads.\r\n\r\nThe solution is to make all Threads daemons, which tells the JVM that it does not have to wait for them on exit."}}
{"actor":{"display_login":"anjackson"}}