Andrew Onischuk created AMBARI-15836:
----------------------------------------

             Summary: 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