Cannot create directory hive xzxz temporary 0 Name node is in safe mode

0 votes

Hi,

I am trying to write a csv file from SparkR shell. But I am getting the below error.



Can someone tell me what is the issue?

Thank You

Feb 3, 2020 in Apache Spark by akhtar
• 38,230 points
306 views

1 answer to this question.

0 votes

Hi@akhtar,

Here you are trying to save csv file into HDFS cluster. But Your HDFS cluster is in SafeMode. In SafeMode you can read any file but you can not write anything. So you have to leave the SafeMode. You can use the bellow command and then try.

$ hadoop dfsadmin -safemode leave

Thank You

answered Feb 3, 2020 by MD
• 95,360 points

Related Questions In Apache Spark

0 votes
1 answer
0 votes
1 answer

what is Paired RDD and how to create paired RDD in Spark?

Hi, Paired RDD is a distributed collection of ...READ MORE

answered Aug 2, 2019 in Apache Spark by Gitika
• 65,890 points
6,895 views
0 votes
1 answer
0 votes
1 answer

Why is collect in SparkR slow?

It's not the collect() that is slow. ...READ MORE

answered May 3, 2018 in Apache Spark by Data_Nerd
• 2,390 points
1,365 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
9,110 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
83,178 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,390 points
3,486 views
0 votes
1 answer
+2 votes
14 answers

How to create new column with function in Spark Dataframe?

val coder: (Int => String) = v ...READ MORE

answered Apr 5, 2019 in Apache Spark by anonymous

edited Apr 5, 2019 by Omkar 81,107 views
0 votes
1 answer

What is pageRank in graphX??

Hi@akhtar, The PageRank algorithm outputs a probability distribution ...READ MORE

answered Jul 22, 2020 in Apache Spark by MD
• 95,360 points
483 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP