[ 
https://issues.apache.org/jira/browse/HDDS-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812099#comment-16812099
 ] 

Mukul Kumar Singh commented on HDDS-1401:
-----------------------------------------

After adding some debug tracing, it is found that after eviction

{code}
2019-04-07 23:06:55,698 INFO  utils.ContainerCache 
(ContainerCache.java:removeLRU(121)) - evicting db file:12 
db:org.apache.hadoop.utils.RocksDBStore@71a7e0b4
2019-04-07 23:06:55,698 INFO  utils.ContainerCache 
(ContainerCache.java:removeLRU(131)) - file:12 block written is 
101886106270695437
2019-04-07 23:06:55,698 INFO  utils.ContainerCache 
(ContainerCache.java:removeLRU(131)) - file:12 block written is 
101886106270826525
2019-04-07 23:06:55,699 INFO  utils.ContainerCache 
(ContainerCache.java:removeLRU(131)) - file:12 block written is 
101886106270892116
2019-04-07 23:06:55,699 INFO  utils.ContainerCache 
(ContainerCache.java:removeLRU(131)) - file:12 block written is 
101886107014857243
2019-04-07 23:06:55,699 INFO  utils.ContainerCache 
(ContainerCache.java:removeLRU(128)) - file:12 evict written is bcs key
2019-04-07 23:06:55,699 INFO  utils.ContainerCache 
(ContainerCache.java:closeDB(81)) - closing db file:12
2019-04-07 23:06:55,700 INFO  utils.ContainerCache 
(ContainerCache.java:closeDB(85)) - closed db file:12
{code}

{code}
2019-04-07 23:06:56,530 INFO  utils.ContainerCache 
(ContainerCache.java:getDB(174)) - loading db file:12 
db:org.apache.hadoop.utils.RocksDBStore@18228e23
2019-04-07 23:06:56,530 INFO  utils.ContainerCache 
(ContainerCache.java:getDB(182)) - file:12 block written is:101886106270695437 
2019-04-07 23:06:56,530 INFO  utils.ContainerCache 
(ContainerCache.java:getDB(182)) - file:12 block written is:101886106270892116 
2019-04-07 23:06:56,530 INFO  utils.ContainerCache 
(ContainerCache.java:getDB(179)) - file:12 evict written is bcs key
{code}

> Key Read fails with Unable to find the block, after reducing the size of 
> container cache
> ----------------------------------------------------------------------------------------
>
>                 Key: HDDS-1401
>                 URL: https://issues.apache.org/jira/browse/HDDS-1401
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode
>    Affects Versions: 0.3.0
>            Reporter: Mukul Kumar Singh
>            Priority: Major
>
> Key Read fails with Unable to find the block NO_SUCH_BLOCK after reducing the 
> value of OZONE_CONTAINER_CACHE_SIZE.
> The reads are tried on the other datanodes but it failed on all the 3 
> datanodes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to