Home Forums HDP on Windows – Installation HADOOP local user requires elevated permissions

This topic contains 1 reply, has 2 voices, and was last updated by  Seth Lyubich 1 year, 5 months ago.

  • Creator
    Topic
  • #16271

    The default permissions given by the install didn’t work when it came to starting the services and give an Access is Denied error (see output from hadoop-namenode-DEMON1.txt log below:)

    Have made .\hadoop part of the local administrators group and now its fine.

    2013-03-01 08:18:39,300 ERROR org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem initialization failed.
    java.io.FileNotFoundException: c:\hadoop\data\hdfs\nn\image\fsimage (Access is denied)
    at java.io.RandomAccessFile.open(Native Method)
    at java.io.RandomAccessFile.(Unknown Source)
    at org.apache.hadoop.hdfs.server.namenode.FSImage.isConversionNeeded(FSImage.java:678)
    at org.apache.hadoop.hdfs.server.common.Storage.checkConversionNeeded(Storage.java:692)
    at org.apache.hadoop.hdfs.server.common.Storage.access$000(Storage.java:60)
    at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.analyzeStorage(Storage.java:461)
    at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:298)
    at org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:100)
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:389)
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.(FSNamesystem.java:363)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:280)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:500)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1282)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1291)
    2013-03-01 08:18:39,302 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.FileNotFoundException: c:\hadoop\data\hdfs\nn\image\fsimage (Access is denied)
    at java.io.RandomAccessFile.open(Native Method)
    at java.io.RandomAccessFile.(Unknown Source)
    at org.apache.hadoop.hdfs.server.namenode.FSImage.isConversionNeeded(FSImage.java:678)
    at org.apache.hadoop.hdfs.server.common.Storage.checkConversionNeeded(Storage.java:692)
    at org.apache.hadoop.hdfs.server.common.Storage.access$000(Storage.java:60)
    at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.analyzeStorage(Storage.java:461)
    at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:298)
    at org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:100)
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:389)
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.(FSNamesystem.java:363)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:280)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:500)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1282)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1291)

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #17155

    Seth Lyubich
    Keymaster

    Hi Tony,

    I just wanted to see if issue in this post is resolved as we addressed some issues in your other posts.

    Thanks,
    Seth

    Collapse
Viewing 1 replies (of 1 total)