Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-4661][Core] Minor code and docs cleanup #3521

Closed
wants to merge 1 commit into from
Closed

[SPARK-4661][Core] Minor code and docs cleanup #3521

wants to merge 1 commit into from

Conversation

zsxwing
Copy link
Member

@zsxwing zsxwing commented Dec 1, 2014

No description provided.

@SparkQA
Copy link

SparkQA commented Dec 1, 2014

Test build #23967 has started for PR 3521 at commit 16f41cd.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Dec 1, 2014

Test build #537 has started for PR 3521 at commit 16f41cd.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Dec 1, 2014

Test build #23967 has finished for PR 3521 at commit 16f41cd.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/23967/
Test FAILed.

@SparkQA
Copy link

SparkQA commented Dec 1, 2014

Test build #537 has finished for PR 3521 at commit 16f41cd.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • trait ConnectionFactory extends Serializable
    • class MatrixFactorizationModel(
    • class CompressedSerializer(FramedSerializer):

@JoshRosen
Copy link
Contributor

[warn] 6 warnings found
[error] /home/jenkins/workspace/NewSparkPullRequestBuilder/core/src/test/java/org/apache/spark/JavaAPISuite.java:1384: error: incompatible types
[error]     SomeCustomClass[] collected = rdd.rdd().retag(SomeCustomClass.class).collect();
[error]                                                                                 ^
[error]   required: SomeCustomClass[]
[error]   found:    Object
[error] Note: /home/jenkins/workspace/NewSparkPullRequestBuilder/core/src/test/java/org/apache/spark/JavaAPISuite.java uses or overrides a deprecated API.
[error] Note: Recompile with -Xlint:deprecation for details.
[error] 1 error

That's a really weird test failure. I think that some other PR must have broken the build; I'll investigate.

@JoshRosen
Copy link
Contributor

Actually, nevermind; looks like that was caused by this PR's changes.

@zsxwing
Copy link
Member Author

zsxwing commented Dec 1, 2014

That's a really weird test failure. I think that some other PR must have broken the build; I'll investigate.

My mistake. I thought casting to SomeCustomClass[] was unnecessary and removed it. But it's necessary because the compiler cannot infer the type.

@SparkQA
Copy link

SparkQA commented Dec 1, 2014

Test build #23969 has started for PR 3521 at commit 03cbe3f.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Dec 1, 2014

Test build #23969 has finished for PR 3521 at commit 03cbe3f.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/23969/
Test PASSed.

@rxin
Copy link
Contributor

rxin commented Dec 1, 2014

Merging in master & branch-1.2. Thanks.

asfgit pushed a commit that referenced this pull request Dec 1, 2014
Author: zsxwing <zsxwing@gmail.com>

Closes #3521 from zsxwing/SPARK-4661 and squashes the following commits:

03cbe3f [zsxwing] Minor code and docs cleanup

(cherry picked from commit 30a86ac)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@asfgit asfgit closed this in 30a86ac Dec 1, 2014
@zsxwing zsxwing deleted the SPARK-4661 branch December 1, 2014 08:38
@srowen
Copy link
Member

srowen commented Dec 1, 2014

@zsxwing I know it's too late, but the cast should also have a @SuppressWarnings("unchecked"), ideally, to avoid another warnings. I have some things like this taken care of in another open PR: https://www.github.com/apache/spark/pull/3157

@zsxwing
Copy link
Member Author

zsxwing commented Dec 1, 2014

but the cast should also have a @SuppressWarnings("unchecked"), ideally, to avoid another warnings. I have some things like this taken care of in another open PR:

@srowen, yes. Then it's better to add it in your PR :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants