hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-3082) setPermssion locks FSNamesystem for logSyc.
Date Mon, 24 Mar 2008 18:21:24 GMT
setPermssion locks FSNamesystem for logSyc.

                 Key: HADOOP-3082
                 URL: https://issues.apache.org/jira/browse/HADOOP-3082
             Project: Hadoop Core
          Issue Type: Bug
          Components: dfs
    Affects Versions: 0.16.0
            Reporter: Raghu Angadi

{{FSNameSystem.setPermission()}} and other permission related calls lock FSNamesystem across
{{getEditLog().logSync()}} unlike other calls. This increases the negative effect of slower
disk on NameNode. Contrast {code}
  public synchronized void setPermission(String src, FsPermission permission
      ) throws IOException {
    dir.setPermission(src, permission);
  }{code}and {code}
  public boolean setReplication(String src, short replication) 
                                throws IOException {
    boolean status = setReplicationInternal(src, replication);
    return status;

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message