You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2015/12/28 18:29:26 UTC

Review Request 41745: Upgrade from 1.6.1(and possibly other < 2.0.0) to 2.2.1 failed.

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Upgrade from old releases to 2.2.1 failed with following message:
{noformat}
Exception in thread "main" org.apache.ambari.server.AmbariException
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:230)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:304)
Caused by: java.lang.NullPointerException
at org.apache.ambari.server.upgrade.UpgradeCatalog221.updateAlerts(UpgradeCatalog221.java:146)
at org.apache.ambari.server.upgrade.UpgradeCatalog221.executeDMLUpdates(UpgradeCatalog221.java:123)
at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:660)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:227)
... 1 more
{noformat}


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog221.java 1257f70 

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


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko


Re: Review Request 41745: Upgrade from 1.6.1(and possibly other < 2.0.0) to 2.2.1 failed.

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41745/#review112160
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Гру. 29, 2015, 12:14 після полудня, Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41745/
> -----------------------------------------------------------
> 
> (Updated Гру. 29, 2015, 12:14 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-14508
>     https://issues.apache.org/jira/browse/AMBARI-14508
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Upgrade from old releases to 2.2.1 failed with following message:
> {noformat}
> Exception in thread "main" org.apache.ambari.server.AmbariException
> at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:230)
> at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:304)
> Caused by: java.lang.NullPointerException
> at org.apache.ambari.server.upgrade.UpgradeCatalog221.updateAlerts(UpgradeCatalog221.java:146)
> at org.apache.ambari.server.upgrade.UpgradeCatalog221.executeDMLUpdates(UpgradeCatalog221.java:123)
> at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:660)
> at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:227)
> ... 1 more
> {noformat}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog221.java 1257f70 
> 
> Diff: https://reviews.apache.org/r/41745/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 41745: Upgrade from 1.6.1(and possibly other < 2.0.0) to 2.2.1 failed.

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41745/
-----------------------------------------------------------

(Updated Dec. 29, 2015, 2:14 p.m.)


Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Upgrade from old releases to 2.2.1 failed with following message:
{noformat}
Exception in thread "main" org.apache.ambari.server.AmbariException
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:230)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:304)
Caused by: java.lang.NullPointerException
at org.apache.ambari.server.upgrade.UpgradeCatalog221.updateAlerts(UpgradeCatalog221.java:146)
at org.apache.ambari.server.upgrade.UpgradeCatalog221.executeDMLUpdates(UpgradeCatalog221.java:123)
at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:660)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:227)
... 1 more
{noformat}


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog221.java 1257f70 

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


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko


Re: Review Request 41745: Upgrade from 1.6.1(and possibly other < 2.0.0) to 2.2.1 failed.

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41745/#review112055
-----------------------------------------------------------



ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog221.java (line 144)
<https://reviews.apache.org/r/41745/#comment172364>

    Just a personal preference to add braces for if-statements.


- Alejandro Fernandez


On Dec. 28, 2015, 5:29 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41745/
> -----------------------------------------------------------
> 
> (Updated Dec. 28, 2015, 5:29 p.m.)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-14508
>     https://issues.apache.org/jira/browse/AMBARI-14508
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Upgrade from old releases to 2.2.1 failed with following message:
> {noformat}
> Exception in thread "main" org.apache.ambari.server.AmbariException
> at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:230)
> at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:304)
> Caused by: java.lang.NullPointerException
> at org.apache.ambari.server.upgrade.UpgradeCatalog221.updateAlerts(UpgradeCatalog221.java:146)
> at org.apache.ambari.server.upgrade.UpgradeCatalog221.executeDMLUpdates(UpgradeCatalog221.java:123)
> at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:660)
> at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:227)
> ... 1 more
> {noformat}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog221.java 1257f70 
> 
> Diff: https://reviews.apache.org/r/41745/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 41745: Upgrade from 1.6.1(and possibly other < 2.0.0) to 2.2.1 failed.

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41745/#review112049
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Гру. 28, 2015, 5:29 після полудня, Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41745/
> -----------------------------------------------------------
> 
> (Updated Гру. 28, 2015, 5:29 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-14508
>     https://issues.apache.org/jira/browse/AMBARI-14508
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Upgrade from old releases to 2.2.1 failed with following message:
> {noformat}
> Exception in thread "main" org.apache.ambari.server.AmbariException
> at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:230)
> at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:304)
> Caused by: java.lang.NullPointerException
> at org.apache.ambari.server.upgrade.UpgradeCatalog221.updateAlerts(UpgradeCatalog221.java:146)
> at org.apache.ambari.server.upgrade.UpgradeCatalog221.executeDMLUpdates(UpgradeCatalog221.java:123)
> at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:660)
> at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:227)
> ... 1 more
> {noformat}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog221.java 1257f70 
> 
> Diff: https://reviews.apache.org/r/41745/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 41745: Upgrade from 1.6.1(and possibly other < 2.0.0) to 2.2.1 failed.

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41745/
-----------------------------------------------------------

(Updated Dec. 28, 2015, 7:29 p.m.)


Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Upgrade from old releases to 2.2.1 failed with following message:
{noformat}
Exception in thread "main" org.apache.ambari.server.AmbariException
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:230)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:304)
Caused by: java.lang.NullPointerException
at org.apache.ambari.server.upgrade.UpgradeCatalog221.updateAlerts(UpgradeCatalog221.java:146)
at org.apache.ambari.server.upgrade.UpgradeCatalog221.executeDMLUpdates(UpgradeCatalog221.java:123)
at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeData(AbstractUpgradeCatalog.java:660)
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeDMLUpdates(SchemaUpgradeHelper.java:227)
... 1 more
{noformat}


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog221.java 1257f70 

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


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko