----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62111/#review184693 -----------------------------------------------------------
I disagree with the fix for this issue. I can successfully test the connection to a Hive server with the latest code. What is the underlying cause of the exception? - Colm O hEigeartaigh On Sept. 6, 2017, 7:24 a.m., pengjianhua wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/62111/ > ----------------------------------------------------------- > > (Updated Sept. 6, 2017, 7:24 a.m.) > > > Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O > hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan > Neethiraj, Velmurugan Periasamy, and Qiang Zhang. > > > Bugs: RANGER-1764 > https://issues.apache.org/jira/browse/RANGER-1764 > > > Repository: ranger > > > Description > ------- > > 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: > 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. > > 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. > > > Diffs > ----- > > security-admin/src/main/webapp/scripts/views/service/ServiceForm.js > 079ce00a > > > Diff: https://reviews.apache.org/r/62111/diff/1/ > > > Testing > ------- > > > Thanks, > > pengjianhua > >
