You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Xiang Sheng (JIRA)" <ji...@apache.org> on 2017/01/16 07:42:27 UTC

[jira] [Updated] (HAWQ-1276) The error message is not friendly when ranger plugin service cannot be connected

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

Xiang Sheng updated HAWQ-1276:
------------------------------
    Description: 
The error message is not friendly when RPS cannot be connected.

We expect a more clear message printed out, for example, "cannot connect to RPS service: host/port/service  ".

What's more, there are many other error and log messages and log level should be refined to more friendly. Some unused log should be removed. 

{code}
MacBook-Pro:incubator-hawq malili$ psql -d postgres
psql (8.2.15)
Type "help" for help.

postgres=# \l
WARNING:  curl_easy_perform() failed: Couldn't connect to server
LINE 5: FROM pg_catalog.pg_database d
             ^
ERROR:  permission denied for schema pg_catalog
LINE 5: FROM pg_catalog.pg_database d
             ^
postgres=#
{code}

  was:
The error message is not friendly when RPS cannot be connected.

We expect a more clear message printed out, for example, "cannot connect to RPS service: host/port/service  ".

What's more, there are many other error and log messages and log level should be refined to more friendly. Some unused log should be removed. 

```
malilis-MacBook-Pro:incubator-hawq malili$ psql -d postgres
psql (8.2.15)
Type "help" for help.

postgres=# \l
WARNING:  curl_easy_perform() failed: Couldn't connect to server
LINE 5: FROM pg_catalog.pg_database d
             ^
ERROR:  permission denied for schema pg_catalog
LINE 5: FROM pg_catalog.pg_database d
             ^
postgres=#
```


> The error message is not friendly when ranger plugin service  cannot be connected
> ---------------------------------------------------------------------------------
>
>                 Key: HAWQ-1276
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1276
>             Project: Apache HAWQ
>          Issue Type: Sub-task
>          Components: Security
>            Reporter: Xiang Sheng
>            Assignee: Xiang Sheng
>             Fix For: 2.2.0.0-incubating
>
>
> The error message is not friendly when RPS cannot be connected.
> We expect a more clear message printed out, for example, "cannot connect to RPS service: host/port/service  ".
> What's more, there are many other error and log messages and log level should be refined to more friendly. Some unused log should be removed. 
> {code}
> MacBook-Pro:incubator-hawq malili$ psql -d postgres
> psql (8.2.15)
> Type "help" for help.
> postgres=# \l
> WARNING:  curl_easy_perform() failed: Couldn't connect to server
> LINE 5: FROM pg_catalog.pg_database d
>              ^
> ERROR:  permission denied for schema pg_catalog
> LINE 5: FROM pg_catalog.pg_database d
>              ^
> postgres=#
> {code}



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