[
https://issues.apache.org/jira/browse/DRILL-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Rogers updated DRILL-5748:
-------------------------------
Description:
Launched a local Drillbit, using ZK. Entered the following query:
Ran a simple query. Clicked on the Profiles tab. Clicked on a query. Got the
following JSON error message:
{code}
{
"errorMessage" : "HTTP 404 Not Found"
}
{code}
Not sure if this is due to a misconfiguration error in my branch, or due to
some real issue. In either case, it would seem that the UI should display the
error as HTML, not JSON.
was:
Launched a local Drillbit, using ZK. Entered the following query:
{code}
ALTER SYSTEM SET `exec.queue.enable` = true
{code}
Result:
{code}
Query Failed: An Error Occurred
java.lang.NullPointerException
{code}
Turns out, the problem is more general. The following produces the same error:
{code}
SELECT name, type FROM sys.options WHERE type in ('SYSTEM','SESSION') order by
name;
{code}
> Web UI displays JSON message for a missing query profile
> --------------------------------------------------------
>
> Key: DRILL-5748
> URL: https://issues.apache.org/jira/browse/DRILL-5748
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.11.0
> Reporter: Paul Rogers
> Priority: Minor
>
> Launched a local Drillbit, using ZK. Entered the following query:
> Ran a simple query. Clicked on the Profiles tab. Clicked on a query. Got the
> following JSON error message:
> {code}
> {
> "errorMessage" : "HTTP 404 Not Found"
> }
> {code}
> Not sure if this is due to a misconfiguration error in my branch, or due to
> some real issue. In either case, it would seem that the UI should display the
> error as HTML, not JSON.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)