incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-1109) Incorrect host memory number shows up on Assign Masters
Date Thu, 20 Dec 2012 17:45:12 GMT

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

Siddharth Wagle updated AMBARI-1109:
------------------------------------

    Attachment: patch_2698.txt

Fixed the Hardware.py in ambari agent to look for facter output of GB, MB , KB or bytes
                
> Incorrect host memory number shows up on Assign Masters
> -------------------------------------------------------
>
>                 Key: AMBARI-1109
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1109
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.2.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>         Attachments: patch_2698.txt
>
>
> Running an install and host memory shows-up at 999.9GB but it's really 999.9MB (basically
1 GB).
> Here is the info that came back from host registration in the server log (note the memory=1048439685).
And what comes back from TOP.
> Mem:   1023864k total,   972016k used,    51848k free,    29456k buffers
> 09:31:49,274  INFO HostImpl:242 - Received host registration, host=[hostname=hdp128,fqdn=hdp128.localdomain,domain=localdomain,architecture=x86_64,processorcount=1,physicalprocessorcount=1,osname=CentOS,osversion=5.8,osfamily=RedHat,memory=1048439685,uptime_hours=0,mounts=(available=13871676,mountpoint=/,used=3210900,percent=19%,size=18012336,device=null,type=ext3)(available=263413,mountpoint=/boot,used=16888,percent=7%,size=295561,device=null,type=ext3)(available=511932,mountpoint=/dev/shm,used=0,percent=0%,size=511932,device=null,type=tmpfs)]
> , registrationTime=1355765509243, agentVersion=v1
> 09:32:10,099  INFO AmbariLocalUserDetailsService:62 - Loading user by name: admin

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message