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,170 points
139 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,040 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,870 points
3,860 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
574 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
6,862 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
48,501 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
2,602 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 4, 2019 in Apache Spark by anonymous

edited Apr 5, 2019 by Omkar 65,357 views
0 votes
1 answer

What is pageRank in graphX??

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

answered Jul 21, 2020 in Apache Spark by MD
• 95,040 points
258 views