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-1637) Flink uberjar does not work with Java 6
Date Tue, 03 Mar 2015 20:48:05 GMT

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

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

Github user rmetzger commented on the pull request:

    https://github.com/apache/flink/pull/450#issuecomment-77031055
  
    Damn. The good news is, my test is working, the bad news is, that the hadoop 2.6.0 version
is causing an oversized uberjar:
    
    > The number of files in the uberjar (67887) exceeds the maximum number of possible
files for Java 6 (65536)


> Flink uberjar does not work with Java 6
> ---------------------------------------
>
>                 Key: FLINK-1637
>                 URL: https://issues.apache.org/jira/browse/FLINK-1637
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 0.9
>         Environment: Java 6
>            Reporter: Robert Metzger
>            Assignee: Robert Metzger
>            Priority: Critical
>
> Apparently the uberjar created by maven shade does not work with java 6
> {code}
> /jre1.6.0_45/bin/java -classpath flink-0.9-SNAPSHOT/lib/flink-dist-0.9-SNAPSHOT-yarn-uberjar.jar
org.apache.flink.client.CliFrontend
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/flink/client/CliFrontend
> Caused by: java.lang.ClassNotFoundException: org.apache.flink.client.CliFrontend
> 	at java.net.URLClassLoader$1.run(Unknown Source)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(Unknown Source)
> 	at java.lang.ClassLoader.loadClass(Unknown Source)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> 	at java.lang.ClassLoader.loadClass(Unknown Source)
> Could not find the main class: org.apache.flink.client.CliFrontend.  Program will exit.
> {code}



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

Mime
View raw message