You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Richard Zang (JIRA)" <ji...@apache.org> on 2017/06/28 21:11:00 UTC

[jira] [Updated] (AMBARI-21371) Adding ranger failed when user has custom properties

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

Richard Zang updated AMBARI-21371:
----------------------------------
    Status: Patch Available  (was: Open)

> Adding ranger failed when user has custom properties
> ----------------------------------------------------
>
>                 Key: AMBARI-21371
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21371
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.5.2
>            Reporter: Richard Zang
>            Assignee: Richard Zang
>            Priority: Critical
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21371.patch
>
>
> Add Ranger service failed when custom core-site has the following properties defined:
> hadoop.proxyuser.root.groups
> hadoop.proxyuser.root.hosts
> JS NPE after clicking next on service configuration step, unselect all recommended settings and click OK.
> app.js:67983 Uncaught TypeError: Cannot read property 'propertyDependsOn' of undefined
> at Class.<anonymous> (http://horton-amb.vip.lvs.paypal.com:8080/javascripts/app.js:67983:123)
> at Array.forEach (native)
> at Class.undoRedoRecommended (http://horton-amb.vip.lvs.paypal.com:8080/javascripts/app.js:67970:24)
> at Class.onSaveRecommendedPopup (http://horton-amb.vip.lvs.paypal.com:8080/javascripts/app.js:67957:10)
> at http://horton-amb.vip.lvs.paypal.com:8080/javascripts/app.js:67939:14
> at Class.onPrimary (http://horton-amb.vip.lvs.paypal.com:8080/javascripts/app.js:205542:20)
> at Class.newFunc as onPrimary (http://horton-amb.vip.lvs.paypal.com:8080/javascripts/vendor.js:2608:16)
> at handler (http://horton-amb.vip.lvs.paypal.com:8080/javascripts/vendor.js:21208:35)
> at HTMLButtonElement.<anonymous> (http://horton-amb.vip.lvs.paypal.com:8080/javascripts/vendor.js:13000:16)
> at HTMLDivElement.dispatch (http://horton-amb.vip.lvs.paypal.com:8080/javascripts/vendor.js:107:4816)
> when we get a "delete property" recommendation on a custom property and we unselect it in the popup window, we will trigger this NPE



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