-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/44845/
-----------------------------------------------------------
Review request for Ambari, DIPAYAN BHOWMICK, Gaurav Nagar, Rohit Choudhary, and
Yusaku Sako.
Bugs: AMBARI-15424
https://issues.apache.org/jira/browse/AMBARI-15424
Repository: ambari
Description
-------
- Remove dataType: "json" from Ajax POST call as the response is not of json
type hence throws error.
- Added code for database sync if user tries to execute the query withoutany
database in place. It first sync the DBs and then execute the query.
Diffs
-----
contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/databases.js
2a69349
contrib/views/hive/src/main/resources/ui/hive-web/app/controllers/index.js
a056759
Diff: https://reviews.apache.org/r/44845/diff/
Testing
-------
manully tested, no need of adding any new unit test case.
Thanks,
Pallav Kulshreshtha