- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Exercise 1: Name node in safe mode Error
- Labels:
-
Apache Hive
-
HDFS
-
Quickstart VM
Created on ‎08-24-2018 10:10 AM - edited ‎09-16-2022 06:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi experts,
Im having a problem with exercise 1. When i run this sentence:
sqoop import-all-tables \
-m 1 \
--connect jdbc:mysql://quickstart.cloudera:3306/retail_db \
--username=retail_dba \
--password=cloudera \
--compression-codec=snappy \
--as-parquetfile \
--warehouse-dir=/user/hive/warehouse \
--hive-import
i'm having this error:
ERROR tool.ImportAllTablesTool: Encountered IOException running import job: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): Cannot create directory /user/root/.staging. Name node is in safe mode.
Any suggestions?? How do i change the Name Node mode?
Thanks to all
Created on ‎08-24-2018 10:59 AM - edited ‎08-24-2018 11:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apparently is solved with this
sudo -u hdfs hdfs dfsadmin -safemode leave
Created on ‎08-24-2018 10:59 AM - edited ‎08-24-2018 11:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apparently is solved with this
sudo -u hdfs hdfs dfsadmin -safemode leave
