<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Exercise 1: Name node in safe mode Error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exercise-1-Name-node-in-safe-mode-Error/m-p/78990#M82621</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im having a problem with exercise 1. When i run this sentence:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sqoop import-all-tables \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;-m 1 \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--connect jdbc:mysql://quickstart.cloudera:3306/retail_db \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--username=retail_dba \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--password=cloudera \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--compression-codec=snappy \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--as-parquetfile \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--warehouse-dir=/user/hive/warehouse \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--hive-import&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm having this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ERROR tool.ImportAllTablesTool: Encountered IOException running import job: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): &lt;STRONG&gt;Cannot create directory /user/root/.staging&lt;/STRONG&gt;. &lt;STRONG&gt;Name node is in safe mode.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?? How do i change the Name Node mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 13:37:39 GMT</pubDate>
    <dc:creator>Cerbex</dc:creator>
    <dc:date>2022-09-16T13:37:39Z</dc:date>
    <item>
      <title>Exercise 1: Name node in safe mode Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exercise-1-Name-node-in-safe-mode-Error/m-p/78990#M82621</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im having a problem with exercise 1. When i run this sentence:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sqoop import-all-tables \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;-m 1 \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--connect jdbc:mysql://quickstart.cloudera:3306/retail_db \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--username=retail_dba \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--password=cloudera \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--compression-codec=snappy \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--as-parquetfile \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--warehouse-dir=/user/hive/warehouse \&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;--hive-import&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm having this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ERROR tool.ImportAllTablesTool: Encountered IOException running import job: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): &lt;STRONG&gt;Cannot create directory /user/root/.staging&lt;/STRONG&gt;. &lt;STRONG&gt;Name node is in safe mode.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?? How do i change the Name Node mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 13:37:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exercise-1-Name-node-in-safe-mode-Error/m-p/78990#M82621</guid>
      <dc:creator>Cerbex</dc:creator>
      <dc:date>2022-09-16T13:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exercise 1: Name node in safe mode Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exercise-1-Name-node-in-safe-mode-Error/m-p/78994#M82622</link>
      <description>&lt;P&gt;Apparently is solved with this&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfsadmin -safemode leave&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 18:00:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exercise-1-Name-node-in-safe-mode-Error/m-p/78994#M82622</guid>
      <dc:creator>Cerbex</dc:creator>
      <dc:date>2018-08-24T18:00:08Z</dc:date>
    </item>
  </channel>
</rss>

