Member since
11-26-2019
8
Posts
0
Kudos Received
0
Solutions
03-20-2020
01:50 AM
@venkatsambath If it is the value of blocks, then how 2097152 blocks can be fit in 100gb space cluster each of 128 mb of block? Acutally i'm not getting how this block capacity value will be calculated, while calculating this metric total memory is considered or not? I have single node hadoop cluster as well as multinode test envirnonment in both the value for block capacity is same 2097152. Where should i found the block size in rest response? Is there any other URI for this metric? Initially it was assumed that the block capacity is same block size but over the time this value got changed.
... View more
03-16-2020
04:44 AM
BlockCapacity given in the REST reponse of Namenode is different than what we have set in the Ambari under HDFS dfs.blocksize
On Rest I am getting the value for BlockCapacity is 2097152 which equivalent to 2mb although the value of blocksize in Ambari is 128mb by default Fetching the blockcapacity from from following REST url https://<namenode-ip>:50470/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem
Does BlockCapacity from namenodes rest api and dfs.blocksize from Ambari are the same or different?
... View more
Labels:
- Labels:
-
Apache Ambari
-
HDFS