ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15836) On debian7 UI shows 'os not supported' in processor info
Date Tue, 19 Apr 2016 09:09:25 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-15836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Onischuk updated AMBARI-15836:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to trunk

> 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)

Mime
View raw message