Re: Review Request 46095: On debian7 UI shows 'os not supported' in processor info

2016-04-12 Thread Vitalyi Brodetskyi

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


Ship it!




Ship It!

- Vitalyi Brodetskyi


On Квітень 12, 2016, 2:21 після полудня, Andrew Onischuk wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46095/
> ---
> 
> (Updated Квітень 12, 2016, 2:21 після полудня)
> 
> 
> Review request for Ambari, Dmytro Sen, Myroslav Papirkovskyy, and Vitalyi 
> Brodetskyi.
> 
> 
> Bugs: AMBARI-15836
> https://issues.apache.org/jira/browse/AMBARI-15836
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> This is caused by platform python module not able to get processor
> architecture.
> 
> 
> 
> >>> import platform
> >>> platform.processor()
> ''
> 
> 
> We should use a more reliable way to do that.  
> That is by using lsof.
> 
> 
> 
> root@os-d7-cpnlrs-devdeploy-1:~# lscpu | grep "Architecture:" | awk '{ 
> print $2 }'
> x86_64
> 
> 
> Diffs
> -
> 
>   ambari-agent/src/main/python/ambari_agent/Facter.py bad9b96 
> 
> Diff: https://reviews.apache.org/r/46095/diff/
> 
> 
> Testing
> ---
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>



Re: Review Request 46095: On debian7 UI shows 'os not supported' in processor info

2016-04-12 Thread Dmytro Sen

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


Ship it!




Ship It!

- Dmytro Sen


On Апрель 12, 2016, 2:21 п.п., Andrew Onischuk wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46095/
> ---
> 
> (Updated Апрель 12, 2016, 2:21 п.п.)
> 
> 
> Review request for Ambari, Dmytro Sen, Myroslav Papirkovskyy, and Vitalyi 
> Brodetskyi.
> 
> 
> Bugs: AMBARI-15836
> https://issues.apache.org/jira/browse/AMBARI-15836
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> This is caused by platform python module not able to get processor
> architecture.
> 
> 
> 
> >>> import platform
> >>> platform.processor()
> ''
> 
> 
> We should use a more reliable way to do that.  
> That is by using lsof.
> 
> 
> 
> root@os-d7-cpnlrs-devdeploy-1:~# lscpu | grep "Architecture:" | awk '{ 
> print $2 }'
> x86_64
> 
> 
> Diffs
> -
> 
>   ambari-agent/src/main/python/ambari_agent/Facter.py bad9b96 
> 
> Diff: https://reviews.apache.org/r/46095/diff/
> 
> 
> Testing
> ---
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>



Re: Review Request 46095: On debian7 UI shows 'os not supported' in processor info

2016-04-12 Thread Myroslav Papirkovskyy

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


Ship it!




Ship It!

- Myroslav Papirkovskyy


On Квітень 12, 2016, 5:11 після полудня, Andrew Onischuk wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46095/
> ---
> 
> (Updated Квітень 12, 2016, 5:11 після полудня)
> 
> 
> Review request for Ambari, Dmytro Sen and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-15836
> https://issues.apache.org/jira/browse/AMBARI-15836
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> This is caused by platform python module not able to get processor
> architecture.
> 
> 
> 
> >>> import platform
> >>> platform.processor()
> ''
> 
> 
> We should use a more reliable way to do that.  
> That is by using lsof.
> 
> 
> 
> root@os-d7-cpnlrs-devdeploy-1:~# lscpu | grep "Architecture:" | awk '{ 
> print $2 }'
> x86_64
> 
> 
> Diffs
> -
> 
>   ambari-agent/src/main/python/ambari_agent/Facter.py bad9b96 
> 
> Diff: https://reviews.apache.org/r/46095/diff/
> 
> 
> Testing
> ---
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>



Re: Review Request 46095: On debian7 UI shows 'os not supported' in processor info

2016-04-12 Thread Andrew Onischuk

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

(Updated April 12, 2016, 2:05 p.m.)


Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
---

This is caused by platform python module not able to get processor
architecture.



>>> import platform
>>> platform.processor()
''


We should use a more reliable way to do that.  
That is by using lsof.



root@os-d7-cpnlrs-devdeploy-1:~# lscpu | grep "Architecture:" | awk '{ 
print $2 }'
x86_64


Diffs (updated)
-

  ambari-agent/src/main/python/ambari_agent/Facter.py bad9b96 

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


Testing
---

mvn clean test


Thanks,

Andrew Onischuk