[ERROR] /home/flink/flink-runtime/src/test/scala/org/apache/flink/runtime/jobmanager/JobManagerITCase.scala:703: error: can't expand macros compiled by previous versions of Scala [ERROR] assert(cachedGraph2.isArchived) [ERROR] ^ [ERROR] one error found [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] flink .............................................. SUCCESS [ 24.820 s] [INFO] flink-annotations .................................. SUCCESS [ 2.755 s] [INFO] flink-shaded-hadoop ................................ SUCCESS [ 0.208 s] [INFO] flink-shaded-hadoop2 ............................... SUCCESS [ 15.627 s] [INFO] flink-shaded-include-yarn-tests .................... SUCCESS [ 17.076 s] [INFO] flink-shaded-curator ............................... SUCCESS [ 0.200 s] [INFO] flink-shaded-curator-recipes ....................... SUCCESS [ 2.751 s] [INFO] flink-shaded-curator-test .......................... SUCCESS [ 0.355 s] [INFO] flink-core ......................................... SUCCESS [ 33.052 s] [INFO] flink-java ......................................... SUCCESS [ 10.224 s] [INFO] flink-runtime ...................................... FAILURE [01:23 min] [INFO] flink-optimizer .................................... SKIPPED Thanks, Ritesh Kumar Singh, |
Hi Ritesh,
This problem seems already reported [1]. Flink community is investigating this issue. I think that if you don’t need Scala 2.11, use Scala 2.10 until the issue is solved. [1]: http://mail-archives.apache.org/mod_mbox/flink-user/201601.mbox/%3CCAB6CeiZ_2snN-piXzd3gHnyQePu_PA0Ro7qXUF8%3DVTxoyL0YyA%40mail.gmail.com%3E > On Jan 18, 2016, at 7:24 PM, Ritesh Kumar Singh <[hidden email]> wrote: > > [ERROR] /home/flink/flink-runtime/src/test/scala/org/apache/flink/runtime/jobmanager/JobManagerITCase.scala:703: error: can't expand macros compiled by previous versions of Scala > [ERROR] assert(cachedGraph2.isArchived) > [ERROR] ^ > [ERROR] one error found > [INFO] ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] flink .............................................. SUCCESS [ 24.820 s] > [INFO] flink-annotations .................................. SUCCESS [ 2.755 s] > [INFO] flink-shaded-hadoop ................................ SUCCESS [ 0.208 s] > [INFO] flink-shaded-hadoop2 ............................... SUCCESS [ 15.627 s] > [INFO] flink-shaded-include-yarn-tests .................... SUCCESS [ 17.076 s] > [INFO] flink-shaded-curator ............................... SUCCESS [ 0.200 s] > [INFO] flink-shaded-curator-recipes ....................... SUCCESS [ 2.751 s] > [INFO] flink-shaded-curator-test .......................... SUCCESS [ 0.355 s] > [INFO] flink-core ......................................... SUCCESS [ 33.052 s] > [INFO] flink-java ......................................... SUCCESS [ 10.224 s] > [INFO] flink-runtime ...................................... FAILURE [01:23 min] > [INFO] flink-optimizer .................................... SKIPPED > > > Any workaround for scala_2.11.4 or do I have to switch back to scala_2.10.4 ? > > Thanks, > Ritesh Kumar Singh, > https://riteshtoday.wordpress.com/ > Regards, Chiwan Park |
How did start the Flink for Scala 2.11 compilation ? On Mon, Jan 18, 2016 at 11:41 AM, Chiwan Park <[hidden email]> wrote: Hi Ritesh, |
Thanks for the replies. @Robert, the commands were as follows: $tools/change-scala-version.sh 2.11 $mvn clean install -DskipTests -Dscala.version=2.11.4 I hope I'm doing it right ? Thanks, Ritesh Kumar Singh, On Mon, Jan 18, 2016 at 12:03 PM, Robert Metzger <[hidden email]> wrote:
|
Assuming you haven’t already migrated back to 2.10, you might try this; $ git checkout release-0.10 $ tools/change-scala-version 2.11 $ mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -Dscala.version=2.11.4 -Dscala.binary.version=2.11 Then try building your project. Building under these conditions resolved my issue which emitted the same error. Prez Cannady p: 617 500 3378
|
Hi, in the latest master, the "tools/change-scala-version.sh" should be fixed. Also, the 1.0-SNAPSHOT version deployed to the snapshot repository should be good again. @Ritesh: The commands were correct. I'm not sure if Flink builds with Scala 2.11.4, the default 2.11 version we are using is 2.11.7. On Tue, Jan 19, 2016 at 7:41 AM, Prez Cannady <[hidden email]> wrote:
|
Thanks for the update Robert, I tried it out and it works fine for scala_2.11.4 version.
I've made a docker image of the same and put it up on the hub just in case anyone else needs it. Thanks, Ritesh Kumar Singh, On Wed, Jan 20, 2016 at 10:07 AM, Robert Metzger <[hidden email]> wrote:
|
Thanks for sharing, Ritesh!
Regards, Chiwan Park > On Jan 21, 2016, at 12:28 AM, Ritesh Kumar Singh <[hidden email]> wrote: > > Thanks for the update Robert, I tried it out and it works fine for scala_2.11.4 version. > I've made a docker image of the same and put it up on the hub just in case anyone else needs it. > > Thanks, > > Ritesh Kumar Singh, > https://riteshtoday.wordpress.com/ > > On Wed, Jan 20, 2016 at 10:07 AM, Robert Metzger <[hidden email]> wrote: > Hi, > > in the latest master, the "tools/change-scala-version.sh" should be fixed. Also, the 1.0-SNAPSHOT version deployed to the snapshot repository should be good again. > > @Ritesh: The commands were correct. I'm not sure if Flink builds with Scala 2.11.4, the default 2.11 version we are using is 2.11.7. > > > > On Tue, Jan 19, 2016 at 7:41 AM, Prez Cannady <[hidden email]> wrote: > Assuming you haven’t already migrated back to 2.10, you might try this; > > $ git checkout release-0.10 > $ tools/change-scala-version 2.11 > $ mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -Dscala.version=2.11.4 -Dscala.binary.version=2.11 > > Then try building your project. Building under these conditions resolved my issue which emitted the same error. > > Prez Cannady > p: 617 500 3378 > e: [hidden email] > GH: https://github.com/opencorrelate > LI: https://www.linkedin.com/in/revprez > > > > > > > > > >> On Jan 18, 2016, at 10:20 AM, Ritesh Kumar Singh <[hidden email]> wrote: >> >> Thanks for the replies. >> >> @Chiwan, I am switching back to scala_2.10.4 for the time being. I was using scala_2.11.4 as this is the version I've compiled spark with. But anyways, I can wait for the bug to be resolved. >> >> @Robert, the commands were as follows: >> $tools/change-scala-version.sh 2.11 >> $mvn clean install -DskipTests -Dscala.version=2.11.4 >> >> I hope I'm doing it right ? >> >> Thanks, >> >> Ritesh Kumar Singh, >> https://riteshtoday.wordpress.com/ >> >> On Mon, Jan 18, 2016 at 12:03 PM, Robert Metzger <[hidden email]> wrote: >> How did start the Flink for Scala 2.11 compilation ? >> >> On Mon, Jan 18, 2016 at 11:41 AM, Chiwan Park <[hidden email]> wrote: >> Hi Ritesh, >> >> This problem seems already reported [1]. Flink community is investigating this issue. I think that if you don’t need Scala 2.11, use Scala 2.10 until the issue is solved. >> >> [1]: http://mail-archives.apache.org/mod_mbox/flink-user/201601.mbox/%3CCAB6CeiZ_2snN-piXzd3gHnyQePu_PA0Ro7qXUF8%3DVTxoyL0YyA%40mail.gmail.com%3E >> >> > On Jan 18, 2016, at 7:24 PM, Ritesh Kumar Singh <[hidden email]> wrote: >> > >> > [ERROR] /home/flink/flink-runtime/src/test/scala/org/apache/flink/runtime/jobmanager/JobManagerITCase.scala:703: error: can't expand macros compiled by previous versions of Scala >> > [ERROR] assert(cachedGraph2.isArchived) >> > [ERROR] ^ >> > [ERROR] one error found >> > [INFO] ------------------------------------------------------------------------ >> > [INFO] Reactor Summary: >> > [INFO] >> > [INFO] flink .............................................. SUCCESS [ 24.820 s] >> > [INFO] flink-annotations .................................. SUCCESS [ 2.755 s] >> > [INFO] flink-shaded-hadoop ................................ SUCCESS [ 0.208 s] >> > [INFO] flink-shaded-hadoop2 ............................... SUCCESS [ 15.627 s] >> > [INFO] flink-shaded-include-yarn-tests .................... SUCCESS [ 17.076 s] >> > [INFO] flink-shaded-curator ............................... SUCCESS [ 0.200 s] >> > [INFO] flink-shaded-curator-recipes ....................... SUCCESS [ 2.751 s] >> > [INFO] flink-shaded-curator-test .......................... SUCCESS [ 0.355 s] >> > [INFO] flink-core ......................................... SUCCESS [ 33.052 s] >> > [INFO] flink-java ......................................... SUCCESS [ 10.224 s] >> > [INFO] flink-runtime ...................................... FAILURE [01:23 min] >> > [INFO] flink-optimizer .................................... SKIPPED >> > >> > >> > Any workaround for scala_2.11.4 or do I have to switch back to scala_2.10.4 ? >> > >> > Thanks, >> > Ritesh Kumar Singh, >> > https://riteshtoday.wordpress.com/ >> > >> >> Regards, >> Chiwan Park >> >> >> >> > > > > |
Free forum by Nabble | Edit this page |