GitHub user prabhjyotsingh opened a pull request:

    https://github.com/apache/zeppelin/pull/1437

    ZEPPELIN-1454: Wrong property value on interpreter page

    ### What is this PR for?
    If for some reason (for example permission issue in file system) while 
saving interpreter setting, UI shows wrong value till the next restart.
    IMO interpreter.json should be the source of truth, that should always be 
reflected on UI
    
    ### What type of PR is it?
    [Bug Fix]
    
    ### Todos
    * [x] - read from file-system after saving
    
    ### What is the Jira issue?
    * [ZEPPELIN-1454](https://issues.apache.org/jira/browse/ZEPPELIN-1454)
    
    ### How should this be tested?
    Change file system permission of "interpreter.json", and make it readonly, 
then on interpreter setting page try and change any property and refresh the 
page, refer screenshot
    
    ### Screenshots (if appropriate)
    Before
    
![fix-permission-before](https://cloud.githubusercontent.com/assets/674497/18627830/ced6673a-7e7a-11e6-88a6-426e1d2d2582.gif)
    
    After
    
![fix-permission-after](https://cloud.githubusercontent.com/assets/674497/18627831/ceda24f6-7e7a-11e6-880b-4a7d1f9be3d8.gif)
    
    
    ### Questions:
    * Does the licenses files need update? n/a
    * Is there breaking changes for older versions? n/a
    * Does this needs documentation? n/a
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-1454

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1437.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1437
    
----
commit f94125c17947d0e9387f94501a0d3ec70f983723
Author: Prabhjyot Singh <prabhjyotsi...@gmail.com>
Date:   2016-09-19T09:35:11Z

    ZEPPELIN-1454: read from file-system after saving

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to