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 "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2016/12/09 20:05:58 UTC
[jira] [Created] (HDFS-11229) HDFS-11056 failed to close meta file
Wei-Chiu Chuang created HDFS-11229:
--------------------------------------
Summary: HDFS-11056 failed to close meta file
Key: HDFS-11229
URL: https://issues.apache.org/jira/browse/HDFS-11229
Project: Hadoop HDFS
Issue Type: Bug
Components: datanode
Affects Versions: 2.7.4
Reporter: Wei-Chiu Chuang
Assignee: Wei-Chiu Chuang
Priority: Blocker
The following code failed to close the file after it is read.
{code:title=FsVolumeImpl#loadLastPartialChunkChecksum}
RandomAccessFile raf = new RandomAccessFile(metaFile, "r");
raf.seek(offsetInChecksum);
raf.read(lastChecksum, 0, checksumSize);
return lastChecksum;
{code}
This must be fixed because every append operation uses this piece of code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org