Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

hadoop fs permission denied

Ads

 
 

Share on Google+Share on Google+

Java Coder
hadoop fs permission denied
1 Answer(s)      a month and 13 days ago
Posted in : Big Data

Hi,

I am trying to make a directory in HDFS with following command:

hadoop fs -mkdir /test

But its throwing error: hadoop fs permission denied

[email protected]:/home/deepak# hadoop fs -mkdir /test
mkdir: Permission denied: user=root, access=WRITE, inode="/test":hdfs:hdfs:drwxr-xr-x

How to resolve this error?

Thanks

Ads
View Answers

May 11, 2017 at 10:47 PM


Hi,

This error is coming because you have not logged in as bdfs user. Issue following command on console:

su hdfs

After this run the command:

hadoop fs -mkdir /test

And now you should be able to create the directory.

Check more tutorials at Big Data tutorials, technologies, questions and answers.

Thanks


Ads









Related Tutorials/Questions & Answers:
hadoop fs permission denied
hadoop fs permission denied  Hi, I am trying to make a directory in HDFS with following command: hadoop fs -mkdir /test But its throwing error: hadoop fs permission denied [email protected]:/home/deepak# hadoop fs -mkdir /test
Hadoop upload file to HDFS permission denied
Hadoop upload file to HDFS permission denied  Hi, I am trying to upload a file on Hadoop HDFS with the command: hadoop fs -put test.txt /mydir/ But its throwing following error: mkdir: Permission denied: user=root, access
Advertisements
Hadoop command not found
Hadoop command not found  Hi, I am trying to put file with the command: hadoop fs -put test.txt /test/ But its saying hadoop command not found... not set hadoop path in the system path. Usually hadoop is present in: /usr/local
How to upload and download file in hadoop?
: hadoop fs -put /<local machime path/filename> /<hdfs path/>... the file: hadoop fs -get /<hdfs path> /<local machime path>...How to upload and download file in hadoop?  Hi, I am trying to learn
Hadoop mapreduce
Hadoop mapreduce  How to read the Docx file using mapreduce method in hadoop
How to list files in hadoop?
in a directory you can use the following command: hadoop fs -ls / Above command lists all...$ hadoop fs -ls / Found 11 items drwxrwxrwx - yarn hadoop 0 2017-05-13...How to list files in hadoop?  Hi, I want to list the files from
Hadoop shell commands
. Following command is used to create directory in HDFS: hadoop fs -mkdir <.... Example: hadoop fs -mkdir /test hadoop fs -mkdir /test/usr hadoop fs -mkdir... the content of a directory: hadoop fs -ls <args> Example: To list
Hadoop for Big Data
Hadoop for Big Data  Hi, How Hadoop is important in Big Data? Why developers are learning Hadoop first and other technologies after that? Thanks
Access denied for user 'abc'@'xxxx' (using password: YES)
Access denied for user 'abc'@'xxxx' (using password: YES)  I have... achieve this one.. ? Can i give any permission to connect with internet like in Android-internet connection permission like that ?.... Please let me out from
Hadoop Mapreduce Java
Hadoop Mapreduce Java   Do you Guys have/provide Hadoop Mapreduce java examples
change file permission in php
change file permission in php  How to change file permission in PHP
Big Data tools - Hadoop - Why Hadoop as Big Data tool?
Big Data tools - Hadoop - Why Hadoop as Big Data tool?  Hi, How we can say that Hadoop is a Big Data Tool? What are the benefits of Hadoop in Big Data Environment? Thanks
What skills are required to be a Hadoop developer?
What skills are required to be a Hadoop developer?  Hi, How to become a good Hadoop Developer? What skills are required to be a Hadoop developer? Thanks
What are job role of Hadoop Developer?
What are job role of Hadoop Developer?  Hi, I am planning to get the the job in Hadoop Development as Hadoop Developer. What are the roles of a Hadoop Developer? Thanks
Big Data Analytics with Hadoop
Big Data Analytics with Hadoop  Hi, How Big Data Analysis is done? How one can use Hadoop for Big Data Analytics? Thanks
java get file permission
java get file permission  How to check the get file permission in Java
How to check Hadoop version in Ubuntu?
How to check Hadoop version in Ubuntu?  Hi, I am trying various commands like hadoop --version to get the hadoop version in Ubunut. I am connected to Hadoop cluster through ssh terminal. How to check Hadoop version in Ubuntu
Mysql Permission
Mysql Permission       Mysql Permission allows the user to connect to the database, Mysql... the permission to connect. All user /host/password combination are listed in this table
Hadoop Data Analytics - Hadoop as a Big Data Analytics Platform
Hadoop Data Analytics - Hadoop as a Big Data Analytics Platform  Hi, How Hadoop can be used a Big Data Analytics platform? What are the tools available for Big Data Analytics which can be used with Hadoop? Thanks   
Version of cn.featherfly >featherfly-permission dependency
List of Version of cn.featherfly >featherfly-permission dependency
Using Splunk with Hadoop
How to use Splunk with Hadoop? Hadoop is one of the most used and very... the various ways you can integrate and use Splunk with Hadoop. Splunk Big Data platform recently announced the Hunk (Hadoop and Splunk) to make the system work
Hadoop Interview Questions and Answers
Top Hadoop Interview Questions and Answers Hadoop is Big Data platform begin... with unlimited capabilities, many applications (Hadoop ecosystem applications) comes with Hadoop which makes it very robust and scalable platform for Big Data
Version of com.baynote>kafka-hadoop-consumer dependency
List of Version of com.baynote>kafka-hadoop-consumer dependency
Spring Security Customized Access Denied Page
Spring Security Customized Access Denied Page In this section, you will learn about Customized Access Denied Page in Spring Security. Access denied page...;. In this section, we will customize the access denied page. Some helpful example
550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)  HI, I am getting following error in the outlook while sending the email: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) What to solve this? Thanks
Big Data and Hadoop Training in Delhi
Learn Big Data and Hadoop at Rose India in Delhi Get Big Data Hadoop Training... meant for it. Hadoop, a tool which is an open source java-based programme, deals with Big Data in an expert way. The History and Future: Hadoop was originally
Maven Dependency featherfly-permission >> 0.1.3
You should include the dependency code given in this page to add Maven Dependency of cn.featherfly >> featherfly-permission version0.1.3 in your project
Maven Dependency featherfly-permission >> 0.1.9
You should include the dependency code given in this page to add Maven Dependency of cn.featherfly >> featherfly-permission version0.1.9 in your project
Maven Dependency featherfly-permission >> 0.1.4
You should include the dependency code given in this page to add Maven Dependency of cn.featherfly >> featherfly-permission version0.1.4 in your project
Maven Dependency featherfly-permission >> 0.1.0
You should include the dependency code given in this page to add Maven Dependency of cn.featherfly >> featherfly-permission version0.1.0 in your project
Maven Dependency featherfly-permission >> 0.1.5
You should include the dependency code given in this page to add Maven Dependency of cn.featherfly >> featherfly-permission version0.1.5 in your project