[ 
https://issues.apache.org/jira/browse/FLINK-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14322741#comment-14322741
 ] 

ASF GitHub Bot commented on FLINK-1528:
---------------------------------------

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


> Add local clustering coefficient library method and example
> -----------------------------------------------------------
>
>                 Key: FLINK-1528
>                 URL: https://issues.apache.org/jira/browse/FLINK-1528
>             Project: Flink
>          Issue Type: Task
>          Components: Gelly
>            Reporter: Vasia Kalavri
>            Assignee: Daniel Bali
>
> Add a gelly library method and example to compute the local clustering 
> coefficient.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to