You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2017/08/04 22:36:00 UTC
[jira] [Updated] (HIVE-17254) Skip updating AccessTime of recycled
files in ReplChangeManager
[ https://issues.apache.org/jira/browse/HIVE-17254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated HIVE-17254:
------------------------------
Attachment: HIVE-17254.1.patch
The HDFS issue is fixed in bundled hadoop (2.8.0), so it would be hard to write a test case. Manually tested and it works.
> Skip updating AccessTime of recycled files in ReplChangeManager
> ---------------------------------------------------------------
>
> Key: HIVE-17254
> URL: https://issues.apache.org/jira/browse/HIVE-17254
> Project: Hive
> Issue Type: Bug
> Components: repl
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Attachments: HIVE-17254.1.patch
>
>
> For recycled file, we update both ModifyTime and AccessTime:
> fs.setTimes(path, now, now);
> On some version of hdfs, this is now allowed when "dfs.namenode.accesstime.precision" is set to 0. Though the issue is solved in HDFS-9208, we don't use AccessTime in CM and this could be skipped so we don't have to fail on this scenario.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)