Hi, I am getting the following exception when i am using the map function Exception in thread "main" org.apache.flink.api.common.functions.InvalidTypesException: The return type of function 'computeWeightedDistribution(GraphWeighted.java:73)' could not be determined automatically, due to type erasure. You can give type information hints by using the returns(...) method on the result of the transformation call, or by letting your function implement the 'ResultTypeQueryable' interface. This is the part of the code which I am trying to run : DataSet<Tuple2<String, Long>> distinctVertex = sourceVertex Also, the degree mapper is a simply map function which emits the second column and 1 as follows:
Now I am lost as to what I did wrong and why I am getting that error, any help would be appreciated. Thanks a lot. Thanks & Regards Biplob Biswas |
Hi Biplob, which version of Flink are you using? With version Cheers, On Sun, Jan 17, 2016 at 4:56 PM, Biplob Biswas <[hidden email]> wrote:
|
Hi Till,
I am using flink 0.10.1 and if i am not wrong it corresponds to the 1.0-Snapshot you mentioned. If wrong, please suggest what should I do to fix it. Thanks & Regards Biplob Biswas On Mon, Jan 18, 2016 at 11:23 AM, Till Rohrmann <[hidden email]> wrote:
|
Hi Biplob, no version Cheers, On Mon, Jan 18, 2016 at 2:24 PM, Biplob Biswas <[hidden email]> wrote:
|
In reply to this post by Biplob Biswas
Hello everyone, I am still stuck with this issue, can anyone point me in the right direction? Thanks & Regards Biplob Biswas On Mon, Jan 18, 2016 at 2:24 PM, Biplob Biswas <[hidden email]> wrote:
|
Hi! Can you check if the problem persists in the 1.0-SNAPSHOT branch? It may be fixed in the newest version already, since we cannot reproduce it the latest version. Thanks, Staphen On Wed, Jan 20, 2016 at 9:56 PM, Biplob Biswas <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |