[ 
https://issues.apache.org/jira/browse/AMBARI-15836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237218#comment-15237218
 ] 

Andrew Onischuk commented on AMBARI-15836:
------------------------------------------

Ran UT.
{noformat}
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 
approved: 144 licence.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Views ...................................... SUCCESS [4.424s]
[INFO] Ambari Metrics Common ............................. SUCCESS [0.912s]
[INFO] Ambari Server ..................................... SUCCESS [2:02.622s]
[INFO] Ambari Agent ...................................... SUCCESS [14.022s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:23.165s
[INFO] Finished at: Tue Apr 12 16:56:55 EEST 2016
[INFO] Final Memory: 65M/1027M
[INFO] ------------------------------------------------------------------------
{noformat}

> On debian7 UI shows 'os not supported' in processor info
> --------------------------------------------------------
>
>                 Key: AMBARI-15836
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15836
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15836.patch
>
>
> 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
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to