Dear Sir or Madam,
Me and my colleague are developing a pipeline based on scala and java to classify cancer stages. This pipeline should be uploaded on the hdfs (apache flink). The pipeline locally works fine but on the hdfs it crashes with the following error (see below). The main method is simply structured we are only passing one argument to set the working directory and then other methods from different scala and java files are called. Sorry if I can not give you more details because I can not figure out what the exact problem is. I hope you can help me. Best wishes, Flo An error occurred while invoking the program: The main method caused an error.
|
Which version of Flink are you using? Have you tried submitting the job using the "./bin/flink run" tool? On Tue, Sep 8, 2015 at 11:44 AM, Florian Heyl <[hidden email]> wrote:
|
Locally we are using the 0.9-SNAPSHOT but the cluster should work with the 0.10-SNAPSHOT. I have no direct control of the cluster because our prof is responsible for that. The students are using the flink web submission client to upload their jar and run it on the cluster. Am 08.09.2015 um 12:48 schrieb Robert Metzger <[hidden email]>:
|
There is a bug in the web client which sets the wrong class loader when running the user code. On Tue, Sep 8, 2015 at 12:05 PM, Florian Heyl <[hidden email]> wrote:
|
That's the bug: https://issues.apache.org/jira/browse/FLINK-2632 On Tue, Sep 8, 2015 at 1:11 PM, Robert Metzger <[hidden email]> wrote:
|
Ok I see, thank you. Do not have experience with that but does there exists a possible work around? Am 08.09.2015 um 13:13 schrieb Robert Metzger <[hidden email]>:
|
As I said, the workaround is using the "bin/flink" tool from the command line. I think it should be possible to add a "student" account on the cluster to access the Flink installation? On Tue, Sep 8, 2015 at 12:36 PM, Florian Heyl <[hidden email]> wrote:
|
We'll try to fix the issue for the upcoming milestone release... On Tue, Sep 8, 2015 at 8:33 PM, Robert Metzger <[hidden email]> wrote:
|
@Florian: There is now a pull request which is probably fixing the issue: https://github.com/apache/flink/pull/1114 So if you want to can build a custom Flink version based on the pull request. On Tue, Sep 8, 2015 at 9:26 PM, Stephan Ewen <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |