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/11/19 16:00:25 UTC

Review Request 40486: Ambari 2.1.2.1 points to Incorrect Repository version [After upgraded from ambari 1.7.0]

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

Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, Jayush Luniya, Nate Cole, and Sumit Mohanty.


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


Repository: ambari


Description
-------

Initially HDP Stack 2.2 GA was installed with Ambari 1.7.0.

HDP Repo Used:
{noformat}
http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/GA/2.2.0.0
{noformat}

But after the Ambari upgraded from 1.7.0 to Ambari 2.1.2.1 , the HDP repo point to 2.2.6 instead of 2.2.0

HDP Repo After Upgrade:
{noformat}
http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.2.6.0
{noformat}

Sumit proposed to issue a notification for user during upgrade from 1.7.0. Initally it was going to be a conditional message, but finally we decided to issue a message always.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java 0d7383f 
  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java 922cfda 
  ambari-server/src/main/python/ambari_server/serverUpgrade.py f05082f 
  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java faf0390 

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


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko


Re: Review Request 40486: Ambari 2.1.2.1 points to Incorrect Repository version [After upgraded from ambari 1.7.0]

Posted by Nate Cole <nc...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40486/#review107204
-----------------------------------------------------------

Ship it!


Ship It!

- Nate Cole


On Nov. 19, 2015, 12:08 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40486/
> -----------------------------------------------------------
> 
> (Updated Nov. 19, 2015, 12:08 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, Jayush Luniya, Nate Cole, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-13970
>     https://issues.apache.org/jira/browse/AMBARI-13970
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Initially HDP Stack 2.2 GA was installed with Ambari 1.7.0.
> 
> HDP Repo Used:
> {noformat}
> http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/GA/2.2.0.0
> {noformat}
> 
> But after the Ambari upgraded from 1.7.0 to Ambari 2.1.2.1 , the HDP repo point to 2.2.6 instead of 2.2.0
> 
> HDP Repo After Upgrade:
> {noformat}
> http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.2.6.0
> {noformat}
> 
> Sumit proposed to issue a notification for user during upgrade from 1.7.0. Initally it was going to be a conditional message, but finally we decided to issue a message always.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java 0d7383f 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java 922cfda 
>   ambari-server/src/main/python/ambari_server/serverUpgrade.py f05082f 
>   ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java faf0390 
> 
> Diff: https://reviews.apache.org/r/40486/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 40486: Ambari 2.1.2.1 points to Incorrect Repository version [After upgraded from ambari 1.7.0]

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

(Updated Nov. 19, 2015, 7:08 p.m.)


Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, Jayush Luniya, Nate Cole, and Sumit Mohanty.


Changes
-------

fixed comments


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


Repository: ambari


Description
-------

Initially HDP Stack 2.2 GA was installed with Ambari 1.7.0.

HDP Repo Used:
{noformat}
http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/GA/2.2.0.0
{noformat}

But after the Ambari upgraded from 1.7.0 to Ambari 2.1.2.1 , the HDP repo point to 2.2.6 instead of 2.2.0

HDP Repo After Upgrade:
{noformat}
http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.2.6.0
{noformat}

Sumit proposed to issue a notification for user during upgrade from 1.7.0. Initally it was going to be a conditional message, but finally we decided to issue a message always.


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java 0d7383f 
  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java 922cfda 
  ambari-server/src/main/python/ambari_server/serverUpgrade.py f05082f 
  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java faf0390 

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


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko


Re: Review Request 40486: Ambari 2.1.2.1 points to Incorrect Repository version [After upgraded from ambari 1.7.0]

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.

> On Nov. 19, 2015, 6:11 p.m., Nate Cole wrote:
> > ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java, line 75
> > <https://reviews.apache.org/r/40486/diff/1/?file=1132025#file1132025line75>
> >
> >     no '*' for imports.  Your IDE should auto-import for you, no?

I've updated to Idea 15


> On Nov. 19, 2015, 6:11 p.m., Nate Cole wrote:
> > ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java, lines 392-394
> > <https://reviews.apache.org/r/40486/diff/1/?file=1132022#file1132022line392>
> >
> >     10 and 20 spaces are a bit much for os-type and repo-id.

reduced, can not reduce even more


- Dmitro


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


On Nov. 19, 2015, 7:08 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40486/
> -----------------------------------------------------------
> 
> (Updated Nov. 19, 2015, 7:08 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, Jayush Luniya, Nate Cole, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-13970
>     https://issues.apache.org/jira/browse/AMBARI-13970
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Initially HDP Stack 2.2 GA was installed with Ambari 1.7.0.
> 
> HDP Repo Used:
> {noformat}
> http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/GA/2.2.0.0
> {noformat}
> 
> But after the Ambari upgraded from 1.7.0 to Ambari 2.1.2.1 , the HDP repo point to 2.2.6 instead of 2.2.0
> 
> HDP Repo After Upgrade:
> {noformat}
> http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.2.6.0
> {noformat}
> 
> Sumit proposed to issue a notification for user during upgrade from 1.7.0. Initally it was going to be a conditional message, but finally we decided to issue a message always.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java 0d7383f 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java 922cfda 
>   ambari-server/src/main/python/ambari_server/serverUpgrade.py f05082f 
>   ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java faf0390 
> 
> Diff: https://reviews.apache.org/r/40486/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 40486: Ambari 2.1.2.1 points to Incorrect Repository version [After upgraded from ambari 1.7.0]

Posted by Nate Cole <nc...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40486/#review107190
-----------------------------------------------------------

Ship it!



ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java (lines 392 - 394)
<https://reviews.apache.org/r/40486/#comment166189>

    10 and 20 spaces are a bit much for os-type and repo-id.



ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java (line 71)
<https://reviews.apache.org/r/40486/#comment166188>

    no '*' for imports.  Your IDE should auto-import for you, no?


- Nate Cole


On Nov. 19, 2015, 10 a.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40486/
> -----------------------------------------------------------
> 
> (Updated Nov. 19, 2015, 10 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, Jayush Luniya, Nate Cole, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-13970
>     https://issues.apache.org/jira/browse/AMBARI-13970
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Initially HDP Stack 2.2 GA was installed with Ambari 1.7.0.
> 
> HDP Repo Used:
> {noformat}
> http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/GA/2.2.0.0
> {noformat}
> 
> But after the Ambari upgraded from 1.7.0 to Ambari 2.1.2.1 , the HDP repo point to 2.2.6 instead of 2.2.0
> 
> HDP Repo After Upgrade:
> {noformat}
> http://public-repo-1.hortonworks.com/HDP/ubuntu12/2.x/updates/2.2.6.0
> {noformat}
> 
> Sumit proposed to issue a notification for user during upgrade from 1.7.0. Initally it was going to be a conditional message, but finally we decided to issue a message always.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog200.java 0d7383f 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java 922cfda 
>   ambari-server/src/main/python/ambari_server/serverUpgrade.py f05082f 
>   ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog200Test.java faf0390 
> 
> Diff: https://reviews.apache.org/r/40486/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>