Forum Stats

  • 3,726,663 Users
  • 2,245,237 Discussions
  • 7,852,343 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

HDFS filesystem permission

Robeen
Robeen Member Posts: 1,990 Silver Badge

Hi,

I would like to know why I am getting permission denied when I execute 'touch test01.txt' in hdfs home directory:

/var/lib/hadoop-hdfs

-bash-4.2$ touch test01.txt

touch: cannot touch ‘test01.txt’: Permission denied

Also , I would like to know on what storage is our HDFS?

Thanks,

Joe

Answers

  • nihitthakkar
    nihitthakkar Member Posts: 106 Red Ribbon

    The Hadoop Distributed File System (HDFS) is the primary distributed data storage system used by Hadoop applications. Its cluster employs a NameNode and DataNode architecture to implement a distributed file system that provides high-performance access to data. The HDFS implements a permissions model for that shares much of the POSIX model. You must be the owner of a file or directory to change its permissions. You can specify the –R option to make recursive changes with the chgrp, chmod and chown commands through the directory structure you specify.

    Robeen
  • Robeen
    Robeen Member Posts: 1,990 Silver Badge

    When you say "primary distributed data storage system" do you mean hardware?

Sign In or Register to comment.