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
• 10,150 points
50 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
• 22,060 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
• 29,170 points
1,738 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
207 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,380 points
840 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,920 points
5,063 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
29,845 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,310 points
1,890 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
• 22,060 points
165 views
0 votes
1 answer

env: ‘python’: No such file or directory in pyspark.

Hi@akhtar, This error occurs because your python version ...READ MORE

answered Apr 7 in Apache Spark by MD
• 22,060 points
174 views