You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Deepak Barr (JIRA)" <ji...@apache.org> on 2016/01/25 17:52:39 UTC

[jira] [Resolved] (LENS-934) Incorrect error message on command line

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

Deepak Barr resolved LENS-934.
------------------------------
    Resolution: Invalid

> Incorrect error message on command line
> ---------------------------------------
>
>                 Key: LENS-934
>                 URL: https://issues.apache.org/jira/browse/LENS-934
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Deepak Barr
>            Assignee: Deepak Barr
>            Priority: Minor
>
> I observed this behavior in case the falcon server fails to start properly ( say  when MySQL is down in case of native schedular).
> When I try to run a command, I get this - 
> bin/falcon entity -submit -type cluster -file examples/entity/filesystem/standalone-cluster.xml
> ERROR: Bad Request;local/org.apache.falcon.FalconException::org.apache.falcon.FalconException: <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
> <title>Error 503 SERVICE_UNAVAILABLE</title>
> </head>
> <body>
> <h2>HTTP ERROR: 503</h2>
> <p>Problem accessing /secure/sync/submit/cluster. Reason:
> <pre>    SERVICE_UNAVAILABLE</pre></p>
> <hr /><i><small>Powered by Jetty://</small></i>
> At the top, the error says BAD REQUEST (HTTP 400; Client error) where as the real error should be Service Unavailable (HTTP 503; Server error).



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