I noticed couple of changes in how SWAP is being reported in 0.19.x API now.
Node Stats in 0.18.x contained two values:
swap / free[_in_bytes]
swap / used[_in_bytes]
In 0.19.x Node Stats API contains only
swap / free[_in_bytes]
and Node Info contains:
swap / total[_in_bytes]
My understanding is that swap can grow but it does not mean it is all
taken. Does it mean that if swap grows also value in Node info API can
change now? And actually, amount of swap that is taken can be calculated as
NodeInfo/swap/total - NodeStats/swap/free. Is that correct?
0.18 and 0.19 are the same when it comes to swap, total is reported in
info, and used/free is reported in stats. Though, I agree, it might make
sense to move total to stats if it can change dynamically, the idea is that
info always hold data that can't be changed.
I noticed couple of changes in how SWAP is being reported in 0.19.x API
now.
Node Stats in 0.18.x contained two values:
swap / free[_in_bytes]
swap / used[_in_bytes]
In 0.19.x Node Stats API contains only
swap / free[_in_bytes]
and Node Info contains:
swap / total[_in_bytes]
My understanding is that swap can grow but it does not mean it is all
taken. Does it mean that if swap grows also value in Node info API can
change now? And actually, amount of swap that is taken can be calculated as
NodeInfo/swap/total - NodeStats/swap/free. Is that correct?
Well, my point was that I did not see "used" in stats, just "free". (I said
it too complicated)
On Thu, Mar 22, 2012 at 1:06 PM, Shay Banon kimchy@gmail.com wrote:
0.18 and 0.19 are the same when it comes to swap, total is reported in
info, and used/free is reported in stats. Though, I agree, it might make
sense to move total to stats if it can change dynamically, the idea is that
info always hold data that can't be changed.
I noticed couple of changes in how SWAP is being reported in 0.19.x API
now.
Node Stats in 0.18.x contained two values:
swap / free[_in_bytes]
swap / used[_in_bytes]
In 0.19.x Node Stats API contains only
swap / free[_in_bytes]
and Node Info contains:
swap / total[_in_bytes]
My understanding is that swap can grow but it does not mean it is all
taken. Does it mean that if swap grows also value in Node info API can
change now? And actually, amount of swap that is taken can be calculated as
NodeInfo/swap/total - NodeStats/swap/free. Is that correct?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.