<?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 Re: Errors in Cloudera Sqoop/Hadoop Guide, Purdue Global Student Requesting Assistance in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Errors-in-Cloudera-Sqoop-Hadoop-Guide-Purdue-Global-Student/m-p/351464#M236267</link>
    <description>&lt;P&gt;Apologies all, I think that I figured it out.&amp;nbsp; I had been pasting the script directly as copied from the PDF, which didn't work.&amp;nbsp; Then I tried entering it in manually without the -- in front of each line, but apparently those are requirements.&amp;nbsp; I entered each line separately, with the -'s included, and the script ran, Sqoop was initiated.&lt;/P&gt;</description>
    <pubDate>Sat, 03 Sep 2022 19:05:54 GMT</pubDate>
    <dc:creator>Chaos</dc:creator>
    <dc:date>2022-09-03T19:05:54Z</dc:date>
    <item>
      <title>Errors in Cloudera Sqoop/Hadoop Guide, Purdue Global Student Requesting Assistance</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Errors-in-Cloudera-Sqoop-Hadoop-Guide-Purdue-Global-Student/m-p/351463#M236266</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a student taking a course in SQL.&amp;nbsp; The final module of this course has us installing Oracle VMWare and Cloudera to utilize Hadoop.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I went through a detailed instruction manual for the VMWare installation, including an expansion pack install and guest account install within the VMWare environment.&amp;nbsp; I ran into no problems with this installation process (linked below for reference)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Installation_ClouderaQuickstartVirtualMachine" href="https://kapextmediassl-a.akamaihd.net/IST/IT350/2004A/Installation_ClouderaQuickstartVirtualMachine.pdf" target="_self"&gt;Installation_ClouderaQuickstartVirtualMachine&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Afterwards, we were to follow a Cloudera basic tutorial guide to get started (&lt;EM&gt;linked below&lt;/EM&gt;).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Cloudera Quickstart Beginners Tutorial" href="https://kapextmediassl-a.akamaihd.net/IST/IT350/2004A/ClouderaQuickstart_BeginnerTutorial.pdf" target="_blank" rel="noopener"&gt;Cloudera Quickstart Beginners Tutorial&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when attempting to input the first script into Terminal as provided, I began running into errors.&amp;nbsp; The script and errors received are shown below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[cloudera@quickstart ~]$ sqoop import-all-tables \
&amp;gt; m 1 \
&amp;gt; connect jdbc:mysql://quickstart:3306/retail_db \
&amp;gt; username=retail_dba \
&amp;gt; password=cloudera \
&amp;gt; compression-codec=snappy \
&amp;gt; as-parquetfile \
&amp;gt; warehouse-dir=/user/hive/warehouse \
&amp;gt; hive-import&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Initial errors received:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
22/09/02 17:02:00 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.13.0
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Error parsing arguments for import-all-tables:
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument:  
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: -m
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: 1
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument:  
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: --connect
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: jdbc:mysql://quickstart:3306/retail_db
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument:  
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: --username
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: retail_dba
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument:  
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: --password
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: cloudera
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument:  
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: --compression-codec
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: snappy
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument:  
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: --as-parquetfile
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument:  
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: --warehouse-dir
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: /user/hive/warehouse
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument:  
22/09/02 17:02:00 ERROR tool.BaseSqoopTool: Unrecognized argument: --hive-import&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found a post on this forum indicating I need to set the Accumulo default directory for the script to use.&amp;nbsp; I ran the following script as directed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo mkdir /var/lib/accumulo 
ACCUMULO_HOME='/var/lib/accumulo'
export ACCUMULO_HOME&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Running this script appeared to remove the initial error I was receiving, regarding the directory, but I am still receiving errors, shown below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[cloudera@quickstart ~]$ sqoop import-all-tables \
&amp;gt; m 1 \
&amp;gt; connect jdbc:mysql://quickstart:3306/retail_db \
&amp;gt; username=retail_dba \
&amp;gt; password=cloudera \
&amp;gt; compression-codec=snappy \
&amp;gt; as-parquetfile \
&amp;gt; warehouse-dir=/user/hive/warehouse \
&amp;gt; hive-import

22/09/03 09:54:35 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.13.0
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Error parsing arguments for import-all-tables:
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Unrecognized argument: m
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Unrecognized argument: 1
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Unrecognized argument: connect
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Unrecognized argument: jdbc:mysql://quickstart:3306/retail_db
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Unrecognized argument: username=retail_dba
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Unrecognized argument: password=cloudera
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Unrecognized argument: compression-codec=snappy
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Unrecognized argument: as-parquetfile
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Unrecognized argument: warehouse-dir=/user/hive/warehouse
22/09/03 09:54:35 ERROR tool.BaseSqoopTool: Unrecognized argument: hive-import

Try --help for usage instructions.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I tried reaching out to my professor regarding these issues, but his only response was to follow the guide and scripting provided...&amp;nbsp; Hoping someone here can help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 22:00:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Errors-in-Cloudera-Sqoop-Hadoop-Guide-Purdue-Global-Student/m-p/351463#M236266</guid>
      <dc:creator>Chaos</dc:creator>
      <dc:date>2022-09-03T22:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Errors in Cloudera Sqoop/Hadoop Guide, Purdue Global Student Requesting Assistance</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Errors-in-Cloudera-Sqoop-Hadoop-Guide-Purdue-Global-Student/m-p/351464#M236267</link>
      <description>&lt;P&gt;Apologies all, I think that I figured it out.&amp;nbsp; I had been pasting the script directly as copied from the PDF, which didn't work.&amp;nbsp; Then I tried entering it in manually without the -- in front of each line, but apparently those are requirements.&amp;nbsp; I entered each line separately, with the -'s included, and the script ran, Sqoop was initiated.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 19:05:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Errors-in-Cloudera-Sqoop-Hadoop-Guide-Purdue-Global-Student/m-p/351464#M236267</guid>
      <dc:creator>Chaos</dc:creator>
      <dc:date>2022-09-03T19:05:54Z</dc:date>
    </item>
  </channel>
</rss>

