{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/4279","labels_url":"https://api.github.com/repos/apache/spark/issues/4279/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/4279/comments","events_url":"https://api.github.com/repos/apache/spark/issues/4279/events","html_url":"https://github.com/apache/spark/pull/4279","id":55970778,"number":4279,"title":"[SPARK-5486] Added validate method to BlockMatrix","user":{"login":"brkyvz","id":5243515,"avatar_url":"https://avatars.githubusercontent.com/u/5243515?v=3","gravatar_id":"","url":"https://api.github.com/users/brkyvz","html_url":"https://github.com/brkyvz","followers_url":"https://api.github.com/users/brkyvz/followers","following_url":"https://api.github.com/users/brkyvz/following{/other_user}","gists_url":"https://api.github.com/users/brkyvz/gists{/gist_id}","starred_url":"https://api.github.com/users/brkyvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brkyvz/subscriptions","organizations_url":"https://api.github.com/users/brkyvz/orgs","repos_url":"https://api.github.com/users/brkyvz/repos","events_url":"https://api.github.com/users/brkyvz/events{/privacy}","received_events_url":"https://api.github.com/users/brkyvz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-29T23:02:50Z","updated_at":"2015-01-30T21:59:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/4279","html_url":"https://github.com/apache/spark/pull/4279","diff_url":"https://github.com/apache/spark/pull/4279.diff","patch_url":"https://github.com/apache/spark/pull/4279.patch"},"body":"The `validate` method will allow users to debug their `BlockMatrix`, if operations like `add` or `multiply` return unexpected results. It checks the following properties in a `BlockMatrix`:\r\n- Are the dimensions of the `BlockMatrix` consistent with what the user entered: (`nRows`, `nCols`)\r\n- Are the dimensions of each `MatrixBlock` consistent with what the user entered: (`rowsPerBlock`, `colsPerBlock`)\r\n- Are there blocks with duplicate indices"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/72277672","html_url":"https://github.com/apache/spark/pull/4279#issuecomment-72277672","issue_url":"https://api.github.com/repos/apache/spark/issues/4279","id":72277672,"user":{"login":"mengxr","id":829644,"avatar_url":"https://avatars.githubusercontent.com/u/829644?v=3","gravatar_id":"","url":"https://api.github.com/users/mengxr","html_url":"https://github.com/mengxr","followers_url":"https://api.github.com/users/mengxr/followers","following_url":"https://api.github.com/users/mengxr/following{/other_user}","gists_url":"https://api.github.com/users/mengxr/gists{/gist_id}","starred_url":"https://api.github.com/users/mengxr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengxr/subscriptions","organizations_url":"https://api.github.com/users/mengxr/orgs","repos_url":"https://api.github.com/users/mengxr/repos","events_url":"https://api.github.com/users/mengxr/events{/privacy}","received_events_url":"https://api.github.com/users/mengxr/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T21:59:48Z","updated_at":"2015-01-30T21:59:48Z","body":"LGTM. Merged into master. Thanks!"}}