Skip to content

[HOTFIX]: Fix maven build missing some class - #3228

Closed
witgo wants to merge 1 commit into
apache:masterfrom
witgo:hotfix_repl
Closed

[HOTFIX]: Fix maven build missing some class#3228
witgo wants to merge 1 commit into
apache:masterfrom
witgo:hotfix_repl

Conversation

@witgo

Copy link
Copy Markdown
Contributor

The bug was caused by #3159

@witgo

Copy link
Copy Markdown
ContributorAuthor

@SparkQA

Copy link
Copy Markdown

Test build #23268 has started for PR 3228 at commit 7ea18a7.

  • This patch merges cleanly.

@srowen

Copy link
Copy Markdown
Member

+1 looks correct to me, as other occurrences of this profile are activated by default in modules. It would also explain the behavior we see.

@SparkQA

Copy link
Copy Markdown

Test build #23268 has finished for PR 3228 at commit 7ea18a7.

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

@AmplabJenkins

Copy link
Copy Markdown

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

@srowen

Copy link
Copy Markdown
Member

See SPARK-4375 now. There is more to fixing it than this it seems.

@ScrapCodes

Copy link
Copy Markdown
Member

Currently there is no way around not passing -Pscala-2.10/-Pscala-2.11 for maven users. We can either document this, or I am not sure if there is another way.

@witgo

Copy link
Copy Markdown
ContributorAuthor

How about the following?

 <profile>
<id>scala-2.10</id>
<activation>
<property>
<name>scala.version</name>
<value>2.10.4</value>
</property>
</activation>
<properties>
<scala.binary.version>2.10</scala.binary.version>
<jline.version>${scala.version}</jline.version>
<jline.groupid>org.scala-lang</jline.groupid>
</properties>
<modules>
<module>external/kafka</module>
</modules>
</profile>
<profile>
<id>scala-2.11</id>
<activation>
<property>
<name>scala.version</name>
<value>2.11.2</value>
</property>
</activation>
<properties>
<scala.binary.version>2.11</scala.binary.version>
<jline.version>2.12</jline.version>
<jline.groupid>jline</jline.groupid>
</properties>
</profile>

@sryza

Copy link
Copy Markdown
Contributor

That still requires the user to set "scala.version", right?

@witgo

Copy link
Copy Markdown
ContributorAuthor

Yes, it seems to work.It seems that the user must explicitly set scala.version.

@witgowitgo closed this Nov 13, 2014
@witgo
witgo deleted the hotfix_repl branch November 13, 2014 08:05
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@witgo@SparkQA@srowen@AmplabJenkins@ScrapCodes@sryza