hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinay (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5903) FSVolumeList#initializeReplicaMaps(..) not doing anything, it can be removed
Date Fri, 07 Feb 2014 14:19:19 GMT

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

Vinay commented on HDFS-5903:
-----------------------------

{noformat}#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32776 bytes for Chunk::new
# An error report file with more information is saved as:
# /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hs_err_pid21355.log{noformat}

This is not compilation problem. While running javadoc jenkins got OOME.

> FSVolumeList#initializeReplicaMaps(..) not doing anything, it can be removed
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-5903
>                 URL: https://issues.apache.org/jira/browse/HDFS-5903
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Vinay
>            Assignee: Vinay
>            Priority: Minor
>         Attachments: HDFS-5903.patch
>
>
> {code}  void initializeReplicaMaps(ReplicaMap globalReplicaMap) throws IOException {
>     for (FsVolumeImpl v : volumes) {
>       v.getVolumeMap(globalReplicaMap);
>     }
>   }{code}
> This method has been called at the time of initialization even before the blockpools
are added. So its useless to call this method.
> Anyway replica map will be updated for each of the blockpool during {{addBlockPool(..)}}
by calling {{FSVolumesList#getAllVolumesMap(..)}}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message