{"action":"opened","number":1185,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/pulls/1185","id":207131484,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MTMxNDg0","html_url":"https://github.com/elastic/elasticsearch-hadoop/pull/1185","diff_url":"https://github.com/elastic/elasticsearch-hadoop/pull/1185.diff","patch_url":"https://github.com/elastic/elasticsearch-hadoop/pull/1185.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/1185","number":1185,"state":"open","locked":false,"title":"make sure the RestRepository is initialized when calling delete() method","user":{"login":"jaratec","id":1075090,"node_id":"MDQ6VXNlcjEwNzUwOTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1075090?v=4","gravatar_id":"","url":"https://api.github.com/users/jaratec","html_url":"https://github.com/jaratec","followers_url":"https://api.github.com/users/jaratec/followers","following_url":"https://api.github.com/users/jaratec/following{/other_user}","gists_url":"https://api.github.com/users/jaratec/gists{/gist_id}","starred_url":"https://api.github.com/users/jaratec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaratec/subscriptions","organizations_url":"https://api.github.com/users/jaratec/orgs","repos_url":"https://api.github.com/users/jaratec/repos","events_url":"https://api.github.com/users/jaratec/events{/privacy}","received_events_url":"https://api.github.com/users/jaratec/received_events","type":"User","site_admin":false},"body":"This pull request is a fix for the following bug. When trying to create an index from a Spark job, by using the overwrite flag, the method delete() of RestRepository is called. However the bulk processor/writer are not initialized, thus causing an exception.\r\n\r\nPS: I have signed the [Contributor License Agreement (CLA)][]\r\n[Contributor License Agreement (CLA)]: https://www.elastic.co/contributor-agreement/\r\n","created_at":"2018-08-08T20:42:10Z","updated_at":"2018-08-08T20:42:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/pulls/1185/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/pulls/1185/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/1185/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/statuses/6ed90f48e2d330ad6320ff1ac344ebba6fab6f84","head":{"label":"jaratec:master","ref":"master","sha":"6ed90f48e2d330ad6320ff1ac344ebba6fab6f84","user":{"login":"jaratec","id":1075090,"node_id":"MDQ6VXNlcjEwNzUwOTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1075090?v=4","gravatar_id":"","url":"https://api.github.com/users/jaratec","html_url":"https://github.com/jaratec","followers_url":"https://api.github.com/users/jaratec/followers","following_url":"https://api.github.com/users/jaratec/following{/other_user}","gists_url":"https://api.github.com/users/jaratec/gists{/gist_id}","starred_url":"https://api.github.com/users/jaratec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaratec/subscriptions","organizations_url":"https://api.github.com/users/jaratec/orgs","repos_url":"https://api.github.com/users/jaratec/repos","events_url":"https://api.github.com/users/jaratec/events{/privacy}","received_events_url":"https://api.github.com/users/jaratec/received_events","type":"User","site_admin":false},"repo":{"id":143202645,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMyMDI2NDU=","name":"elasticsearch-hadoop","full_name":"jaratec/elasticsearch-hadoop","owner":{"login":"jaratec","id":1075090,"node_id":"MDQ6VXNlcjEwNzUwOTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1075090?v=4","gravatar_id":"","url":"https://api.github.com/users/jaratec","html_url":"https://github.com/jaratec","followers_url":"https://api.github.com/users/jaratec/followers","following_url":"https://api.github.com/users/jaratec/following{/other_user}","gists_url":"https://api.github.com/users/jaratec/gists{/gist_id}","starred_url":"https://api.github.com/users/jaratec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaratec/subscriptions","organizations_url":"https://api.github.com/users/jaratec/orgs","repos_url":"https://api.github.com/users/jaratec/repos","events_url":"https://api.github.com/users/jaratec/events{/privacy}","received_events_url":"https://api.github.com/users/jaratec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaratec/elasticsearch-hadoop","description":" :elephant: Elasticsearch real-time search and analytics natively integrated with Hadoop","fork":true,"url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop","forks_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/forks","keys_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/teams","hooks_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/hooks","issue_events_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/issues/events{/number}","events_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/events","assignees_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/assignees{/user}","branches_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/branches{/branch}","tags_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/tags","blobs_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/statuses/{sha}","languages_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/languages","stargazers_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/stargazers","contributors_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/contributors","subscribers_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/subscribers","subscription_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/subscription","commits_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/contents/{+path}","compare_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/merges","archive_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/downloads","issues_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/issues{/number}","pulls_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/pulls{/number}","milestones_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/milestones{/number}","notifications_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/labels{/name}","releases_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/releases{/id}","deployments_url":"https://api.github.com/repos/jaratec/elasticsearch-hadoop/deployments","created_at":"2018-08-01T19:57:37Z","updated_at":"2018-08-08T20:36:52Z","pushed_at":"2018-08-08T20:36:50Z","git_url":"git://github.com/jaratec/elasticsearch-hadoop.git","ssh_url":"git@github.com:jaratec/elasticsearch-hadoop.git","clone_url":"https://github.com/jaratec/elasticsearch-hadoop.git","svn_url":"https://github.com/jaratec/elasticsearch-hadoop","homepage":"https://www.elastic.co/products/hadoop","size":7072,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"11d04c3e35a085da4e58a8713164bba885c25c89","user":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":8710734,"node_id":"MDEwOlJlcG9zaXRvcnk4NzEwNzM0","name":"elasticsearch-hadoop","full_name":"elastic/elasticsearch-hadoop","owner":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch-hadoop","description":" :elephant: Elasticsearch real-time search and analytics natively integrated with Hadoop","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch-hadoop","forks_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/elasticsearch-hadoop/deployments","created_at":"2013-03-11T18:57:37Z","updated_at":"2018-08-08T14:43:35Z","pushed_at":"2018-08-01T17:02:09Z","git_url":"git://github.com/elastic/elasticsearch-hadoop.git","ssh_url":"git@github.com:elastic/elasticsearch-hadoop.git","clone_url":"https://github.com/elastic/elasticsearch-hadoop.git","svn_url":"https://github.com/elastic/elasticsearch-hadoop","homepage":"https://www.elastic.co/products/hadoop","size":7072,"stargazers_count":1305,"watchers_count":1305,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":715,"mirror_url":null,"archived":false,"open_issues_count":85,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":715,"open_issues":85,"watchers":1305,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch-hadoop/pulls/1185"},"html":{"href":"https://github.com/elastic/elasticsearch-hadoop/pull/1185"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/1185"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch-hadoop/issues/1185/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch-hadoop/pulls/1185/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch-hadoop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch-hadoop/pulls/1185/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch-hadoop/statuses/6ed90f48e2d330ad6320ff1ac344ebba6fab6f84"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"jaratec"}}