You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jake Maes (JIRA)" <ji...@apache.org> on 2017/10/05 16:11:00 UTC

[jira] [Commented] (SAMZA-1443) Build breaks on the current master branch when using Scala 2.10

    [ https://issues.apache.org/jira/browse/SAMZA-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193109#comment-16193109 ] 

Jake Maes commented on SAMZA-1443:
----------------------------------

I'm pretty sure it was caused by the change for SAMZA-1109 to enable scala joint compilation for samza-api. Here's the PR: 
https://github.com/apache/samza/pull/293

[~pmaheshwari] IIRC there was going to be a follow up JIRA/PR to convert the serdes that were moved to samza-api to Java and remove the joint compilation. I think that will fix this issue, so if you can send me the JIRA for that, I'll mark this one as a dupe. 

Steps to produce clean build with Scala 2.10:

{noFormat}
// 1. Checkout the commit where we last fixed the scala 2.10 build
 git checkout 987180a17f73912be89d093268aa64875fe33e14
// 2. Edit `gradle.properties` to set scalaVersion=2.10
// 3. build
./gradlew clean build
{noFormat}

Steps to reproduce the issue.
{noFormat}
// 1. Checkout the commit for SAMZA--1109. Note the git tree is a little messed up. If you grab any of the commits in between, it doesn't seem to include the original scala 2.10 fix. :-/
 git checkout f16ba2692ef85a624ce5f9050ddb6b9bce3dbf6c
// 2. Edit `gradle.properties` to set scalaVersion=2.10
// 3. build
./gradlew clean build
{noFormat}

> Build breaks on the current master branch when using Scala 2.10
> ---------------------------------------------------------------
>
>                 Key: SAMZA-1443
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1443
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Daniel Nishimura
>            Assignee: Jake Maes
>
> Error here:
> {code}
> [ant:scalac] /Users/dnishimu/code/github/samza/samza-api/src/main/java/org/apache/samza/operators/MessageStream.java:159: error: `;' expected but `{' found.
> [ant:scalac]   static <T> MessageStream<T> mergeAll(Collection<? extends MessageStream<? extends T>> streams) {
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)