[
https://issues.apache.org/jira/browse/HDDS-1568?focusedWorklogId=250402&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-250402
]
ASF GitHub Bot logged work on HDDS-1568:
----------------------------------------
Author: ASF GitHub Bot
Created on: 29/May/19 19:22
Start Date: 29/May/19 19:22
Worklog Time Spent: 10m
Work Description: anuengineer commented on pull request #868: HDDS-1568 :
Add RocksDB metrics to OM.
URL: https://github.com/apache/hadoop/pull/868#discussion_r288728813
##########
File path:
hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/DBStoreBuilder.java
##########
@@ -187,7 +196,13 @@ private DBOptions getDbProfile() {
if (option == null) {
LOG.info("Using default options. {}", dbProfile.toString());
- return dbProfile.getDBOptions();
+ option = dbProfile.getDBOptions();
+ }
+
+ if (!rocksDbStat.equals(OZONE_METADATA_STORE_ROCKSDB_STATISTICS_OFF)) {
Review comment:
There is some history here. During our first release we found that RocksDB
is also shipped by YARN. That version of RocksDB is very old, hence this call
would fail in mysterious ways. @arp7 went and fixed that issue and made sure
that we don't enable this by default. I am fine with enabling this, if we don't
run into that old issue again. @elek, @arp7 any comments ?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 250402)
Time Spent: 40m (was: 0.5h)
> Add RocksDB metrics to OM
> -------------------------
>
> Key: HDDS-1568
> URL: https://issues.apache.org/jira/browse/HDDS-1568
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Ozone Manager
> Reporter: Siddharth Wagle
> Assignee: Aravindan Vijayan
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> RocksDB statistics need to sinked to hadoop-metrics2 for Ozone Manager to
> understand how OM behaves under heavy load.
> Example: "rocksdb.bytes.written"
> https://github.com/facebook/rocksdb/wiki/Statistics
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]