{"action":"created","comment":{"url":"https://api.github.com/repos/apache/accumulo/pulls/comments/27628822","id":27628822,"diff_hunk":"@@ -0,0 +1,42 @@\n+/*\n+ * Licensed to the Apache Software Foundation (ASF) under one or more\n+ * contributor license agreements.  See the NOTICE file distributed with\n+ * this work for additional information regarding copyright ownership.\n+ * The ASF licenses this file to You under the Apache License, Version 2.0\n+ * (the \"License\"); you may not use this file except in compliance with\n+ * the License.  You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package org.apache.accumulo.core.client.mapred;\n+\n+import java.io.IOException;\n+import java.util.Collection;\n+\n+import org.apache.accumulo.core.data.Range;\n+import org.apache.hadoop.mapred.InputSplit;\n+\n+/**\n+ * The Class BatchInputSplit. Encapsulates Accumulo ranges for use in Map Reduce jobs.\n+ * Can contain several Ranges per InputSplit.\n+ */\n+public class BatchInputSplit extends org.apache.accumulo.core.client.mapreduce.BatchInputSplit implements InputSplit {","path":"core/src/main/java/org/apache/accumulo/core/client/mapred/BatchInputSplit.java","position":29,"original_position":29,"commit_id":"bc2a8efc4a172718b3aa75ba0fa9b7a055f4fce2","original_commit_id":"bc2a8efc4a172718b3aa75ba0fa9b7a055f4fce2","user":{"login":"joshelser","id":67863,"avatar_url":"https://avatars.githubusercontent.com/u/67863?v=3","gravatar_id":"","url":"https://api.github.com/users/joshelser","html_url":"https://github.com/joshelser","followers_url":"https://api.github.com/users/joshelser/followers","following_url":"https://api.github.com/users/joshelser/following{/other_user}","gists_url":"https://api.github.com/users/joshelser/gists{/gist_id}","starred_url":"https://api.github.com/users/joshelser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshelser/subscriptions","organizations_url":"https://api.github.com/users/joshelser/orgs","repos_url":"https://api.github.com/users/joshelser/repos","events_url":"https://api.github.com/users/joshelser/events{/privacy}","received_events_url":"https://api.github.com/users/joshelser/received_events","type":"User","site_admin":false},"body":"I'm not sure if we want these Split classes to actually be public API (https://github.com/apache/accumulo/blob/master/README.md#api). Probably better to put this in an impl/ package. For RangeInputSplit, it kind of got grandfathered in.","created_at":"2015-04-02T02:27:10Z","updated_at":"2015-04-02T02:27:10Z","html_url":"https://github.com/apache/accumulo/pull/25#discussion_r27628822","pull_request_url":"https://api.github.com/repos/apache/accumulo/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/apache/accumulo/pulls/comments/27628822"},"html":{"href":"https://github.com/apache/accumulo/pull/25#discussion_r27628822"},"pull_request":{"href":"https://api.github.com/repos/apache/accumulo/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/apache/accumulo/pulls/25","id":32374456,"html_url":"https://github.com/apache/accumulo/pull/25","diff_url":"https://github.com/apache/accumulo/pull/25.diff","patch_url":"https://github.com/apache/accumulo/pull/25.patch","issue_url":"https://api.github.com/repos/apache/accumulo/issues/25","number":25,"state":"open","locked":false,"title":"ACCUMULO-3602 BatchScanner optimization for AccumuloInputFormat","user":{"login":"echeipesh","id":1158084,"avatar_url":"https://avatars.githubusercontent.com/u/1158084?v=3","gravatar_id":"","url":"https://api.github.com/users/echeipesh","html_url":"https://github.com/echeipesh","followers_url":"https://api.github.com/users/echeipesh/followers","following_url":"https://api.github.com/users/echeipesh/following{/other_user}","gists_url":"https://api.github.com/users/echeipesh/gists{/gist_id}","starred_url":"https://api.github.com/users/echeipesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echeipesh/subscriptions","organizations_url":"https://api.github.com/users/echeipesh/orgs","repos_url":"https://api.github.com/users/echeipesh/repos","events_url":"https://api.github.com/users/echeipesh/events{/privacy}","received_events_url":"https://api.github.com/users/echeipesh/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-31T22:56:48Z","updated_at":"2015-04-02T02:27:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6171cf35449cf2086f2bf1c746d312d592b3fb86","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/accumulo/pulls/25/commits","review_comments_url":"https://api.github.com/repos/apache/accumulo/pulls/25/comments","review_comment_url":"https://api.github.com/repos/apache/accumulo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/accumulo/issues/25/comments","statuses_url":"https://api.github.com/repos/apache/accumulo/statuses/bc2a8efc4a172718b3aa75ba0fa9b7a055f4fce2","head":{"label":"echeipesh:ACCUMULO-3602","ref":"ACCUMULO-3602","sha":"bc2a8efc4a172718b3aa75ba0fa9b7a055f4fce2","user":{"login":"echeipesh","id":1158084,"avatar_url":"https://avatars.githubusercontent.com/u/1158084?v=3","gravatar_id":"","url":"https://api.github.com/users/echeipesh","html_url":"https://github.com/echeipesh","followers_url":"https://api.github.com/users/echeipesh/followers","following_url":"https://api.github.com/users/echeipesh/following{/other_user}","gists_url":"https://api.github.com/users/echeipesh/gists{/gist_id}","starred_url":"https://api.github.com/users/echeipesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echeipesh/subscriptions","organizations_url":"https://api.github.com/users/echeipesh/orgs","repos_url":"https://api.github.com/users/echeipesh/repos","events_url":"https://api.github.com/users/echeipesh/events{/privacy}","received_events_url":"https://api.github.com/users/echeipesh/received_events","type":"User","site_admin":false},"repo":{"id":30932951,"name":"accumulo","full_name":"echeipesh/accumulo","owner":{"login":"echeipesh","id":1158084,"avatar_url":"https://avatars.githubusercontent.com/u/1158084?v=3","gravatar_id":"","url":"https://api.github.com/users/echeipesh","html_url":"https://github.com/echeipesh","followers_url":"https://api.github.com/users/echeipesh/followers","following_url":"https://api.github.com/users/echeipesh/following{/other_user}","gists_url":"https://api.github.com/users/echeipesh/gists{/gist_id}","starred_url":"https://api.github.com/users/echeipesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echeipesh/subscriptions","organizations_url":"https://api.github.com/users/echeipesh/orgs","repos_url":"https://api.github.com/users/echeipesh/repos","events_url":"https://api.github.com/users/echeipesh/events{/privacy}","received_events_url":"https://api.github.com/users/echeipesh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/echeipesh/accumulo","description":"Mirror of Apache Accumulo","fork":true,"url":"https://api.github.com/repos/echeipesh/accumulo","forks_url":"https://api.github.com/repos/echeipesh/accumulo/forks","keys_url":"https://api.github.com/repos/echeipesh/accumulo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/echeipesh/accumulo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/echeipesh/accumulo/teams","hooks_url":"https://api.github.com/repos/echeipesh/accumulo/hooks","issue_events_url":"https://api.github.com/repos/echeipesh/accumulo/issues/events{/number}","events_url":"https://api.github.com/repos/echeipesh/accumulo/events","assignees_url":"https://api.github.com/repos/echeipesh/accumulo/assignees{/user}","branches_url":"https://api.github.com/repos/echeipesh/accumulo/branches{/branch}","tags_url":"https://api.github.com/repos/echeipesh/accumulo/tags","blobs_url":"https://api.github.com/repos/echeipesh/accumulo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/echeipesh/accumulo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/echeipesh/accumulo/git/refs{/sha}","trees_url":"https://api.github.com/repos/echeipesh/accumulo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/echeipesh/accumulo/statuses/{sha}","languages_url":"https://api.github.com/repos/echeipesh/accumulo/languages","stargazers_url":"https://api.github.com/repos/echeipesh/accumulo/stargazers","contributors_url":"https://api.github.com/repos/echeipesh/accumulo/contributors","subscribers_url":"https://api.github.com/repos/echeipesh/accumulo/subscribers","subscription_url":"https://api.github.com/repos/echeipesh/accumulo/subscription","commits_url":"https://api.github.com/repos/echeipesh/accumulo/commits{/sha}","git_commits_url":"https://api.github.com/repos/echeipesh/accumulo/git/commits{/sha}","comments_url":"https://api.github.com/repos/echeipesh/accumulo/comments{/number}","issue_comment_url":"https://api.github.com/repos/echeipesh/accumulo/issues/comments{/number}","contents_url":"https://api.github.com/repos/echeipesh/accumulo/contents/{+path}","compare_url":"https://api.github.com/repos/echeipesh/accumulo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/echeipesh/accumulo/merges","archive_url":"https://api.github.com/repos/echeipesh/accumulo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/echeipesh/accumulo/downloads","issues_url":"https://api.github.com/repos/echeipesh/accumulo/issues{/number}","pulls_url":"https://api.github.com/repos/echeipesh/accumulo/pulls{/number}","milestones_url":"https://api.github.com/repos/echeipesh/accumulo/milestones{/number}","notifications_url":"https://api.github.com/repos/echeipesh/accumulo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/echeipesh/accumulo/labels{/name}","releases_url":"https://api.github.com/repos/echeipesh/accumulo/releases{/id}","created_at":"2015-02-17T19:16:46Z","updated_at":"2015-02-17T19:16:53Z","pushed_at":"2015-04-01T19:18:00Z","git_url":"git://github.com/echeipesh/accumulo.git","ssh_url":"git@github.com:echeipesh/accumulo.git","clone_url":"https://github.com/echeipesh/accumulo.git","svn_url":"https://github.com/echeipesh/accumulo","homepage":"","size":43079,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"24c5dd1fb2b2002585c5f15e5368117ef1611ddd","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":2524488,"name":"accumulo","full_name":"apache/accumulo","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/accumulo","description":"Mirror of Apache Accumulo","fork":false,"url":"https://api.github.com/repos/apache/accumulo","forks_url":"https://api.github.com/repos/apache/accumulo/forks","keys_url":"https://api.github.com/repos/apache/accumulo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/accumulo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/accumulo/teams","hooks_url":"https://api.github.com/repos/apache/accumulo/hooks","issue_events_url":"https://api.github.com/repos/apache/accumulo/issues/events{/number}","events_url":"https://api.github.com/repos/apache/accumulo/events","assignees_url":"https://api.github.com/repos/apache/accumulo/assignees{/user}","branches_url":"https://api.github.com/repos/apache/accumulo/branches{/branch}","tags_url":"https://api.github.com/repos/apache/accumulo/tags","blobs_url":"https://api.github.com/repos/apache/accumulo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/accumulo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/accumulo/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/accumulo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/accumulo/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/accumulo/languages","stargazers_url":"https://api.github.com/repos/apache/accumulo/stargazers","contributors_url":"https://api.github.com/repos/apache/accumulo/contributors","subscribers_url":"https://api.github.com/repos/apache/accumulo/subscribers","subscription_url":"https://api.github.com/repos/apache/accumulo/subscription","commits_url":"https://api.github.com/repos/apache/accumulo/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/accumulo/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/accumulo/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/accumulo/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/accumulo/contents/{+path}","compare_url":"https://api.github.com/repos/apache/accumulo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/accumulo/merges","archive_url":"https://api.github.com/repos/apache/accumulo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/accumulo/downloads","issues_url":"https://api.github.com/repos/apache/accumulo/issues{/number}","pulls_url":"https://api.github.com/repos/apache/accumulo/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/accumulo/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/accumulo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/accumulo/labels{/name}","releases_url":"https://api.github.com/repos/apache/accumulo/releases{/id}","created_at":"2011-10-06T07:00:09Z","updated_at":"2015-04-01T22:07:46Z","pushed_at":"2015-04-01T22:07:46Z","git_url":"git://github.com/apache/accumulo.git","ssh_url":"git@github.com:apache/accumulo.git","clone_url":"https://github.com/apache/accumulo.git","svn_url":"https://github.com/apache/accumulo","homepage":"","size":76462,"stargazers_count":155,"watchers_count":155,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":84,"mirror_url":"git://git.apache.org/accumulo.git","open_issues_count":3,"forks":84,"open_issues":3,"watchers":155,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/accumulo/pulls/25"},"html":{"href":"https://github.com/apache/accumulo/pull/25"},"issue":{"href":"https://api.github.com/repos/apache/accumulo/issues/25"},"comments":{"href":"https://api.github.com/repos/apache/accumulo/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/accumulo/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/accumulo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/accumulo/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/apache/accumulo/statuses/bc2a8efc4a172718b3aa75ba0fa9b7a055f4fce2"}}}}