flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Márton Balassi <balassi.mar...@gmail.com>
Subject Re: Questions about flink-streaming-examples
Date Thu, 26 Feb 2015 09:48:10 GMT
Thanks, changing it.

On Thu, Feb 26, 2015 at 10:45 AM, Till Rohrmann <trohrmann@apache.org>
wrote:

> If the streaming-examples module uses the <classifier> tag to add the
> test-core dependency then we should change it into <type> tag as
> recommended by maven [1]. Otherwise it might come to build failures if the
> install lifecycle is not executed.
>
> The dependency import should look like:
>
> <dependency>
>   <groupId>org.apache.flink</groupId>
>   <artifactId>flink-streaming-core</artifactId>
>   <version>${project.version}</version>
>   <scope>test</scope>
>   <type>test-jar</type>
> </dependency>
>
> [1] http://maven.apache.org/guides/mini/guide-attached-tests.html
>
> On Thu, Feb 26, 2015 at 10:31 AM, Robert Metzger <rmetzger@apache.org>
> wrote:
>
> > To update the local repository, you have to do execute the "install"
> goal.
> > I can recommend to always do a  "mvn clean install"
> >
> > On Thu, Feb 26, 2015 at 10:11 AM, Matthias J. Sax <
> > mjsax@informatik.hu-berlin.de> wrote:
> >
> > > Thanks for clarifying Marton!
> > >
> > > I was on the latest build already. However, my local maven repository
> > > contained old jars. After removing all flink-jars from my local maven
> > > repository it works!
> > >
> > > Why does maven no automatically update the local repository?
> > >
> > >
> > > -Matthias
> > >
> > >
> > >
> > > On 02/26/2015 09:20 AM, Márton Balassi wrote:
> > > > Dear Mathias,
> > > >
> > > > Thanks for reporting the issue. I have successfully built
> > > > flink-streaming-examples with maven, you can depend on test classes,
> > the
> > > > following in the pom does the trick:
> > > >
> > > > <dependency>
> > > >   <groupId>org.apache.flink</groupId>
> > > >   <artifactId>flink-streaming-core</artifactId>
> > > >   <version>${project.version}</version>
> > > >   <scope>test</scope>
> > > >   <classifier>tests</classifier>
> > > > </dependency>
> > > >
> > > > This tells maven that the test classes of the examples (scope) might
> > > depend
> > > > on the tests of the core (classifier). Without explicitly stating the
> > > tests
> > > > classifier indeed maven only uses the classes under src/main.
> > > >
> > > > I think the problem occurred because you only built
> > > > flink-streaming-examples and you might have used an outdated version
> of
> > > the
> > > > flink-streaming-core as a dependency installed to your local maven
> > > > repository - which did not include the StreamingTestBase yet. The
> > change
> > > > that we are talking is about a week old, I wrote it.
> > > >
> > > > Kind regards,
> > > >
> > > > Marton
> > > >
> > > > On Thu, Feb 26, 2015 at 9:04 AM, Matthias J. Sax <
> > > > mjsax@informatik.hu-berlin.de> wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> I just build "flink-streaming" and avoid the problem. I guess, that
> > the
> > > >> issue is related to the module structure and dependencies.
> > > >> "flink-streaming-examples" uses
> > > >> org.apache.flink.streaming.util.StreamingProgramTestBase (that is
> > > >> defined in "flink-streaming-core/src/TEST"
> > > >>
> > > >> From my understanding, maven does not support dependencies into
> > src/test
> > > >> but only into src/main (maybe I am wrong about this).
> > > >>
> > > >> I would suggest, to move StreamingProgramTestBase into a new module
> > > >> "flink-streaming-testUtils" (into src/main) and change the
> dependency
> > of
> > > >> flink-streaming-examples accordingly.
> > > >>
> > > >> Why the build work on the parent-project, is still a riddle to me...
> > But
> > > >> it seems that the dependency into scr/test can be resolved for this
> > > case.
> > > >>
> > > >>
> > > >> -Matthias
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> On 02/25/2015 06:12 PM, Dulaj Viduranga wrote:
> > > >>> Hi,
> > > >>> Were you able to solve this? It seams the examples depend on
> > > >> "flink-streaming-core”. I think you have to build it before.
> > > >>>
> > > >>>> On Feb 25, 2015, at 10:04 PM, Matthias J. Sax <
> > > >> mjsax@informatik.hu-berlin.de> wrote:
> > > >>>>
> > > >>>> Thanks!
> > > >>>>
> > > >>>> Even if I am not a building and/or maven expert, it seems
to me
> that
> > > the
> > > >>>> dependencies are not configures correctly... No clue how to
fix
> it.
> > > But
> > > >>>> it might be a good idea to have a look into it IMHO.
> > > >>>>
> > > >>>> -Matthias
> > > >>>>
> > > >>>>
> > > >>>> On 02/25/2015 05:07 PM, Stephan Ewen wrote:
> > > >>>>> Hi Matthias!
> > > >>>>>
> > > >>>>> Can you try "mvn clean package"? It package is generally
> preferable
> > > to
> > > >>>>> compile, in my opinion.
> > > >>>>>
> > > >>>>> There may be a dependency through a test jar that is not
properly
> > > >> handled
> > > >>>>> when you do not execute the package goal.
> > > >>>>>
> > > >>>>> Stephan
> > > >>>>> Am 25.02.2015 16:54 schrieb "Max Michels" <mxm@apache.org>:
> > > >>>>>
> > > >>>>>> Hi Matthias,
> > > >>>>>>
> > > >>>>>> Did you really pull from the latest master? I just
tried to
> > compile
> > > >>>>>> flink-streaming-examples using "mvn clean compile
test-compile"
> > and
> > > it
> > > >>>>>> worked.
> > > >>>>>>
> > > >>>>>> Best regards,
> > > >>>>>> Max
> > > >>>>>>
> > > >>>>>> On Wed, Feb 25, 2015 at 4:13 PM, Matthias J. Sax
> > > >>>>>> <mjsax@informatik.hu-berlin.de> wrote:
> > > >>>>>>> Hi,
> > > >>>>>>>
> > > >>>>>>> I tried to build flink-streaming-examples, but
got an
> compilation
> > > >> error.
> > > >>>>>>> If I build flink-streaming (that implicitly builds
> > > >>>>>>> flink-streaming-examples), it works.
> > > >>>>>>>
> > > >>>>>>> I tried it on a fresh clone of flink/master using
"mvn clean
> > > compile
> > > >>>>>>> test-compile"
> > > >>>>>>>
> > > >>>>>>> Can anybody explain this behavior?
> > > >>>>>>>
> > > >>>>>>>
> > > >>>>>>> -Matthias
> > > >>>>>>>
> > > >>>>>>>
> > > >>>>>>>
> > > >>>>>>>
> > > >>>>>>>> mjsax@T420s-dbis-mjsax
> > > >>
> > >
> >
> :~/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples$
> > > >>>>>> mvn clean compile test-compile
> > > >>>>>>>> [INFO] Scanning for projects...
> > > >>>>>>>> [WARNING]
> > > >>>>>>>> [WARNING] Some problems were encountered while
building the
> > > >> effective
> > > >>>>>> model for
> > org.apache.flink:flink-streaming-examples:jar:0.9-SNAPSHOT
> > > >>>>>>>> [WARNING] 'build.plugins.plugin.(groupId:artifactId)'
must be
> > > unique
> > > >>>>>> but found duplicate declaration of plugin
> > > >>>>>> org.apache.maven.plugins:maven-jar-plugin @ line 462,
column 12
> > > >>>>>>>> [WARNING]
> > > >>>>>>>> [WARNING] It is highly recommended to fix
these problems
> because
> > > >> they
> > > >>>>>> threaten the stability of your build.
> > > >>>>>>>> [WARNING]
> > > >>>>>>>> [WARNING] For this reason, future Maven versions
might no
> longer
> > > >>>>>> support building such malformed projects.
> > > >>>>>>>> [WARNING]
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO]
> > > >>>>>>
> > > >>
> > ------------------------------------------------------------------------
> > > >>>>>>>> [INFO] Building flink-streaming-examples 0.9-SNAPSHOT
> > > >>>>>>>> [INFO]
> > > >>>>>>
> > > >>
> > ------------------------------------------------------------------------
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean)
@
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO] Deleting
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/target
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-checkstyle-plugin:2.12.1:check
(validate) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-enforcer-plugin:1.3.1:enforce
> (enforce-maven) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- build-helper-maven-plugin:1.7:add-source
> > (add-source) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO] Source directory:
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/main/scala
> > > >>>>>> added.
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-remote-resources-plugin:1.5:process
> (default) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-resources-plugin:2.6:resources
> > > (default-resources)
> > > >> @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO] Using 'UTF-8' encoding to copy filtered
resources.
> > > >>>>>>>> [INFO] skip non existing resourceDirectory
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/main/resources
> > > >>>>>>>> [INFO] Copying 3 resources
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- scala-maven-plugin:3.1.4:compile
> > (scala-compile-first)
> > > @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/main/java:-1:
> > > >>>>>> info: compiling
> > > >>>>>>>> [INFO]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/main/scala:-1:
> > > >>>>>> info: compiling
> > > >>>>>>>> [INFO] Compiling 14 source files to
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/target/classes
> > > >>>>>> at 1424877113889
> > > >>>>>>>> [INFO] compiler plugin:
> > > >>>>>> BasicArtifact(org.scalamacros,paradise_2.10.4,2.0.1,null)
> > > >>>>>>>> [WARNING] warning: there were 1 deprecation
warning(s); re-run
> > > with
> > > >>>>>> -deprecation for details
> > > >>>>>>>> [WARNING] one warning found
> > > >>>>>>>> [INFO] prepare-compile in 0 s
> > > >>>>>>>> [INFO] compile in 10 s
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-compiler-plugin:3.1:compile
> (default-compile) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO] Changes detected - recompiling the
module!
> > > >>>>>>>> [INFO] Compiling 10 source files to
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/target/classes
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-checkstyle-plugin:2.12.1:check
(validate) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-enforcer-plugin:1.3.1:enforce
> (enforce-maven) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- build-helper-maven-plugin:1.7:add-source
> > (add-source) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO] Source directory:
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/main/scala
> > > >>>>>> added.
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-remote-resources-plugin:1.5:process
> (default) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-resources-plugin:2.6:resources
> > > (default-resources)
> > > >> @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO] Using 'UTF-8' encoding to copy filtered
resources.
> > > >>>>>>>> [INFO] skip non existing resourceDirectory
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/main/resources
> > > >>>>>>>> [INFO] Copying 3 resources
> > > >>>>>>>> [INFO] Copying 3 resources
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- scala-maven-plugin:3.1.4:compile
> > (scala-compile-first)
> > > @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO] Nothing to compile - all classes are
up to date
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-compiler-plugin:3.1:compile
> (default-compile) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO] Nothing to compile - all classes are
up to date
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- build-helper-maven-plugin:1.7:add-test-source
> > > >>>>>> (add-test-source) @ flink-streaming-examples ---
> > > >>>>>>>> [INFO] Test Source directory:
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/scala
> > > >>>>>> added.
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-resources-plugin:2.6:testResources
> > > >>>>>> (default-testResources) @ flink-streaming-examples
---
> > > >>>>>>>> [INFO] Using 'UTF-8' encoding to copy filtered
resources.
> > > >>>>>>>> [INFO] skip non existing resourceDirectory
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/resources
> > > >>>>>>>> [INFO] Copying 3 resources
> > > >>>>>>>> [INFO] Copying 3 resources
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- scala-maven-plugin:3.1.4:testCompile
> > > >> (scala-test-compile) @
> > > >>>>>> flink-streaming-examples ---
> > > >>>>>>>> [INFO]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java:-1:
> > > >>>>>> info: compiling
> > > >>>>>>>> [INFO] Compiling 2 source files to
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/target/test-classes
> > > >>>>>> at 1424877127030
> > > >>>>>>>> [INFO] compiler plugin:
> > > >>>>>> BasicArtifact(org.scalamacros,paradise_2.10.4,2.0.1,null)
> > > >>>>>>>> [INFO] prepare-compile in 0 s
> > > >>>>>>>> [INFO] compile in 1 s
> > > >>>>>>>> [INFO]
> > > >>>>>>>> [INFO] --- maven-compiler-plugin:3.1:testCompile
> > > >> (default-testCompile)
> > > >>>>>> @ flink-streaming-examples ---
> > > >>>>>>>> [INFO] Changes detected - recompiling the
module!
> > > >>>>>>>> [INFO] Compiling 2 source files to
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/target/test-classes
> > > >>>>>>>> [INFO]
> > > -------------------------------------------------------------
> > > >>>>>>>> [ERROR] COMPILATION ERROR :
> > > >>>>>>>> [INFO]
> > > -------------------------------------------------------------
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[22,39]
> > > >>>>>> cannot find symbol
> > > >>>>>>>>  symbol:   class StreamingProgramTestBase
> > > >>>>>>>>  location: package org.apache.flink.streaming.util
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[25,40]
> > > >>>>>> cannot find symbol
> > > >>>>>>>>  symbol: class StreamingProgramTestBase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[23,39]
> > > >>>>>> cannot find symbol
> > > >>>>>>>>  symbol:   class StreamingProgramTestBase
> > > >>>>>>>>  location: package org.apache.flink.streaming.util
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[25,38]
> > > >>>>>> cannot find symbol
> > > >>>>>>>>  symbol: class StreamingProgramTestBase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[32,28]
> > > >>>>>> cannot find symbol
> > > >>>>>>>>  symbol:   method
> > > createTempFile(java.lang.String,java.lang.String)
> > > >>>>>>>>  location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.PojoExampleITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[33,30]
> > > >>>>>> cannot find symbol
> > > >>>>>>>>  symbol:   method getTempDirPath(java.lang.String)
> > > >>>>>>>>  location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.PojoExampleITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[30,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[38,17]
> > > >>>>>> cannot find symbol
> > > >>>>>>>>  symbol:   method
> > > >>>>>> compareResultsByLinesInMemory(java.lang.String,java.lang.String)
> > > >>>>>>>>  location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.PojoExampleITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[36,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[41,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[32,28]
> > > >>>>>> cannot find symbol
> > > >>>>>>>>  symbol:   method
> > > createTempFile(java.lang.String,java.lang.String)
> > > >>>>>>>>  location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.WordCountITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[33,30]
> > > >>>>>> cannot find symbol
> > > >>>>>>>>  symbol:   method getTempDirPath(java.lang.String)
> > > >>>>>>>>  location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.WordCountITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[30,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[38,17]
> > > >>>>>> cannot find symbol
> > > >>>>>>>>  symbol:   method
> > > >>>>>> compareResultsByLinesInMemory(java.lang.String,java.lang.String)
> > > >>>>>>>>  location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.WordCountITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[36,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[41,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [INFO] 16 errors
> > > >>>>>>>> [INFO]
> > > -------------------------------------------------------------
> > > >>>>>>>> [INFO]
> > > >>>>>>
> > > >>
> > ------------------------------------------------------------------------
> > > >>>>>>>> [INFO] BUILD FAILURE
> > > >>>>>>>> [INFO]
> > > >>>>>>
> > > >>
> > ------------------------------------------------------------------------
> > > >>>>>>>> [INFO] Total time: 22.807s
> > > >>>>>>>> [INFO] Finished at: Wed Feb 25 16:12:08 CET
2015
> > > >>>>>>>> [INFO] Final Memory: 45M/504M
> > > >>>>>>>> [INFO]
> > > >>>>>>
> > > >>
> > ------------------------------------------------------------------------
> > > >>>>>>>> [ERROR] Failed to execute goal
> > > >>>>>> org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
> > > >>>>>> (default-testCompile) on project flink-streaming-examples:
> > > Compilation
> > > >>>>>> failure: Compilation failure:
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[22,39]
> > > >>>>>> cannot find symbol
> > > >>>>>>>> [ERROR] symbol:   class StreamingProgramTestBase
> > > >>>>>>>> [ERROR] location: package org.apache.flink.streaming.util
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[25,40]
> > > >>>>>> cannot find symbol
> > > >>>>>>>> [ERROR] symbol: class StreamingProgramTestBase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[23,39]
> > > >>>>>> cannot find symbol
> > > >>>>>>>> [ERROR] symbol:   class StreamingProgramTestBase
> > > >>>>>>>> [ERROR] location: package org.apache.flink.streaming.util
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[25,38]
> > > >>>>>> cannot find symbol
> > > >>>>>>>> [ERROR] symbol: class StreamingProgramTestBase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[32,28]
> > > >>>>>> cannot find symbol
> > > >>>>>>>> [ERROR] symbol:   method
> > > >>>>>> createTempFile(java.lang.String,java.lang.String)
> > > >>>>>>>> [ERROR] location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.PojoExampleITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[33,30]
> > > >>>>>> cannot find symbol
> > > >>>>>>>> [ERROR] symbol:   method getTempDirPath(java.lang.String)
> > > >>>>>>>> [ERROR] location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.PojoExampleITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[30,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[38,17]
> > > >>>>>> cannot find symbol
> > > >>>>>>>> [ERROR] symbol:   method
> > > >>>>>> compareResultsByLinesInMemory(java.lang.String,java.lang.String)
> > > >>>>>>>> [ERROR] location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.PojoExampleITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[36,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/PojoExampleITCase.java:[41,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[32,28]
> > > >>>>>> cannot find symbol
> > > >>>>>>>> [ERROR] symbol:   method
> > > >>>>>> createTempFile(java.lang.String,java.lang.String)
> > > >>>>>>>> [ERROR] location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.WordCountITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[33,30]
> > > >>>>>> cannot find symbol
> > > >>>>>>>> [ERROR] symbol:   method getTempDirPath(java.lang.String)
> > > >>>>>>>> [ERROR] location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.WordCountITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[30,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[38,17]
> > > >>>>>> cannot find symbol
> > > >>>>>>>> [ERROR] symbol:   method
> > > >>>>>> compareResultsByLinesInMemory(java.lang.String,java.lang.String)
> > > >>>>>>>> [ERROR] location: class
> > > >>>>>> org.apache.flink.streaming.examples.test.WordCountITCase
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[36,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR]
> > > >>>>>>
> > > >>
> > >
> >
> /home/mjsax/workspace_flink/dummy/flink/flink-staging/flink-streaming/flink-streaming-examples/src/test/java/org/apache/flink/streaming/examples/test/WordCountITCase.java:[41,9]
> > > >>>>>> method does not override or implement a method from
a supertype
> > > >>>>>>>> [ERROR] -> [Help 1]
> > > >>>>>>>> [ERROR]
> > > >>>>>>>> [ERROR] To see the full stack trace of the
errors, re-run
> Maven
> > > with
> > > >>>>>> the -e switch.
> > > >>>>>>>> [ERROR] Re-run Maven using the -X switch to
enable full debug
> > > >> logging.
> > > >>>>>>>> [ERROR]
> > > >>>>>>>> [ERROR] For more information about the errors
and possible
> > > >> solutions,
> > > >>>>>> please read the following articles:
> > > >>>>>>>> [ERROR] [Help 1]
> > > >>>>>>
> > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > >>>>>>>
> > > >>>>>>
> > > >>>>>
> > > >>>>
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message