flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FLINK-4409) class conflict between jsr305-1.3.9.jar and flink-shaded-hadoop2-1.1.1.jar
Date Wed, 17 Aug 2016 09:45:20 GMT

     [ https://issues.apache.org/jira/browse/FLINK-4409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stephan Ewen reassigned FLINK-4409:
-----------------------------------

    Assignee: Stephan Ewen

> class conflict between jsr305-1.3.9.jar and flink-shaded-hadoop2-1.1.1.jar
> --------------------------------------------------------------------------
>
>                 Key: FLINK-4409
>                 URL: https://issues.apache.org/jira/browse/FLINK-4409
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.1.0
>            Reporter: Renkai Ge
>            Assignee: Stephan Ewen
>            Priority: Minor
>
> It seems all classes in jsr305-1.3.9.jar can be found in flink-shaded-hadoop2-1.1.1.jar,too.
> I can exclude these jars for a success assembly and run when I was using sbt
> {code:none}
> libraryDependencies ++= Seq(
>   "com.typesafe.play" %% "play-json" % "2.3.8",
>   "org.apache.flink" %% "flink-scala" % "1.1.1"
>     exclude("com.google.code.findbugs", "jsr305"),
>   "org.apache.flink" %% "flink-connector-kafka-0.8" % "1.1.1"
>     exclude("com.google.code.findbugs", "jsr305"),
>   "org.apache.flink" %% "flink-streaming-scala" % "1.1.1"
>     exclude("com.google.code.findbugs", "jsr305"),
>   "org.apache.flink" %% "flink-clients" % "1.1.1"
>     exclude("com.google.code.findbugs", "jsr305"),
>   "joda-time" % "joda-time" % "2.9.4",
>   "org.scalikejdbc" %% "scalikejdbc" % "2.2.7",
>   "mysql" % "mysql-connector-java" % "5.1.15",
>   "io.spray" %% "spray-caching" % "1.3.3"
> )
> {code}
> But I think it might be better to remove jsr305 dependency from Flink.



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

Mime
View raw message