falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Barr (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FALCON-1775) Incorrect error message on command line
Date Mon, 25 Jan 2016 16:57:39 GMT
Deepak Barr created FALCON-1775:
-----------------------------------

             Summary: Incorrect error message on command line
                 Key: FALCON-1775
                 URL: https://issues.apache.org/jira/browse/FALCON-1775
             Project: Falcon
          Issue Type: Improvement
            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://&lt;/small&gt;&lt;/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)

Mime
View raw message