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 in Apache Spark by akhtar
• 1,440 points
21 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 by MD
• 2,750 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
• 25,830 points
1,043 views
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,370 points
154 views
+1 vote
1 answer

Can anyone explain what is RDD in Spark?

RDD is a fundamental data structure of ...READ MORE

answered May 24, 2018 in Apache Spark by Shubham
• 13,370 points
738 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
• 10,840 points
4,137 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
22,376 views
0 votes
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,310 points
1,552 views
0 votes
1 answer
0 votes
1 answer

How to create multiple producers in apache kafka?

Hi@akhtar, To create multiple producer you have to ...READ MORE

answered Feb 6 in Apache Spark by MD
• 2,750 points
23 views
0 votes
1 answer

Difference between map() and mapPartitions() function in Spark??

Hi@ akhtar, Both map() and mapPartitions() are the ...READ MORE

answered Jan 29 in Apache Spark by MD
• 2,750 points
97 views