<?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: While running sqoop import from MySQL to Hive getting below error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319993#M228075</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have copied&amp;nbsp;avro-1.8.1.jar and commons-lang3-3.1.jar both jars. It's working now .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response .&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jul 2021 12:12:56 GMT</pubDate>
    <dc:creator>t1</dc:creator>
    <dc:date>2021-07-07T12:12:56Z</dc:date>
    <item>
      <title>While running sqoop import from MySQL to Hive getting below error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319805#M227968</link>
      <description>&lt;P&gt;Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avro/LogicalType&lt;BR /&gt;at org.apache.sqoop.manager.DefaultManagerFactory.accept(DefaultManagerFactory.java:67)&lt;BR /&gt;at org.apache.sqoop.ConnFactory.getManager(ConnFactory.java:184)&lt;BR /&gt;at org.apache.sqoop.tool.BaseSqoopTool.init(BaseSqoopTool.java:272)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.init(ImportTool.java:96)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:616)&lt;BR /&gt;at org.apache.sqoop.Sqoop.run(Sqoop.java:147)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:234)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:243)&lt;BR /&gt;at org.apache.sqoop.Sqoop.main(Sqoop.java:252)&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: org.apache.avro.LogicalType&lt;BR /&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:382)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:418)&lt;BR /&gt;at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:351)&lt;BR /&gt;... 11 more&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me with this.&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkataramana&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 15:39:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319805#M227968</guid>
      <dc:creator>t1</dc:creator>
      <dc:date>2021-07-04T15:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: While running sqoop import from MySQL to Hive getting below error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319806#M227969</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89857"&gt;@t1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share the whole stack command +plus output?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 17:54:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319806#M227969</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-07-04T17:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: While running sqoop import from MySQL to Hive getting below error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319843#M227984</link>
      <description>&lt;P&gt;It seems that the avro logical type are not matching. Please double check the data types.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you find the answer helpful please accept this as a solution.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 09:17:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319843#M227984</guid>
      <dc:creator>SagarKanani</dc:creator>
      <dc:date>2021-07-05T09:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: While running sqoop import from MySQL to Hive getting below error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319855#M227993</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sqoop import \&lt;BR /&gt;&amp;gt; --connect jdbc:mysql://localhost:3306/sample \&lt;BR /&gt;&amp;gt; --username root \&lt;BR /&gt;&amp;gt; --table test \&lt;BR /&gt;&amp;gt; --hive-import \&lt;BR /&gt;&amp;gt; --fields-terminated-by "," --hive-import --create-hive-table --hive-table sample.tesr --m 4&lt;BR /&gt;Warning: /home/hadoop/sqoop-1.4.7/../hcatalog does not exist! HCatalog jobs will fail.&lt;BR /&gt;Please set $HCAT_HOME to the root of your HCatalog installation.&lt;BR /&gt;Warning: /home/hadoop/sqoop-1.4.7/../accumulo does not exist! Accumulo imports will fail.&lt;BR /&gt;Please set $ACCUMULO_HOME to the root of your Accumulo installation.&lt;BR /&gt;Warning: /home/hadoop/sqoop-1.4.7/../zookeeper does not exist! Accumulo imports will fail.&lt;BR /&gt;Please set $ZOOKEEPER_HOME to the root of your Zookeeper installation.&lt;BR /&gt;21/07/05 11:39:26 INFO sqoop.Sqoop: Running Sqoop version: 1.4.7&lt;BR /&gt;Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avro/LogicalType&lt;BR /&gt;at org.apache.sqoop.manager.DefaultManagerFactory.accept(DefaultManagerFactory.java:67)&lt;BR /&gt;at org.apache.sqoop.ConnFactory.getManager(ConnFactory.java:184)&lt;BR /&gt;at org.apache.sqoop.tool.BaseSqoopTool.init(BaseSqoopTool.java:272)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.init(ImportTool.java:96)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:616)&lt;BR /&gt;at org.apache.sqoop.Sqoop.run(Sqoop.java:147)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:234)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:243)&lt;BR /&gt;at org.apache.sqoop.Sqoop.main(Sqoop.java:252)&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: org.apache.avro.LogicalType&lt;BR /&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:382)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:418)&lt;BR /&gt;at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:351)&lt;BR /&gt;... 11 more&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 11:49:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319855#M227993</guid>
      <dc:creator>t1</dc:creator>
      <dc:date>2021-07-05T11:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: While running sqoop import from MySQL to Hive getting below error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319872#M228005</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89857"&gt;@t1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How is the root user authentication against the databases?&amp;nbsp; If username password then I don't see the prompt for the password. Can you run the below and re-share the out put&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;&lt;U&gt;&lt;STRONG&gt;Added&lt;/STRONG&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;BR /&gt;sqoop import \&lt;BR /&gt;--connect jdbc:mysql://localhost:3306/sample \&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;--username root -p \&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;--table test \&lt;BR /&gt;--hive-import \&lt;BR /&gt;--fields-terminated-by "," --hive-import --create-hive-table --hive-table sample.tesr --m 4&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 13:14:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319872#M228005</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-07-05T13:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: While running sqoop import from MySQL to Hive getting below error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319878#M228008</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After adding also getting same error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avro/LogicalType&lt;BR /&gt;at org.apache.sqoop.manager.DefaultManagerFactory.accept(DefaultManagerFactory.java:67)&lt;BR /&gt;at org.apache.sqoop.ConnFactory.getManager(ConnFactory.java:184)&lt;BR /&gt;at org.apache.sqoop.tool.BaseSqoopTool.init(BaseSqoopTool.java:272)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.init(ImportTool.java:96)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:616)&lt;BR /&gt;at org.apache.sqoop.Sqoop.run(Sqoop.java:147)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:234)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:243)&lt;BR /&gt;at org.apache.sqoop.Sqoop.main(Sqoop.java:252)&lt;BR /&gt;Caused by: java.lang.ClassNotFoundException: org.apache.avro.LogicalType&lt;BR /&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:382)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:418)&lt;BR /&gt;at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)&lt;BR /&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:351)&lt;BR /&gt;... 11 more&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to execute below command :&lt;/P&gt;&lt;P&gt;sqoop list-databases \&lt;BR /&gt;--connect jdbc:mysql://localhost:3306/ \&lt;BR /&gt;--username root \&lt;BR /&gt;--password root&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this also getting above error.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 14:25:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319878#M228008</guid>
      <dc:creator>t1</dc:creator>
      <dc:date>2021-07-05T14:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: While running sqoop import from MySQL to Hive getting below error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319882#M228011</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89857"&gt;@t1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Is there a way I can re-create your tables?&amp;nbsp;&lt;BR /&gt;I could try the same commands I also have MySQL/MariaDB.&lt;/P&gt;&lt;P&gt;And keep you posted!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 15:10:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319882#M228011</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-07-05T15:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: While running sqoop import from MySQL to Hive getting below error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319889#M228017</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89857"&gt;@t1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried out the&amp;nbsp;&lt;SPAN&gt;&lt;FONT color="#800000"&gt;sqoop list-databases&lt;/FONT&gt;&amp;nbsp; and my output looks correct&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[root@bern ~]# sqoop list-databases \
&amp;gt; --connect jdbc:mysql://localhost:3306/ \
&amp;gt; --username root \
&amp;gt; --password welcome
.........
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
21/07/05 17:28:04 INFO sqoop.Sqoop: Running Sqoop version: 1.4.7.3.1.4.0-315
21/07/05 17:28:05 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.
21/07/05 17:28:05 INFO manager.MySQLManager: Preparing to use a MySQL streaming resultset.
information_schema
ambari
druid
harsh8
hive
mysql
oozie
performance_schema
ranger
rangerkms
superset&lt;/LI-CODE&gt;&lt;P&gt;Then I run exactly the same&lt;FONT color="#800000"&gt;&amp;nbsp;&lt;SPAN&gt;sqoop import&amp;nbsp; &lt;FONT color="#000000"&gt;and it succeeded but I think its the underlying table format&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[hdfs@bern ~]$ sqoop import --connect jdbc:mysql://localhost:3306/harsh8 --username root --table staff2 --hive-import --fields-terminated-by "," --hive-import --create-hive-table --hive-table staff2_backup --m 1
SLF4J: Class path contains multiple SLF4J bindings.
.....
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
21/07/05 18:36:40 INFO sqoop.Sqoop: Running Sqoop version: 1.4.7.3.1.4.0-315
21/07/05 18:36:41 INFO manager.MySQLManager: Preparing to use a MySQL streaming resultset.
21/07/05 18:36:41 INFO tool.CodeGenTool: Beginning code generation
21/07/05 18:36:43 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `staff2` AS t LIMIT 1
21/07/05 18:36:43 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `staff2` AS t LIMIT 1
21/07/05 18:36:43 INFO orm.CompilationManager: HADOOP_MAPRED_HOME is /usr/hdp/3.1.4.0-315/hadoop-mapreduce
21/07/05 18:36:48 WARN orm.CompilationManager: Could not rename /tmp/sqoop-hdfs/compile/358a7be0c1aae1ac531284e68ae3679e/staff2.java to /home/hdfs/./staff2.java. Error: Destination '/home/hdfs/./staff2.java' already exists
21/07/05 18:36:48 INFO orm.CompilationManager: Writing jar file: /tmp/sqoop-hdfs/compile/358a7be0c1aae1ac531284e68ae3679e/staff2.jar
21/07/05 18:36:49 WARN manager.MySQLManager: It looks like you are importing from mysql.
21/07/05 18:36:49 WARN manager.MySQLManager: This transfer can be faster! Use the --direct
21/07/05 18:36:49 WARN manager.MySQLManager: option to exercise a MySQL-specific fast path.
21/07/05 18:36:49 INFO manager.MySQLManager: Setting zero DATETIME behavior to convertToNull (mysql)
21/07/05 18:36:49 INFO mapreduce.ImportJobBase: Beginning import of staff2
21/07/05 18:36:59 INFO client.RMProxy: Connecting to ResourceManager at bern.swiss.ch/192.168.0.139:8050
21/07/05 18:37:09 INFO client.AHSProxy: Connecting to Application History server at bern.swiss.ch/192.168.0.139:10200
21/07/05 18:38:28 INFO mapreduce.JobResourceUploader: Disabling Erasure Coding for path: /user/hdfs/.staging/job_1625500722080_0001
21/07/05 18:40:05 INFO db.DBInputFormat: Using read commited transaction isolation
21/07/05 18:40:23 INFO mapreduce.JobSubmitter: number of splits:1
21/07/05 18:40:32 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1625500722080_0001
21/07/05 18:40:32 INFO mapreduce.JobSubmitter: Executing with tokens: []
21/07/05 18:40:34 INFO conf.Configuration: found resource resource-types.xml at file:/etc/hadoop/3.1.4.0-315/0/resource-types.xml
21/07/05 18:40:37 INFO impl.YarnClientImpl: Submitted application application_1625500722080_0001
21/07/05 18:40:37 INFO mapreduce.Job: The url to track the job: http://bern.swiss.ch:8088/proxy/application_1625500722080_0001/
21/07/05 18:40:37 INFO mapreduce.Job: Running job: job_1625500722080_0001
21/07/05 18:46:55 INFO mapreduce.Job: Job job_1625500722080_0001 running in uber mode : false
21/07/05 18:46:55 INFO mapreduce.Job:  map 0% reduce 0%
21/07/05 18:50:56 INFO mapreduce.Job:  map 100% reduce 0%
21/07/05 18:51:09 INFO mapreduce.Job: Job job_1625500722080_0001 completed successfully
21/07/05 18:51:10 INFO mapreduce.Job: Counters: 32
        File System Counters
                FILE: Number of bytes read=0
                .............
                HDFS: Number of large read operations=0
                HDFS: Number of write operations=2
        Job Counters
                Launched map tasks=1
                Other local map tasks=1
                Total time spent by all maps in occupied slots (ms)=385416
                Total time spent by all reduces in occupied slots (ms)=0
                Total time spent by all map tasks (ms)=192708
                Total vcore-milliseconds taken by all map tasks=192708
                Total megabyte-milliseconds taken by all map tasks=394665984
        Map-Reduce Framework
                Map input records=6
                Map output records=6
               ............
                Physical memory (bytes) snapshot=152813568
                Virtual memory (bytes) snapshot=3237081088
                Total committed heap usage (bytes)=81788928
                Peak Map Physical memory (bytes)=152813568
                Peak Map Virtual memory (bytes)=3237081088
        File Input Format Counters
                Bytes Read=0
        File Output Format Counters
                Bytes Written=223
21/07/05 18:51:10 INFO mapreduce.ImportJobBase: Transferred 223 bytes in 852.4312 seconds (0.2616 bytes/sec)
21/07/05 18:51:10 INFO mapreduce.ImportJobBase: Retrieved 6 records.
21/07/05 18:51:10 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM `staff2` AS t LIMIT 1
21/07/05 18:51:10 INFO hive.HiveImport: Loading uploaded data into Hive&lt;/LI-CODE&gt;&lt;P&gt;My table structure&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MariaDB [harsh8]&amp;gt; describe staff2;
+------------+-------------+------+-----+---------+-------+
| Field      | Type        | Null | Key | Default | Extra |
+------------+-------------+------+-----+---------+-------+
| id         | int(11)     | NO   | PRI | NULL    |       |
| Name       | varchar(20) | YES  |     | NULL    |       |
| Position   | varchar(20) | YES  |     | NULL    |       |
| Salary     | int(11)     | YES  |     | NULL    |       |
| Department | varchar(10) | YES  |     | NULL    |       |
+------------+-------------+------+-----+---------+-------+&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My test table contents&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MariaDB [harsh8]&amp;gt; select * from staff2;
+-----+------------+-------------------+--------+------------+
| id  | Name       | Position          | Salary | Department |
+-----+------------+-------------------+--------+------------+
| 100 | Geoffrey   | manager           |  50000 | Admin      |
| 101 | Thomas     | Oracle Consultant |  15000 | IT         |
| 102 | Biden      | Project Manager   |  28000 | PM         |
| 103 | Carmicheal | Bigdata developer |  30000 | BDS        |
| 104 | Johnson    | Treasurer         |  21000 | Accounts   |
| 105 | Gerald     | Director          |  30000 | Management |
+-----+------------+-------------------+--------+------------+
6 rows in set (0.09 sec)&lt;/LI-CODE&gt;&lt;P&gt;This is how my comma-delimited&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[hdfs@bern ~]$ hdfs dfs -cat /tmp/sqoop/hr.txt
100,Geoffrey,manager,50000,Admin
101,Thomas,Oracle Consultant,15000,IT
102,Biden,Project Manager,28000,PM
103,Carmicheal,Bigdata developer,30000,BDS
104,Johnson,Treasurer,21000,Accounts
105,Gerald,Director,30000,Management
106,Paul,Director,30000,Management
105,Mark,CEO,90000,Management
105,Edward,Janitor,30000,Housing
105,Richard,Farm Manager,31000,Agriculture
105,Albert,System Engineer,21000,IT&lt;/LI-CODE&gt;&lt;P&gt;The dataset looks like the above is your format AVRO?&lt;/P&gt;&lt;P&gt;Happy hadooping&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 17:51:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319889#M228017</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2021-07-05T17:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: While running sqoop import from MySQL to Hive getting below error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319993#M228075</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have copied&amp;nbsp;avro-1.8.1.jar and commons-lang3-3.1.jar both jars. It's working now .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response .&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 12:12:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/319993#M228075</guid>
      <dc:creator>t1</dc:creator>
      <dc:date>2021-07-07T12:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: While running sqoop import from MySQL to Hive getting below error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/320118#M228103</link>
      <description>&lt;P&gt;Thank you for your participation in Cloudera Community. I'm happy to see you resolved your issue. Please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 13:59:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/While-running-sqoop-import-from-MySQL-to-Hive-getting-below/m-p/320118#M228103</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-07-08T13:59:14Z</dc:date>
    </item>
  </channel>
</rss>

