flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From balidani <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-1528] Added local clustering coefficien...
Date Mon, 16 Feb 2015 13:09:23 GMT
Github user balidani commented on the pull request:

    https://github.com/apache/flink/pull/400#issuecomment-74505722
  
    Hi!
    
    Sorry for the messed up commit history, hopefully my next PR will be better.
    
    I have the following exception when running `LocalClusteringCoefficientExample`
    
        Exception in thread "main" org.apache.flink.api.common.functions.InvalidTypesException:

        Type of TypeVariable 'K' in 'class flink.graphs.library.LocalClusteringCoefficient
        $NeighborhoodEdgesFunction' could not be determined. 
        This is most likely a type erasure problem. The type extraction currently supports
types 
        with generic variables only in cases where all variables in the return type can be
deduced 
        from the input type(s).
    
    I have no idea how to fix this though. For anyone else reading this, here's @vasia's reply
from the old `flink-graph` thread: https://github.com/project-flink/flink-graph/pull/48#issuecomment-70472784


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message