flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2493) Simplify names of example program JARs
Date Mon, 07 Sep 2015 11:41:46 GMT

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

ASF GitHub Bot commented on FLINK-2493:

Github user chenliang613 commented on the pull request:

    Just as maillist the last message mentioned: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/jira-FLINK-2493-Simplify-names-of-example-program-JARs-td7495.html.
    After use the tag of "finalName" to replace classifier,
    flink-scala-examples/flink-streaming-examples/flink-storm-compatibility-example"  can't
correctly unpack "flink-java-examples-0.10-SNAPSHOT.jar", have the below error:
    [ERROR] /Users/chenliang/flink/flink-examples/flink-scala-examples/src/main/scala/org/apache/flink/examples/scala/clustering/KMeans.scala:148:
error: not found: value KMeansData 
    [ERROR]       val points = KMeansData.POINTS map { 
    [ERROR]                    ^ 
    [WARNING] /Users/chenliang/flink/flink-examples/flink-scala-examples/src/main/scala/org/apache/flink/examples/scala/clustering/KMeans.scala:161:
warning: Type org.apache.flink.examples.scala.clustering.KMeans.Centroid is no POJO, has immutable
fields: value y, value x. 
    [WARNING]         .map { x => new Centroid(x._1, x._2, x._3)} 
    [WARNING]              ^ 
    [ERROR] /Users/chenliang/flink/flink-examples/flink-scala-examples/src/main/scala/org/apache/flink/examples/scala/clustering/KMeans.scala:164:
error: not found: value KMeansData 
    [ERROR]       val centroids = KMeansData.CENTROIDS map { 

> Simplify names of example program JARs
> --------------------------------------
>                 Key: FLINK-2493
>                 URL: https://issues.apache.org/jira/browse/FLINK-2493
>             Project: Flink
>          Issue Type: Improvement
>          Components: Examples
>    Affects Versions: 0.10
>            Reporter: Stephan Ewen
>            Assignee: chenliang
>            Priority: Minor
>              Labels: easyfix, starter
> I find the names of the example JARs a bit annoying.
> Why not name the file {{examples/ConnectedComponents.jar}} rather than {{examples/flink-java-examples-0.10-SNAPSHOT-ConnectedComponents.jar}}

This message was sent by Atlassian JIRA

View raw message