{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8699","labels_url":"https://api.github.com/repos/apache/spark/issues/8699/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8699/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8699/events","html_url":"https://github.com/apache/spark/pull/8699","id":105830717,"number":8699,"title":"[SPARK-10537][ML] document LIBSVM source options in public API doc and some minor improvements","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-10T15:12:46Z","updated_at":"2015-09-10T15:18:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8699","html_url":"https://github.com/apache/spark/pull/8699","diff_url":"https://github.com/apache/spark/pull/8699.diff","patch_url":"https://github.com/apache/spark/pull/8699.patch"},"body":"We should document options in public API doc. Otherwise, it is hard to find out the options without looking at the code. I tried to make `DefaultSource` private and put the documentation to package doc. However, since then there exists no public class under `source.libsvm`, the Java package doc doesn't show up in the generated html file (http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4492654). So I put the doc to `DefaultSource` instead. There are several minor updates in this PR:\r\n\r\n1. Do `vectorType == \"sparse\"` only once.\r\n2. Update `hashCode` and `equals`.\r\n3. Remove inherited doc.\r\n4. Delete temp dir in `afterAll`.\r\n\r\n@Lewuathe"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/139277149","html_url":"https://github.com/apache/spark/pull/8699#issuecomment-139277149","issue_url":"https://api.github.com/repos/apache/spark/issues/8699","id":139277149,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T15:18:36Z","updated_at":"2015-09-10T15:18:36Z","body":"  [Test build #42270 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42270/consoleFull) for   PR 8699 at commit [`b7006cd`](https://github.com/apache/spark/commit/b7006cd6ae1e9e479123005c9925a0e3391ef5a6)."}}