You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by GitBox <gi...@apache.org> on 2022/12/28 03:49:39 UTC

[GitHub] [ambari] Sushmasree-28 opened a new pull request, #3619: Fix the widget.json for the Host memory used %

Sushmasree-28 opened a new pull request, #3619:
URL: https://github.com/apache/ambari/pull/3619

   'Free' memory is the memory available after the cached memory getting reduced from total memory but the 'available' memory is the total available memory including the cached memory as that can be reclaimed anytime. So mem_free is nothing but mem_available.
   
   ## What changes were proposed in this pull request?
   In the host memory used heat map we should just do (mem_total-mem_free)/mem_total to get the used memory fraction.
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. Ex: unit tests, manual tests)
   (If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
   
   Please review [Ambari Contributing Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) before opening a pull request.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org


[GitHub] [ambari] vivostar commented on pull request #3619: [AMBARI-25823] Fix the widget.json for the Host memory used %

Posted by GitBox <gi...@apache.org>.
vivostar commented on PR #3619:
URL: https://github.com/apache/ambari/pull/3619#issuecomment-1372351595

   
   ![Screenshot from 2023-01-05 23-14-10](https://user-images.githubusercontent.com/49220700/210814251-9d4d97e1-f98b-4781-aa09-e13a8cfddc02.png)
   My grafana dashboard also doesn't consider the catched memory. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org


[GitHub] [ambari] vivostar commented on pull request #3619: [AMBARI-25823] Fix the widget.json for the Host memory used %

Posted by GitBox <gi...@apache.org>.
vivostar commented on PR #3619:
URL: https://github.com/apache/ambari/pull/3619#issuecomment-1372352511

   +1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org


[GitHub] [ambari] kevinw66 commented on pull request #3619: [AMBARI-25823] Fix the widget.json for the Host memory used %

Posted by GitBox <gi...@apache.org>.
kevinw66 commented on PR #3619:
URL: https://github.com/apache/ambari/pull/3619#issuecomment-1372387695

   Thanks for the PR @Sushmasree-28 , may I ask whether we have used the variable "mem_free" incorrectly in all places, or only here? Can we define a new variable "mem_available" and use it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org