[jira] [Resolved] (FLINK-900) Webclient does not show System.out messages

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (FLINK-900) Webclient does not show System.out messages

Shang Yuanchun (Jira)

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

Robert Metzger resolved FLINK-900.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6-incubating
         Assignee: Robert Metzger

I resolved the issue according to your suggestion in this commit: https://github.com/apache/incubator-flink/commit/a84f8a1ccfc867499dfaf688b2f658f8a0f87ae4

> Webclient does not show System.out messages
> -------------------------------------------
>
>                 Key: FLINK-900
>                 URL: https://issues.apache.org/jira/browse/FLINK-900
>             Project: Flink
>          Issue Type: Bug
>            Reporter: GitHub Import
>            Assignee: Robert Metzger
>              Labels: github-import
>             Fix For: pre-apache, 0.6-incubating
>
>
> When submitting the KMeans Job using the web client, I'm getting the following exception:
> ```
> An error occurred while invoking the program:
> The program plan could not be fetched. The program silently swallowed the control flow exceptions.
> eu.stratosphere.client.program.ProgramInvocationException: The program plan could not be fetched. The program silently swallowed the control flow exceptions.
> at eu.stratosphere.client.program.Client.getOptimizedPlan(Client.java:154)
> at eu.stratosphere.client.web.JobSubmissionServlet.doGet(JobSubmissionServlet.java:161)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:532)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:965)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:388)
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:187)
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:901)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
> at org.eclipse.jetty.server.Server.handle(Server.java:352)
> at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
> at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
> at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:425)
> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:489)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
> at java.lang.Thread.run(Thread.java:744)
> ```
> The problem is that the main() method just returns (printing a message to `System.out`).
> This is not very intuitive, since you have to look into the webclient.out log
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/stratosphere/stratosphere/issues/900
> Created by: [rmetzger|https://github.com/rmetzger]
> Labels:
> Milestone: Release 0.5.1
> Created at: Tue Jun 03 12:25:04 CEST 2014
> State: open



--
This message was sent by Atlassian JIRA
(v6.2#6252)