You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Lei Chang (JIRA)" <ji...@apache.org> on 2015/11/21 04:20:11 UTC

[jira] [Updated] (HAWQ-102) Remove "GPHD" in error message

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

Lei Chang updated HAWQ-102:
---------------------------
    Fix Version/s: 2.0.0-beta-incubating

> 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: Goden Yao
>            Priority: Minor
>             Fix For: 2.0.0-beta-incubating
>
>
> 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)