{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9030","labels_url":"https://api.github.com/repos/apache/spark/issues/9030/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9030/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9030/events","html_url":"https://github.com/apache/spark/pull/9030","id":110515270,"number":9030,"title":"[SPARK-10914] UnsafeRow serialization breaks when two machines have different Oops size.","user":{"login":"rxin","id":323388,"avatar_url":"https://avatars.githubusercontent.com/u/323388?v=3","gravatar_id":"","url":"https://api.github.com/users/rxin","html_url":"https://github.com/rxin","followers_url":"https://api.github.com/users/rxin/followers","following_url":"https://api.github.com/users/rxin/following{/other_user}","gists_url":"https://api.github.com/users/rxin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxin/subscriptions","organizations_url":"https://api.github.com/users/rxin/orgs","repos_url":"https://api.github.com/users/rxin/repos","events_url":"https://api.github.com/users/rxin/events{/privacy}","received_events_url":"https://api.github.com/users/rxin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-08T18:35:51Z","updated_at":"2015-10-08T20:47:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9030","html_url":"https://github.com/apache/spark/pull/9030","diff_url":"https://github.com/apache/spark/pull/9030.diff","patch_url":"https://github.com/apache/spark/pull/9030.patch"},"body":"UnsafeRow contains 3 pieces of information when pointing to some data in memory (an object, a base offset, and length). When the row is serialized with Java/Kryo serialization, the object layout in memory can change if two machines have different pointer width (Oops in JVM).\r\n\r\nTo reproduce, launch Spark using\r\n\r\nMASTER=local-cluster[2,1,1024] bin/spark-shell --conf \"spark.executor.extraJavaOptions=-XX:-UseCompressedOops\"\r\n\r\nAnd then run the following\r\n\r\nscala> sql(\"select 1 xx\").collect()\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/146680712","html_url":"https://github.com/apache/spark/pull/9030#issuecomment-146680712","issue_url":"https://api.github.com/repos/apache/spark/issues/9030","id":146680712,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T20:47:30Z","updated_at":"2015-10-08T20:47:30Z","body":"Test FAILed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43414/\nTest FAILed."}}