FAQ
Hello,

I have two host cluster ( 1st host - datanode,namenode & secondary name
node ,2nd host - datanode )
When I try to start HDFS service using Cloudera Manager web UI ,I get these
permission errors.
Pl. help

Exception running /run/cloudera-scm-agent/process/22-hdfs-NAMENODE/topology.py 198.154.60.252
java.io.IOException: Cannot run program "/run/cloudera-scm-agent/process/22-hdfs-NAMENODE/topology.py" (in directory "/run/cloudera-scm-agent/process/22-hdfs-NAMENODE"): java.io.IOException: error=13, Permission denied
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
  at org.apache.hadoop.util.Shell.runCommand(Shell.java:206)
  at org.apache.hadoop.util.Shell.run(Shell.java:188)
  at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:381)
  at org.apache.hadoop.net.ScriptBasedMapping$RawScriptBasedMapping.runResolveCommand(ScriptBasedMapping.java:242)
  at org.apache.hadoop.net.ScriptBasedMapping$RawScriptBasedMapping.resolve(ScriptBasedMapping.java:180)
  at org.apache.hadoop.net.CachedDNSToSwitchMapping.resolve(CachedDNSToSwitchMapping.java:119)
  at org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager.(BlockManager.java:230)
  at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.(FSNamesystem.java:468)
  at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:400)
  at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:434)
  at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:591)
  at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1162)
  at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1226)
Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
  at java.lang.UNIXProcess.(ProcessImpl.java:65)
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
  ... 16 more

Search Discussions

  • Philip Zeyliger at May 31, 2013 at 11:06 pm
    Hi Rohit,

    Some OSes (recent versions of Ubuntu) mount /var as "noexec" which prevents
    the namenode from starting its topology script. Remount /var without the
    noexec option, and you should be alright.

    -- Philip

    On Fri, May 31, 2013 at 3:55 PM, Rohit Chauhan wrote:

    Hello,

    I have two host cluster ( 1st host - datanode,namenode & secondary name
    node ,2nd host - datanode )
    When I try to start HDFS service using Cloudera Manager web UI ,I get
    these permission errors.
    Pl. help


    Exception running /run/cloudera-scm-agent/process/22-hdfs-NAMENODE/topology.py 198.154.60.252
    java.io.IOException: Cannot run program "/run/cloudera-scm-agent/process/22-hdfs-NAMENODE/topology.py" (in directory "/run/cloudera-scm-agent/process/22-hdfs-NAMENODE"): java.io.IOException: error=13, Permission denied

    at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
    at org.apache.hadoop.util.Shell.runCommand(Shell.java:206)
    at org.apache.hadoop.util.Shell.run(Shell.java:188)
    at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:381)

    at org.apache.hadoop.net.ScriptBasedMapping$RawScriptBasedMapping.runResolveCommand(ScriptBasedMapping.java:242)
    at org.apache.hadoop.net.ScriptBasedMapping$RawScriptBasedMapping.resolve(ScriptBasedMapping.java:180)

    at org.apache.hadoop.net.CachedDNSToSwitchMapping.resolve(CachedDNSToSwitchMapping.java:119)
    at org.apache.hadoop.hdfs.server.blockmanagement.DatanodeManager.<init>(DatanodeManager.java:187)
    at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.<init>(BlockManager.java:230)

    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:503)
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:468)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:400)

    at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:434)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:610)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:591)

    at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1162)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1226)
    Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied

    at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
    at java.lang.ProcessImpl.start(ProcessImpl.java:65)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
    ... 16 more

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedMay 31, '13 at 10:56p
activeMay 31, '13 at 11:06p
posts2
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Philip Zeyliger: 1 post Rohit Chauhan: 1 post

People

Translate

site design / logo © 2022 Grokbase