[
https://issues.apache.org/jira/browse/HDFS-920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ravi Phulari updated HDFS-920:
------------------------------
Description:
Transaction metrics *transactions.getPreviousIntervalNumOps()* reported for
name node edit logs are reporting incorrect metrics.
Transaction metrics should report 3 transactions upon creating a file of 1
block size - ( 1 for create file + 1 for one block write + 1 for close file )
which is reported correctly.
Similarly metrics should report 12 transactions upon creating a file of 10
block size - ( 1 for create file + 10 for ten block writes + 1 for close file )
which is reported incorrectly as 3.
was:
Transaction metrics *transactions.getPreviousIntervalNumOps()* reported for
name node edit logs are reporting incorrect metrics.
Transaction metrics should report 3 transactions upon creating a file of 1
block size - ( 1 for create file + 1 for one block write + 1 for close file )
which is reported correctly.
Similarly metrics should report 12 transactions upon creating a file of 10
block size - ( 1 for create file + 10 for twelve block write + 1 for close file
) which is reported incorrectly as 3.
> Incorrect metrics reporting of transcations metrics.
> ------------------------------------------------------
>
> Key: HDFS-920
> URL: https://issues.apache.org/jira/browse/HDFS-920
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.1, 0.20.2, 0.21.0, 0.22.0
> Reporter: Ravi Phulari
> Fix For: 0.20.2
>
>
> Transaction metrics *transactions.getPreviousIntervalNumOps()* reported for
> name node edit logs are reporting incorrect metrics.
> Transaction metrics should report 3 transactions upon creating a file of 1
> block size - ( 1 for create file + 1 for one block write + 1 for close file )
> which is reported correctly.
> Similarly metrics should report 12 transactions upon creating a file of 10
> block size - ( 1 for create file + 10 for ten block writes + 1 for close file
> ) which is reported incorrectly as 3.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.