-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55012/
-----------------------------------------------------------

Review request for Ambari, Gaurav Nagar, Nitiraj Rathore, and Pallav 
Kulshreshtha.


Bugs: AMBARI-19291
    https://issues.apache.org/jira/browse/AMBARI-19291


Repository: ambari


Description
-------

User should be shown proper error message when user tries to navigate to a hdfs 
folder and he doesn't have access on that folder.
Steps to reproduce :
1) Try to import workflow from HDFS .
2) In the file browser, click on a folder on which user doesn't have permission
3) Though api 
/api/v1/views/Workflow%20Manager/versions/1.0.0/instances/WFD/resources/proxy/fileServices/fileops/listdir?path=%2Ftmp%2Fhive
 fails with appropriate error, UI keeps on loading.
UI should handle this error and show appropriate message to the user.


Diffs
-----

  contrib/views/wfmanager/src/main/resources/ui/app/components/hdfs-browser.js 
c9be41a 
  
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/hdfs-browser.hbs
 437640d 

Diff: https://reviews.apache.org/r/55012/diff/


Testing
-------

Manual


Thanks,

Madhan Reddy

Reply via email to