{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12143","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12143/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12143/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12143/events","html_url":"https://github.com/apache/spark/pull/12143","id":145581149,"number":12143,"title":"[SPARK-14301][Examples] Java examples code merge and clean up.","user":{"login":"yongtang","id":6932348,"avatar_url":"https://avatars.githubusercontent.com/u/6932348?v=3","gravatar_id":"","url":"https://api.github.com/users/yongtang","html_url":"https://github.com/yongtang","followers_url":"https://api.github.com/users/yongtang/followers","following_url":"https://api.github.com/users/yongtang/following{/other_user}","gists_url":"https://api.github.com/users/yongtang/gists{/gist_id}","starred_url":"https://api.github.com/users/yongtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongtang/subscriptions","organizations_url":"https://api.github.com/users/yongtang/orgs","repos_url":"https://api.github.com/users/yongtang/repos","events_url":"https://api.github.com/users/yongtang/events{/privacy}","received_events_url":"https://api.github.com/users/yongtang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-04-04T04:29:25Z","updated_at":"2016-04-08T12:20:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12143","html_url":"https://github.com/apache/spark/pull/12143","diff_url":"https://github.com/apache/spark/pull/12143.diff","patch_url":"https://github.com/apache/spark/pull/12143.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis fix tries to remove duplicate Java code in examples/mllib and examples/ml. The following changes have been made:\r\n\r\n```\r\ndeleted: ml/JavaCrossValidatorExample.java (duplicate of JavaModelSelectionViaCrossValidationExample.java)\r\ndeleted: ml/JavaTrainValidationSplitExample.java (duplicated of JavaModelSelectionViaTrainValidationSplitExample.java)\r\ndeleted: mllib/JavaFPGrowthExample.java (duplicate of JavaSimpleFPGrowth.java)\r\ndeleted: mllib/JavaLDAExample.java (duplicate of JavaLatentDirichletAllocationExample.java)\r\ndeleted: mllib/JavaKMeans.java (merged with JavaKMeansExample.java)\r\ndeleted: mllib/JavaLR.java (duplicate of JavaLinearRegressionWithSGDExample.java)\r\nupdated: mllib/JavaKMeansExample.java (merged with mllib/JavaKMeans.java)\r\n```\r\n\r\n## How was this patch tested?\r\nExisting tests passed."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/207409437","html_url":"https://github.com/apache/spark/pull/12143#issuecomment-207409437","issue_url":"https://api.github.com/repos/apache/spark/issues/12143","id":207409437,"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":"2016-04-08T12:20:59Z","updated_at":"2016-04-08T12:20:59Z","body":"**[Test build #55342 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55342/consoleFull)** for PR 12143 at commit [`dff87e6`](https://github.com/apache/spark/commit/dff87e6f70fe1a7036eb4d7d2eb5469fa00b923e).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds no public classes."}}