{"action":"created","comment":{"url":"https://api.github.com/repos/locationtech/geomesa/pulls/comments/25352235","id":25352235,"diff_hunk":"@@ -113,6 +109,14 @@ object KryoFeatureSerializer {\n \n   def apply(sft: SimpleFeatureType, decodeAs: SimpleFeatureType): KryoFeatureSerializer =\n     if (sft.eq(decodeAs)) apply(sft) else  apply(new TransformingSimpleFeatureSerializer(sft, decodeAs))\n+\n+  def setupKryo(kryo: Kryo, serializer: Serializer[SimpleFeature]): Unit = {\n+    kryo.setReferences(false)\n+    kryo.register(classOf[ScalaSimpleFeature], serializer,  kryo.getNextRegistrationId)\n+    kryo.register(classOf[KryoFeatureId], new FeatureIdSerializer(),  kryo.getNextRegistrationId)\n+    kryo.register(classOf[SimpleFeature], serializer,  kryo.getNextRegistrationId)\n+    kryo.register(classOf[AvroSimpleFeature], serializer,  kryo.getNextRegistrationId)","path":"geomesa-feature/src/main/scala/org/locationtech/geomesa/feature/kryo/KryoFeatureSerializer.scala","position":32,"original_position":32,"commit_id":"257c1dc16a617a10714cd244b414b449176a99ab","original_commit_id":"257c1dc16a617a10714cd244b414b449176a99ab","user":{"login":"dmcwhorter","id":1111095,"avatar_url":"https://avatars.githubusercontent.com/u/1111095?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcwhorter","html_url":"https://github.com/dmcwhorter","followers_url":"https://api.github.com/users/dmcwhorter/followers","following_url":"https://api.github.com/users/dmcwhorter/following{/other_user}","gists_url":"https://api.github.com/users/dmcwhorter/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcwhorter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcwhorter/subscriptions","organizations_url":"https://api.github.com/users/dmcwhorter/orgs","repos_url":"https://api.github.com/users/dmcwhorter/repos","events_url":"https://api.github.com/users/dmcwhorter/events{/privacy}","received_events_url":"https://api.github.com/users/dmcwhorter/received_events","type":"User","site_admin":false},"body":"ill try it, and post back","created_at":"2015-02-25T16:12:42Z","updated_at":"2015-02-25T16:12:42Z","html_url":"https://github.com/locationtech/geomesa/pull/482#discussion_r25352235","pull_request_url":"https://api.github.com/repos/locationtech/geomesa/pulls/482","_links":{"self":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/comments/25352235"},"html":{"href":"https://github.com/locationtech/geomesa/pull/482#discussion_r25352235"},"pull_request":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/482"}}},"pull_request":{"url":"https://api.github.com/repos/locationtech/geomesa/pulls/482","id":29994708,"html_url":"https://github.com/locationtech/geomesa/pull/482","diff_url":"https://github.com/locationtech/geomesa/pull/482.diff","patch_url":"https://github.com/locationtech/geomesa/pull/482.patch","issue_url":"https://api.github.com/repos/locationtech/geomesa/issues/482","number":482,"state":"open","locked":false,"title":"GEOMESA-701 Fixing GeoMesa Spark to work correctly with Kryo serializati...","user":{"login":"dmcwhorter","id":1111095,"avatar_url":"https://avatars.githubusercontent.com/u/1111095?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcwhorter","html_url":"https://github.com/dmcwhorter","followers_url":"https://api.github.com/users/dmcwhorter/followers","following_url":"https://api.github.com/users/dmcwhorter/following{/other_user}","gists_url":"https://api.github.com/users/dmcwhorter/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcwhorter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcwhorter/subscriptions","organizations_url":"https://api.github.com/users/dmcwhorter/orgs","repos_url":"https://api.github.com/users/dmcwhorter/repos","events_url":"https://api.github.com/users/dmcwhorter/events{/privacy}","received_events_url":"https://api.github.com/users/dmcwhorter/received_events","type":"User","site_admin":false},"body":"...on, including using already existing Kryo serializer to serialize features.","created_at":"2015-02-25T15:15:44Z","updated_at":"2015-02-25T16:12:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7659d0e95d60aa04faa80867c622937773bee9b7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/locationtech/geomesa/pulls/482/commits","review_comments_url":"https://api.github.com/repos/locationtech/geomesa/pulls/482/comments","review_comment_url":"https://api.github.com/repos/locationtech/geomesa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/locationtech/geomesa/issues/482/comments","statuses_url":"https://api.github.com/repos/locationtech/geomesa/statuses/257c1dc16a617a10714cd244b414b449176a99ab","head":{"label":"dmcwhorter:fcr_fix_spark_kryo_serialization","ref":"fcr_fix_spark_kryo_serialization","sha":"257c1dc16a617a10714cd244b414b449176a99ab","user":{"login":"dmcwhorter","id":1111095,"avatar_url":"https://avatars.githubusercontent.com/u/1111095?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcwhorter","html_url":"https://github.com/dmcwhorter","followers_url":"https://api.github.com/users/dmcwhorter/followers","following_url":"https://api.github.com/users/dmcwhorter/following{/other_user}","gists_url":"https://api.github.com/users/dmcwhorter/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcwhorter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcwhorter/subscriptions","organizations_url":"https://api.github.com/users/dmcwhorter/orgs","repos_url":"https://api.github.com/users/dmcwhorter/repos","events_url":"https://api.github.com/users/dmcwhorter/events{/privacy}","received_events_url":"https://api.github.com/users/dmcwhorter/received_events","type":"User","site_admin":false},"repo":{"id":22264424,"name":"geomesa","full_name":"dmcwhorter/geomesa","owner":{"login":"dmcwhorter","id":1111095,"avatar_url":"https://avatars.githubusercontent.com/u/1111095?v=3","gravatar_id":"","url":"https://api.github.com/users/dmcwhorter","html_url":"https://github.com/dmcwhorter","followers_url":"https://api.github.com/users/dmcwhorter/followers","following_url":"https://api.github.com/users/dmcwhorter/following{/other_user}","gists_url":"https://api.github.com/users/dmcwhorter/gists{/gist_id}","starred_url":"https://api.github.com/users/dmcwhorter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmcwhorter/subscriptions","organizations_url":"https://api.github.com/users/dmcwhorter/orgs","repos_url":"https://api.github.com/users/dmcwhorter/repos","events_url":"https://api.github.com/users/dmcwhorter/events{/privacy}","received_events_url":"https://api.github.com/users/dmcwhorter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmcwhorter/geomesa","description":"","fork":true,"url":"https://api.github.com/repos/dmcwhorter/geomesa","forks_url":"https://api.github.com/repos/dmcwhorter/geomesa/forks","keys_url":"https://api.github.com/repos/dmcwhorter/geomesa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmcwhorter/geomesa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmcwhorter/geomesa/teams","hooks_url":"https://api.github.com/repos/dmcwhorter/geomesa/hooks","issue_events_url":"https://api.github.com/repos/dmcwhorter/geomesa/issues/events{/number}","events_url":"https://api.github.com/repos/dmcwhorter/geomesa/events","assignees_url":"https://api.github.com/repos/dmcwhorter/geomesa/assignees{/user}","branches_url":"https://api.github.com/repos/dmcwhorter/geomesa/branches{/branch}","tags_url":"https://api.github.com/repos/dmcwhorter/geomesa/tags","blobs_url":"https://api.github.com/repos/dmcwhorter/geomesa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmcwhorter/geomesa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmcwhorter/geomesa/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmcwhorter/geomesa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmcwhorter/geomesa/statuses/{sha}","languages_url":"https://api.github.com/repos/dmcwhorter/geomesa/languages","stargazers_url":"https://api.github.com/repos/dmcwhorter/geomesa/stargazers","contributors_url":"https://api.github.com/repos/dmcwhorter/geomesa/contributors","subscribers_url":"https://api.github.com/repos/dmcwhorter/geomesa/subscribers","subscription_url":"https://api.github.com/repos/dmcwhorter/geomesa/subscription","commits_url":"https://api.github.com/repos/dmcwhorter/geomesa/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmcwhorter/geomesa/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmcwhorter/geomesa/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmcwhorter/geomesa/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmcwhorter/geomesa/contents/{+path}","compare_url":"https://api.github.com/repos/dmcwhorter/geomesa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmcwhorter/geomesa/merges","archive_url":"https://api.github.com/repos/dmcwhorter/geomesa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmcwhorter/geomesa/downloads","issues_url":"https://api.github.com/repos/dmcwhorter/geomesa/issues{/number}","pulls_url":"https://api.github.com/repos/dmcwhorter/geomesa/pulls{/number}","milestones_url":"https://api.github.com/repos/dmcwhorter/geomesa/milestones{/number}","notifications_url":"https://api.github.com/repos/dmcwhorter/geomesa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmcwhorter/geomesa/labels{/name}","releases_url":"https://api.github.com/repos/dmcwhorter/geomesa/releases{/id}","created_at":"2014-07-25T17:08:43Z","updated_at":"2014-09-01T01:01:51Z","pushed_at":"2015-02-25T16:09:36Z","git_url":"git://github.com/dmcwhorter/geomesa.git","ssh_url":"git@github.com:dmcwhorter/geomesa.git","clone_url":"https://github.com/dmcwhorter/geomesa.git","svn_url":"https://github.com/dmcwhorter/geomesa","homepage":null,"size":6885,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"accumulo1.5.x/1.x"}},"base":{"label":"locationtech:accumulo1.5.x/1.x","ref":"accumulo1.5.x/1.x","sha":"a5c215e2093208ec11bef2162a0d758ce1dad29a","user":{"login":"locationtech","id":1991411,"avatar_url":"https://avatars.githubusercontent.com/u/1991411?v=3","gravatar_id":"","url":"https://api.github.com/users/locationtech","html_url":"https://github.com/locationtech","followers_url":"https://api.github.com/users/locationtech/followers","following_url":"https://api.github.com/users/locationtech/following{/other_user}","gists_url":"https://api.github.com/users/locationtech/gists{/gist_id}","starred_url":"https://api.github.com/users/locationtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locationtech/subscriptions","organizations_url":"https://api.github.com/users/locationtech/orgs","repos_url":"https://api.github.com/users/locationtech/repos","events_url":"https://api.github.com/users/locationtech/events{/privacy}","received_events_url":"https://api.github.com/users/locationtech/received_events","type":"Organization","site_admin":false},"repo":{"id":13226069,"name":"geomesa","full_name":"locationtech/geomesa","owner":{"login":"locationtech","id":1991411,"avatar_url":"https://avatars.githubusercontent.com/u/1991411?v=3","gravatar_id":"","url":"https://api.github.com/users/locationtech","html_url":"https://github.com/locationtech","followers_url":"https://api.github.com/users/locationtech/followers","following_url":"https://api.github.com/users/locationtech/following{/other_user}","gists_url":"https://api.github.com/users/locationtech/gists{/gist_id}","starred_url":"https://api.github.com/users/locationtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locationtech/subscriptions","organizations_url":"https://api.github.com/users/locationtech/orgs","repos_url":"https://api.github.com/users/locationtech/repos","events_url":"https://api.github.com/users/locationtech/events{/privacy}","received_events_url":"https://api.github.com/users/locationtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/locationtech/geomesa","description":"","fork":false,"url":"https://api.github.com/repos/locationtech/geomesa","forks_url":"https://api.github.com/repos/locationtech/geomesa/forks","keys_url":"https://api.github.com/repos/locationtech/geomesa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/locationtech/geomesa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/locationtech/geomesa/teams","hooks_url":"https://api.github.com/repos/locationtech/geomesa/hooks","issue_events_url":"https://api.github.com/repos/locationtech/geomesa/issues/events{/number}","events_url":"https://api.github.com/repos/locationtech/geomesa/events","assignees_url":"https://api.github.com/repos/locationtech/geomesa/assignees{/user}","branches_url":"https://api.github.com/repos/locationtech/geomesa/branches{/branch}","tags_url":"https://api.github.com/repos/locationtech/geomesa/tags","blobs_url":"https://api.github.com/repos/locationtech/geomesa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/locationtech/geomesa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/locationtech/geomesa/git/refs{/sha}","trees_url":"https://api.github.com/repos/locationtech/geomesa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/locationtech/geomesa/statuses/{sha}","languages_url":"https://api.github.com/repos/locationtech/geomesa/languages","stargazers_url":"https://api.github.com/repos/locationtech/geomesa/stargazers","contributors_url":"https://api.github.com/repos/locationtech/geomesa/contributors","subscribers_url":"https://api.github.com/repos/locationtech/geomesa/subscribers","subscription_url":"https://api.github.com/repos/locationtech/geomesa/subscription","commits_url":"https://api.github.com/repos/locationtech/geomesa/commits{/sha}","git_commits_url":"https://api.github.com/repos/locationtech/geomesa/git/commits{/sha}","comments_url":"https://api.github.com/repos/locationtech/geomesa/comments{/number}","issue_comment_url":"https://api.github.com/repos/locationtech/geomesa/issues/comments{/number}","contents_url":"https://api.github.com/repos/locationtech/geomesa/contents/{+path}","compare_url":"https://api.github.com/repos/locationtech/geomesa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/locationtech/geomesa/merges","archive_url":"https://api.github.com/repos/locationtech/geomesa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/locationtech/geomesa/downloads","issues_url":"https://api.github.com/repos/locationtech/geomesa/issues{/number}","pulls_url":"https://api.github.com/repos/locationtech/geomesa/pulls{/number}","milestones_url":"https://api.github.com/repos/locationtech/geomesa/milestones{/number}","notifications_url":"https://api.github.com/repos/locationtech/geomesa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/locationtech/geomesa/labels{/name}","releases_url":"https://api.github.com/repos/locationtech/geomesa/releases{/id}","created_at":"2013-09-30T20:13:46Z","updated_at":"2015-02-24T17:22:02Z","pushed_at":"2015-02-24T23:15:36Z","git_url":"git://github.com/locationtech/geomesa.git","ssh_url":"git@github.com:locationtech/geomesa.git","clone_url":"https://github.com/locationtech/geomesa.git","svn_url":"https://github.com/locationtech/geomesa","homepage":null,"size":16823,"stargazers_count":56,"watchers_count":56,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":39,"mirror_url":null,"open_issues_count":11,"forks":39,"open_issues":11,"watchers":56,"default_branch":"accumulo1.5.x/1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/482"},"html":{"href":"https://github.com/locationtech/geomesa/pull/482"},"issue":{"href":"https://api.github.com/repos/locationtech/geomesa/issues/482"},"comments":{"href":"https://api.github.com/repos/locationtech/geomesa/issues/482/comments"},"review_comments":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/482/comments"},"review_comment":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/482/commits"},"statuses":{"href":"https://api.github.com/repos/locationtech/geomesa/statuses/257c1dc16a617a10714cd244b414b449176a99ab"}}}}