You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by zhangxiaolu zhangxiaolu <zh...@cmss.chinamobile.com> on 2017/06/22 05:55:44 UTC

Review Request 60358: Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.

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

Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Dmytro Sen, Jaimin Jetly, Nate Cole, Srimanth Gunturi, Sid Wagle, and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.


Diffs
-----

  ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py 74fd76a 
  ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/spark_service.py 31a296a 


Diff: https://reviews.apache.org/r/60358/diff/1/


Testing
-------

done


Thanks,

zhangxiaolu zhangxiaolu


Re: Review Request 60358: Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.

Posted by zhangxiaolu zhangxiaolu <zh...@cmss.chinamobile.com>.

> On 六月 22, 2017, 1:06 p.m., Nate Cole wrote:
> > ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py
> > Lines 152 (patched)
> > <https://reviews.apache.org/r/60358/diff/1/?file=1758056#file1758056line152>
> >
> >     You will run into problems if this hasn't been defined.  I would recommend a default("/...", <port>) instead.
> >     
> >     Also can add a test.

Yes,you are right.It would be better with default


- zhangxiaolu


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


On 六月 22, 2017, 5:55 a.m., zhangxiaolu zhangxiaolu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60358/
> -----------------------------------------------------------
> 
> (Updated 六月 22, 2017, 5:55 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Dmytro Sen, Jaimin Jetly, Nate Cole, Srimanth Gunturi, Sid Wagle, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-21305
>     https://issues.apache.org/jira/browse/AMBARI-21305
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py 74fd76a 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/spark_service.py 31a296a 
> 
> 
> Diff: https://reviews.apache.org/r/60358/diff/1/
> 
> 
> Testing
> -------
> 
> done
> 
> 
> Thanks,
> 
> zhangxiaolu zhangxiaolu
> 
>


Re: Review Request 60358: Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.

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


Fix it, then Ship it!





ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py
Lines 152 (patched)
<https://reviews.apache.org/r/60358/#comment252807>

    You will run into problems if this hasn't been defined.  I would recommend a default("/...", <port>) instead.
    
    Also can add a test.


- Nate Cole


On June 22, 2017, 1:55 a.m., zhangxiaolu zhangxiaolu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60358/
> -----------------------------------------------------------
> 
> (Updated June 22, 2017, 1:55 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Dmytro Sen, Jaimin Jetly, Nate Cole, Srimanth Gunturi, Sid Wagle, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-21305
>     https://issues.apache.org/jira/browse/AMBARI-21305
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py 74fd76a 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/spark_service.py 31a296a 
> 
> 
> Diff: https://reviews.apache.org/r/60358/diff/1/
> 
> 
> Testing
> -------
> 
> done
> 
> 
> Thanks,
> 
> zhangxiaolu zhangxiaolu
> 
>


Re: Review Request 60358: Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.

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




ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/spark_service.py
Line 87 (original), 87 (patched)
<https://reviews.apache.org/r/60358/#comment252845>

    Any unit tests for this?


- Alejandro Fernandez


On June 22, 2017, 5:55 a.m., zhangxiaolu zhangxiaolu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60358/
> -----------------------------------------------------------
> 
> (Updated June 22, 2017, 5:55 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Dmytro Sen, Jaimin Jetly, Nate Cole, Srimanth Gunturi, Sid Wagle, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-21305
>     https://issues.apache.org/jira/browse/AMBARI-21305
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py 74fd76a 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/spark_service.py 31a296a 
> 
> 
> Diff: https://reviews.apache.org/r/60358/diff/1/
> 
> 
> Testing
> -------
> 
> done
> 
> 
> Thanks,
> 
> zhangxiaolu zhangxiaolu
> 
>


Re: Review Request 60358: Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.

Posted by Nate Cole <nc...@hortonworks.com>.

> On Sept. 12, 2017, 10:23 a.m., Nate Cole wrote:
> > What is the status of this review?

Ping


- Nate


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


On June 22, 2017, 1:55 a.m., zhangxiaolu zhangxiaolu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60358/
> -----------------------------------------------------------
> 
> (Updated June 22, 2017, 1:55 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Dmytro Sen, Jaimin Jetly, Nate Cole, Srimanth Gunturi, Sid Wagle, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-21305
>     https://issues.apache.org/jira/browse/AMBARI-21305
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py 74fd76a 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/spark_service.py 31a296a 
> 
> 
> Diff: https://reviews.apache.org/r/60358/diff/1/
> 
> 
> Testing
> -------
> 
> done
> 
> 
> Thanks,
> 
> zhangxiaolu zhangxiaolu
> 
>


Re: Review Request 60358: Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.

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



What is the status of this review?

- Nate Cole


On June 22, 2017, 1:55 a.m., zhangxiaolu zhangxiaolu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60358/
> -----------------------------------------------------------
> 
> (Updated June 22, 2017, 1:55 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, Dmytro Sen, Jaimin Jetly, Nate Cole, Srimanth Gunturi, Sid Wagle, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-21305
>     https://issues.apache.org/jira/browse/AMBARI-21305
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Hivesevers's status shows issue for the thrift's port conflict, when hiveservers and spark thrift server installed in the same host.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/params.py 74fd76a 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/spark_service.py 31a296a 
> 
> 
> Diff: https://reviews.apache.org/r/60358/diff/1/
> 
> 
> Testing
> -------
> 
> done
> 
> 
> Thanks,
> 
> zhangxiaolu zhangxiaolu
> 
>