[
https://issues.apache.org/jira/browse/HDDS-2866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-2866:
-----------------------------------
Status: Patch Available (was: In Progress)
> Intermittent failure in TestOzoneManagerRocksDBLogging
> ------------------------------------------------------
>
> Key: HDDS-2866
> URL: https://issues.apache.org/jira/browse/HDDS-2866
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{TestOzoneManagerRocksDBLogging}} fails intermittently. I think the problem
> is that RocksDB-specific string may appear in the log in the {{Finalizer}}
> thread after after OM is shutdown and restarted in {{Thread-1}}:
> {code:title=output}
> 2020-01-09 16:17:29,372 [Thread-1] INFO rocksdb.RocksDB
> (DBStoreBuilder.java:log(228)) - [/db_impl.cc:390] Shutdown: canceling all
> background work
> 2020-01-09 16:17:29,373 [Thread-1] INFO rocksdb.RocksDB
> (DBStoreBuilder.java:log(228)) - [/db_impl.cc:563] Shutdown complete
> 2020-01-09 16:17:29,373 [Thread-1] INFO om.OzoneManager
> (OzoneManager.java:restart(1127)) - OzoneManager RPC server is listening at
> localhost/127.0.0.1:33899
> ...
> 2020-01-09 16:17:29,561 [Thread-1] INFO server.BaseHttpServer
> (BaseHttpServer.java:updateConnectorAddress(216)) - HTTP server of
> ozoneManager listening at http://0.0.0.0:34495
> ...
> 2020-01-09 16:17:37,988 [Finalizer] INFO rocksdb.RocksDB
> (DBStoreBuilder.java:log(228)) - [/db_impl.cc:390] Shutdown: canceling all
> background work
> 2020-01-09 16:17:37,989 [Finalizer] INFO rocksdb.RocksDB
> (DBStoreBuilder.java:log(228)) - [/db_impl.cc:563] Shutdown complete
> {code}
> Swapping the order of tests (ie. running with logging disabled first) would
> guarantee that stray messages from the logger do not affect it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]