Re: Cannot compile Wikipedia Edit Stream example

Posted by Rong Rong on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/FoldFunction-accumulator-checkpointing-tp6068p22778.html

Hi 

Can you elaborate more on how to reproduce the error? What's the maven archetype you use to generate the job, what's the flink version you used? what java version you used in Intellij?

I am suspecting either there's a mixed up on Scala / Java scaffold. Since your Tuple should be
org.apache.flink.api.java.tuple.Tuple2<...>

Also, please do not directly reply to one of the ongoing email thread as the discussion is pretty much unrelated. 

Thanks,
Rong

On Sat, Sep 1, 2018 at 10:56 PM Mar_zieh <[hidden email]> wrote:
Hello

I wrote example of "Monitoring the Wikipedia Edit Stream" in Intellij Idea,
but I got errors on "acc.f0 , acc.f1" which was like this:

Error:(39, 28) java: cannot find symbol
  symbol:   variable f0
  location: variable acc of type
scala.Tuple2<java.lang.String,java.lang.Long>

Would you please tell me how to solve this problem?

Thank you in advance.



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/