You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Tom Beerbower <tb...@hortonworks.com> on 2014/10/20 18:02:55 UTC
Review Request 26937: Unable to create new user group after upgrade
from 1.6.1 to 1.7.0
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26937/
-----------------------------------------------------------
Review request for Ambari, Jonathan Hurley and Nate Cole.
Bugs: AMBARI-7866
https://issues.apache.org/jira/browse/AMBARI-7866
Repository: ambari
Description
-------
*STR:*
# Deployed cluster with all services (1.6.1).
# Enabled security.
# Upgraded cluster to 1.7.0.
# Tried to create new group.
*Result:* Error message appeared:
{noformat}Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652):
org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.BatchUpdateException:
Batch entry 0 INSERT INTO groups (group_id, group_name, ldap_group, principal_id) VALUES (4, 't7vyoy', 0, 506) was aborted.
Call getNextException to see the cause.
Error Code: 0
Call: INSERT INTO groups (group_id, group_name, ldap_group, principal_id) VALUES (?, ?, ?, ?) bind => [4 parameters bound]{noformat}
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog170.java a387cb9
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog170Test.java 3271864
Diff: https://reviews.apache.org/r/26937/diff/
Testing
-------
Added new assertions to existing upgrade unit tests. All tests pass ...
Results :
Tests run: 2183, Failures: 0, Errors: 0, Skipped: 17
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34:27.254s
[INFO] Finished at: Mon Oct 20 12:01:09 EDT 2014
[INFO] Final Memory: 29M/246M
[INFO] ------------------------------------------------------------------------
Thanks,
Tom Beerbower
Re: Review Request 26937: Unable to create new user group after
upgrade from 1.6.1 to 1.7.0
Posted by Jonathan Hurley <jh...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26937/#review57349
-----------------------------------------------------------
Ship it!
Ship It!
- Jonathan Hurley
On Oct. 20, 2014, 12:02 p.m., Tom Beerbower wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26937/
> -----------------------------------------------------------
>
> (Updated Oct. 20, 2014, 12:02 p.m.)
>
>
> Review request for Ambari, Jonathan Hurley and Nate Cole.
>
>
> Bugs: AMBARI-7866
> https://issues.apache.org/jira/browse/AMBARI-7866
>
>
> Repository: ambari
>
>
> Description
> -------
>
> *STR:*
> # Deployed cluster with all services (1.6.1).
> # Enabled security.
> # Upgraded cluster to 1.7.0.
> # Tried to create new group.
>
> *Result:* Error message appeared:
> {noformat}Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652):
> org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.BatchUpdateException:
> Batch entry 0 INSERT INTO groups (group_id, group_name, ldap_group, principal_id) VALUES (4, 't7vyoy', 0, 506) was aborted.
> Call getNextException to see the cause.
> Error Code: 0
> Call: INSERT INTO groups (group_id, group_name, ldap_group, principal_id) VALUES (?, ?, ?, ?) bind => [4 parameters bound]{noformat}
>
>
> Diffs
> -----
>
> ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog170.java a387cb9
> ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog170Test.java 3271864
>
> Diff: https://reviews.apache.org/r/26937/diff/
>
>
> Testing
> -------
>
>
> Added new assertions to existing upgrade unit tests. All tests pass ...
> Results :
>
> Tests run: 2183, Failures: 0, Errors: 0, Skipped: 17
>
> ...
>
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 34:27.254s
> [INFO] Finished at: Mon Oct 20 12:01:09 EDT 2014
> [INFO] Final Memory: 29M/246M
> [INFO] ------------------------------------------------------------------------
>
>
> Thanks,
>
> Tom Beerbower
>
>