[jira] [Commented] (AMBARI-20936) Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to 2.5.0
[ https://issues.apache.org/jira/browse/AMBARI-20936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001648#comment-16001648 ] Hudson commented on AMBARI-20936: - FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7441 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7441/]) AMBARI-20936 : now properly uninstalling the zeppelin view instead of (nitiraj.rathore: [http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=94ddad50eeeba8dbbc329012cb9f80c79bcb31c9]) * (edit) ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java * (add) ambari-server/src/test/java/org/apache/ambari/server/view/ViewInstanceOperationHandlerTest.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewInstanceEntity.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/PrivilegeEntity.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java * (add) ambari-server/src/main/java/org/apache/ambari/server/view/ViewInstanceOperationHandler.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java > Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to > 2.5.0 > - > > Key: AMBARI-20936 > URL: https://issues.apache.org/jira/browse/AMBARI-20936 > Project: Ambari > Issue Type: Bug > Components: ambari-views >Affects Versions: 2.5.1 > Environment: LDAP is configured. > Zeppline view is created and USE permission is given to users. >Reporter: Nitiraj Singh Rathore >Assignee: Nitiraj Singh Rathore > Fix For: 2.5.1 > > Attachments: AMBARI-20936_branch-2.5.patch, AMBARI-20936_trunk.patch, > error.log > > > After upgrade from Ambari 2.4 to Ambari 2.5 when LDAP users try to login they > get error and are not able to login. > Attached is log snippet. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-20936) Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to 2.5.0
[ https://issues.apache.org/jira/browse/AMBARI-20936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001645#comment-16001645 ] Hudson commented on AMBARI-20936: - SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1512 (See [https://builds.apache.org/job/Ambari-branch-2.5/1512/]) AMBARI-20936 : now properly uninstalling the zeppelin view instead of (nitiraj.rathore: [http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=44815fc7762070214c625b8cb2225deac7b4ebc0]) * (add) ambari-server/src/main/java/org/apache/ambari/server/view/ViewInstanceOperationHandler.java * (add) ambari-server/src/test/java/org/apache/ambari/server/view/ViewInstanceOperationHandlerTest.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewInstanceEntity.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/PrivilegeEntity.java * (edit) ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java > Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to > 2.5.0 > - > > Key: AMBARI-20936 > URL: https://issues.apache.org/jira/browse/AMBARI-20936 > Project: Ambari > Issue Type: Bug > Components: ambari-views >Affects Versions: 2.5.1 > Environment: LDAP is configured. > Zeppline view is created and USE permission is given to users. >Reporter: Nitiraj Singh Rathore >Assignee: Nitiraj Singh Rathore > Fix For: 2.5.1 > > Attachments: AMBARI-20936_branch-2.5.patch, AMBARI-20936_trunk.patch, > error.log > > > After upgrade from Ambari 2.4 to Ambari 2.5 when LDAP users try to login they > get error and are not able to login. > Attached is log snippet. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-20936) Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to 2.5.0
[ https://issues.apache.org/jira/browse/AMBARI-20936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001578#comment-16001578 ] Nitiraj Singh Rathore commented on AMBARI-20936: committed to branch-2.5 and trunk. > Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to > 2.5.0 > - > > Key: AMBARI-20936 > URL: https://issues.apache.org/jira/browse/AMBARI-20936 > Project: Ambari > Issue Type: Bug > Components: ambari-views >Affects Versions: 2.5.1 > Environment: LDAP is configured. > Zeppline view is created and USE permission is given to users. >Reporter: Nitiraj Singh Rathore >Assignee: Nitiraj Singh Rathore > Fix For: 2.5.1 > > Attachments: AMBARI-20936_branch-2.5.patch, AMBARI-20936_trunk.patch, > error.log > > > After upgrade from Ambari 2.4 to Ambari 2.5 when LDAP users try to login they > get error and are not able to login. > Attached is log snippet. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-20936) Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to 2.5.0
[ https://issues.apache.org/jira/browse/AMBARI-20936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16001565#comment-16001565 ] Nitiraj Singh Rathore commented on AMBARI-20936: Uploaded another patch for trunk after removing import order and other conflicts in trunk > Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to > 2.5.0 > - > > Key: AMBARI-20936 > URL: https://issues.apache.org/jira/browse/AMBARI-20936 > Project: Ambari > Issue Type: Bug > Components: ambari-views >Affects Versions: 2.5.1 > Environment: LDAP is configured. > Zeppline view is created and USE permission is given to users. >Reporter: Nitiraj Singh Rathore >Assignee: Nitiraj Singh Rathore > Fix For: 2.5.1 > > Attachments: AMBARI-20936_branch-2.5.patch, AMBARI-20936_trunk.patch, > error.log > > > After upgrade from Ambari 2.4 to Ambari 2.5 when LDAP users try to login they > get error and are not able to login. > Attached is log snippet. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-20936) Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to 2.5.0
[ https://issues.apache.org/jira/browse/AMBARI-20936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15997981#comment-15997981 ] Nitiraj Singh Rathore commented on AMBARI-20936: Instead of deleting entries from DB directly, used uninstalling. Did refactoring to take the DB related code out of the ViewRegistry (which is anyway growing very big and is live object which cannot be used during Upgrade process) to create ViewInstanceOperationHandler.java. > Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to > 2.5.0 > - > > Key: AMBARI-20936 > URL: https://issues.apache.org/jira/browse/AMBARI-20936 > Project: Ambari > Issue Type: Bug > Components: ambari-views >Affects Versions: 2.5.1 > Environment: LDAP is configured. > Zeppline view is created and USE permission is given to users. >Reporter: Nitiraj Singh Rathore >Assignee: Nitiraj Singh Rathore > Fix For: 2.5.1 > > Attachments: AMBARI-20936_branch-2.5.patch, error.log > > > After upgrade from Ambari 2.4 to Ambari 2.5 when LDAP users try to login they > get error and are not able to login. > Attached is log snippet. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (AMBARI-20936) Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to 2.5.0
[ https://issues.apache.org/jira/browse/AMBARI-20936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15997145#comment-15997145 ] Nitiraj Singh Rathore commented on AMBARI-20936: The reason was that there some left over entries of zeppline view in adminprivilege table. The proposed work around of the problem. SELECT adminresource.resource_id FROM adminresource LEFT OUTER JOIN viewinstance USING (resource_id) WHERE adminresource.resource_type_id > 5 AND viewinstance.view_instance_id IS NULL; If this returns any resources, those are orphaned are causing the NPE. You'll have to remove them. DELETE FROM adminresources WHERE resource_id IN (); DELETE FROM adminprivilege WHERE resource_id IN (); CC: [~u39kun] > Users are not able to login to ambari UI after Ambari upgrade from 2.4.x to > 2.5.0 > - > > Key: AMBARI-20936 > URL: https://issues.apache.org/jira/browse/AMBARI-20936 > Project: Ambari > Issue Type: Bug > Components: ambari-views >Affects Versions: 2.5.0 > Environment: LDAP is configured. > Zeppline view is created and USE permission is given to users. >Reporter: Nitiraj Singh Rathore >Assignee: Nitiraj Singh Rathore > Fix For: 2.5.0 > > Attachments: error.log > > > After upgrade from Ambari 2.4 to Ambari 2.5 when LDAP users try to login they > get error and are not able to login. > Attached is log snippet. -- This message was sent by Atlassian JIRA (v6.3.15#6346)