You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/10/28 16:13:32 UTC

[GitHub] [hadoop-ozone] bharatviswa504 commented on issue #89: HDDS-2322. DoubleBuffer flush termination and OM shutdown's after that. Make entry returned from cache a new copy.

bharatviswa504 commented on issue #89: HDDS-2322. DoubleBuffer flush termination and OM shutdown's after that. Make entry returned from cache a new copy.
URL: https://github.com/apache/hadoop-ozone/pull/89#issuecomment-547022709
 
 
   > https://issues.apache.org/jira/browse/HDDS-2356 issue happens here as well. From the stack I got, it looks like it may also be related to partKeyInfoList as TreeMap in OmMultipartKeyInfo.java being not thread safe. I may have little background knowledge here, but from the logs I got after running in actual env, it shows some other errors in https://issues.apache.org/jira/browse/HDDS-2356.
   > 
   > I wonder if we need to stay with TreeMap as a data structure since it's hard to make TreeMap thread safe.
   > 
   > Looks like after this change, there happens another recurring error in VM cluster. Please see https://issues.apache.org/jira/browse/HDDS-2356 for more info. I test several times and unfortunately the new issue seems to persist.
   
   Thank You for trying out the fix. On a bucket, multipart upload complete cannot occur in parallel, as we acquire bucket lock and then perform the operation(during write/get), so I think we don't require TreeMap to be synchronized/thread-safe.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org