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

peng.jianhua resolved RANGER-1764.
----------------------------------
    Resolution: Invalid

> Created a service and input right value in "create service" screen of hive. A 
> error message was returned when clicked "Test connectionl" button.
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-1764
>                 URL: https://issues.apache.org/jira/browse/RANGER-1764
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins, Ranger
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>            Priority: Minor
>         Attachments: 0001-RANGER-1764-hivedev-Test-Connection-failed.patch
>
>
> Created a service and input right value in "create service" screen of hive. A 
> error message was returned when clicked "Test connectionl" button. Steps to 
> reproduce the error are as following:
> 1. Create hive service in "create service" screen of hive;
> 2. Input right value for the service;
> 3. Click "Test Connection" button. Please don't click "Add" button before 
> clicking "Test Connection" button.
> The error information is as following: 
> {code}
> Connection Failed.
> Unable to retrieve any files using given parameters, You can still save the 
> repository and start creating policies, but you would not be able to use 
> autocomplete for resource names. Check ranger_admin.log for more info.
> org.apache.ranger.plugin.client.HadoopException: Unable to execute SQL [show 
> databases like "*"].. 
> Unable to execute SQL [show databases like "*"].. 
> null. 
> {code}
> Save above the new service, then edit it. A success message was returned when 
> user does not change any value and click "Test Connection" button.  So the 
> "Test Connection" button should be disabled when user creates a new hive 
> service. And the "Test Connection" button should be enabled when user edits a 
> hive service.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to