You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Noa Horn (JIRA)" <ji...@apache.org> on 2015/11/12 02:08:11 UTC
[jira] [Comment Edited] (HAWQ-102) Remove "GPHD" in error message
[ https://issues.apache.org/jira/browse/HAWQ-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001430#comment-15001430 ]
Noa Horn edited comment on HAWQ-102 at 11/12/15 1:08 AM:
---------------------------------------------------------
The error message will be:
{noformat}
ERROR: remote component error (404) from '127.0.0.1:51200': PXF service could not be reached. PXF is not running in the tomcat container
{noformat}
was (Author: nhorn):
The error message will be:
{noformat}
ERROR: remote component error (404) from '127.0.0.1:51200': PXF could not be reached. Either the PXF service (tomcat) was not started or PXF webapp was not started.
{noformat}
> Remove "GPHD" in error message
> ------------------------------
>
> Key: HAWQ-102
> URL: https://issues.apache.org/jira/browse/HAWQ-102
> Project: Apache HAWQ
> Issue Type: Task
> Components: PXF
> Reporter: Goden Yao
> Assignee: Noa Horn
> Priority: Minor
>
> source: src/backend/access/external/libchurl.c
> "GPHD" is legacy name and should not appear in user error message.
> {code:java}
> bool handle_special_error(long response)
> {
> switch (response)
> {
> case 404:
> elog(ERROR, "GPHD component not found");
> break;
> default:
> return false;
> }
> return true;
> }
> {code}
> *Proposed Error Message*
> "PXF API encountered a HTTP 404 error. Either the PXF service (tomcat) on data node was not started or PXF webapp was not started."
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)