[ https://issues.apache.org/jira/browse/HDFS-15099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013159#comment-17013159 ]
Chen Liang commented on HDFS-15099: ----------------------------------- Checked with Konstantin offline, a better approach for the test seems to just don't rely on unpredictable time diff. But rather, manipulate {{fs.setTimes()}}. Post v003 patch. > [SBN Read] getBlockLocations() should throw ObserverRetryOnActiveException on > an attempt to change aTime on ObserverNode > ------------------------------------------------------------------------------------------------------------------------ > > Key: HDFS-15099 > URL: https://issues.apache.org/jira/browse/HDFS-15099 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 2.10.0 > Reporter: Konstantin Shvachko > Assignee: Chen Liang > Priority: Major > Attachments: HDFS-15099-branch-2.10.001.patch, > HDFS-15099-branch-2.10.002.patch, HDFS-15099-branch-2.10.003.patch > > > The precision of updating an INode's aTime while executing > {{getBlockLocations()}} is 1 hour by default. Updates cannot be handled by > ObserverNode, so the call should be redirected to Active NameNode. In order > to redirect to active the ObserverNode should through > {{ObserverRetryOnActiveException}}. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org