You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2015/10/12 16:51:32 UTC

Review Request 39235: Ambari does not install phoenix if one enables phoenix after cluster install is done

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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

After enabling phoenix on a running cluster none of the region servers
started. I had to install the phoenix rpm on all the nodes and restart region
server to get it work.

Saw this on

    
    
    
    [root@pre-prod-poc-1 ~]# rpm -qa | grep ambari
    ambari-metrics-hadoop-sink-2.1.2-370.x86_64
    ambari-server-2.1.2-370.x86_64
    ambari-metrics-monitor-2.1.2-370.x86_64
    ambari-agent-2.1.2-370.x86_64
    

If the phoenix rpm is not installed region servers fail to start with class
not found exception.


Diffs
-----

  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py 0d11e6c 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py bf269d6 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 39235: Ambari does not install phoenix if one enables phoenix after cluster install is done

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


Please, add tests for hbase.py

- Vitalyi Brodetskyi


On Жов. 12, 2015, 2:51 після полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39235/
> -----------------------------------------------------------
> 
> (Updated Жов. 12, 2015, 2:51 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13361
>     https://issues.apache.org/jira/browse/AMBARI-13361
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After enabling phoenix on a running cluster none of the region servers
> started. I had to install the phoenix rpm on all the nodes and restart region
> server to get it work.
> 
> Saw this on
> 
>     
>     
>     
>     [root@pre-prod-poc-1 ~]# rpm -qa | grep ambari
>     ambari-metrics-hadoop-sink-2.1.2-370.x86_64
>     ambari-server-2.1.2-370.x86_64
>     ambari-metrics-monitor-2.1.2-370.x86_64
>     ambari-agent-2.1.2-370.x86_64
>     
> 
> If the phoenix rpm is not installed region servers fail to start with class
> not found exception.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py 0d11e6c 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py bf269d6 
> 
> Diff: https://reviews.apache.org/r/39235/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 39235: Ambari does not install phoenix if one enables phoenix after cluster install is done

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


Next time we modify params.py, can we add a # TODO that we shouldn't be relying on the start/stop/install command to install phoenix?

- Alejandro Fernandez


On Oct. 12, 2015, 3:44 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39235/
> -----------------------------------------------------------
> 
> (Updated Oct. 12, 2015, 3:44 p.m.)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13361
>     https://issues.apache.org/jira/browse/AMBARI-13361
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After enabling phoenix on a running cluster none of the region servers
> started. I had to install the phoenix rpm on all the nodes and restart region
> server to get it work.
> 
> Saw this on
> 
>     
>     
>     
>     [root@pre-prod-poc-1 ~]# rpm -qa | grep ambari
>     ambari-metrics-hadoop-sink-2.1.2-370.x86_64
>     ambari-server-2.1.2-370.x86_64
>     ambari-metrics-monitor-2.1.2-370.x86_64
>     ambari-agent-2.1.2-370.x86_64
>     
> 
> If the phoenix rpm is not installed region servers fail to start with class
> not found exception.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py 0d11e6c 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py bf269d6 
>   ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py dd477c1 
>   ambari-server/src/test/python/stacks/2.0.6/configs/hbase-rs-2.2-phoenix.json PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/39235/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 39235: Ambari does not install phoenix if one enables phoenix after cluster install is done

Posted by Sumit Mohanty <sm...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39235/#review102264
-----------------------------------------------------------

Ship it!


Ship It!

- Sumit Mohanty


On Oct. 12, 2015, 3:44 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39235/
> -----------------------------------------------------------
> 
> (Updated Oct. 12, 2015, 3:44 p.m.)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13361
>     https://issues.apache.org/jira/browse/AMBARI-13361
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After enabling phoenix on a running cluster none of the region servers
> started. I had to install the phoenix rpm on all the nodes and restart region
> server to get it work.
> 
> Saw this on
> 
>     
>     
>     
>     [root@pre-prod-poc-1 ~]# rpm -qa | grep ambari
>     ambari-metrics-hadoop-sink-2.1.2-370.x86_64
>     ambari-server-2.1.2-370.x86_64
>     ambari-metrics-monitor-2.1.2-370.x86_64
>     ambari-agent-2.1.2-370.x86_64
>     
> 
> If the phoenix rpm is not installed region servers fail to start with class
> not found exception.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py 0d11e6c 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py bf269d6 
>   ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py dd477c1 
>   ambari-server/src/test/python/stacks/2.0.6/configs/hbase-rs-2.2-phoenix.json PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/39235/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 39235: Ambari does not install phoenix if one enables phoenix after cluster install is done

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

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Жов. 12, 2015, 3:44 після полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39235/
> -----------------------------------------------------------
> 
> (Updated Жов. 12, 2015, 3:44 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13361
>     https://issues.apache.org/jira/browse/AMBARI-13361
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After enabling phoenix on a running cluster none of the region servers
> started. I had to install the phoenix rpm on all the nodes and restart region
> server to get it work.
> 
> Saw this on
> 
>     
>     
>     
>     [root@pre-prod-poc-1 ~]# rpm -qa | grep ambari
>     ambari-metrics-hadoop-sink-2.1.2-370.x86_64
>     ambari-server-2.1.2-370.x86_64
>     ambari-metrics-monitor-2.1.2-370.x86_64
>     ambari-agent-2.1.2-370.x86_64
>     
> 
> If the phoenix rpm is not installed region servers fail to start with class
> not found exception.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py 0d11e6c 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py bf269d6 
>   ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py dd477c1 
>   ambari-server/src/test/python/stacks/2.0.6/configs/hbase-rs-2.2-phoenix.json PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/39235/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 39235: Ambari does not install phoenix if one enables phoenix after cluster install is done

Posted by Sumit Mohanty <sm...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39235/#review102263
-----------------------------------------------------------



ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py (line 514)
<https://reviews.apache.org/r/39235/#comment159845>

    Nice.


- Sumit Mohanty


On Oct. 12, 2015, 3:44 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39235/
> -----------------------------------------------------------
> 
> (Updated Oct. 12, 2015, 3:44 p.m.)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-13361
>     https://issues.apache.org/jira/browse/AMBARI-13361
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After enabling phoenix on a running cluster none of the region servers
> started. I had to install the phoenix rpm on all the nodes and restart region
> server to get it work.
> 
> Saw this on
> 
>     
>     
>     
>     [root@pre-prod-poc-1 ~]# rpm -qa | grep ambari
>     ambari-metrics-hadoop-sink-2.1.2-370.x86_64
>     ambari-server-2.1.2-370.x86_64
>     ambari-metrics-monitor-2.1.2-370.x86_64
>     ambari-agent-2.1.2-370.x86_64
>     
> 
> If the phoenix rpm is not installed region servers fail to start with class
> not found exception.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py 0d11e6c 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py bf269d6 
>   ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py dd477c1 
>   ambari-server/src/test/python/stacks/2.0.6/configs/hbase-rs-2.2-phoenix.json PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/39235/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 39235: Ambari does not install phoenix if one enables phoenix after cluster install is done

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39235/
-----------------------------------------------------------

(Updated Oct. 12, 2015, 3:44 p.m.)


Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

After enabling phoenix on a running cluster none of the region servers
started. I had to install the phoenix rpm on all the nodes and restart region
server to get it work.

Saw this on

    
    
    
    [root@pre-prod-poc-1 ~]# rpm -qa | grep ambari
    ambari-metrics-hadoop-sink-2.1.2-370.x86_64
    ambari-server-2.1.2-370.x86_64
    ambari-metrics-monitor-2.1.2-370.x86_64
    ambari-agent-2.1.2-370.x86_64
    

If the phoenix rpm is not installed region servers fail to start with class
not found exception.


Diffs (updated)
-----

  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py 0d11e6c 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py bf269d6 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py dd477c1 
  ambari-server/src/test/python/stacks/2.0.6/configs/hbase-rs-2.2-phoenix.json PRE-CREATION 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk