<?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: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121497#M17423</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2506/keerthanakumar20.html" nodeid="2506"&gt;@keerthana gajarajakumar&lt;/A&gt; performance in general is noticeable, orc is the way to go, no questions about it.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2016 06:57:42 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-02-02T06:57:42Z</dc:date>
    <item>
      <title>Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121491#M17417</link>
      <description>&lt;P&gt;My first step was to create an ORC table on Hive with the same schema as the one imported on hdp :&lt;/P&gt;&lt;PRE&gt;CREATE TABLE IF NOT EXISTS orcemployees( emp_no int, birth_date date,
 first_name string, last_name string, gender string, hire_date date) 
STORED AS ORC;&lt;/PRE&gt;&lt;P&gt;My second step was to copy the data from employees into orcemployees:&lt;/P&gt;&lt;PRE&gt;insert into table orcemployees select * from employees;&lt;/PRE&gt;&lt;P&gt;The problem is when I execute select * from orcemployees; the schema is displayed and not the associated data.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 06:33:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121491#M17417</guid>
      <dc:creator>keerthanakumar2</dc:creator>
      <dc:date>2016-02-02T06:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121492#M17418</link>
      <description>&lt;P&gt;Take a look at this example &lt;A rel="user" href="https://community.cloudera.com/users/2506/keerthanakumar20.html" nodeid="2506"&gt;@keerthana gajarajakumar&lt;/A&gt; &lt;A href="http://hortonworks.com/blog/four-step-strategy-incremental-updates-hive/"&gt;Link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 06:42:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121492#M17418</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-02T06:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121493#M17419</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2506/keerthanakumar20.html" nodeid="2506"&gt;@keerthana gajarajakumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You have two options: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Use Sqoop to save directly as ORC file&lt;PRE&gt;$ sqoop import --connect jdbc:mysql://localhost/employees --username hive --password hive --table departments --hcatalog-database default --hcatalog-table my_table_orc --create-hcatalog-table --hcatalog-storage-stanza "stored as orcfile"&lt;/PRE&gt;&lt;/LI&gt;
&lt;LI&gt;Since you already created the Employee Table  then create the ORC table first (employee_orc) and then select from your employee hive table and insert into employee_orc
&lt;PRE&gt;create table employee_orc stored as orc as select * from employee_hive;&lt;/PRE&gt;
&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 02 Feb 2016 06:42:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121493#M17419</guid>
      <dc:creator>amcbarnett</dc:creator>
      <dc:date>2016-02-02T06:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121494#M17420</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/369/amcbarnett.html" nodeid="369"&gt;@Ancil McBarnett&lt;/A&gt;  - Thanks for your reply. Are you suggesting to do a sqoop import of the employees table onto HDP or Hive? &lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 06:49:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121494#M17420</guid>
      <dc:creator>keerthanakumar2</dc:creator>
      <dc:date>2016-02-02T06:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121495#M17421</link>
      <description>&lt;P&gt;thanks &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 06:50:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121495#M17421</guid>
      <dc:creator>keerthanakumar2</dc:creator>
      <dc:date>2016-02-02T06:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121496#M17422</link>
      <description>&lt;P&gt;The reason I'm asking you is , what's the difference between doing a --hive-import of the employees table and then copying that same data into hive orc employees table? I understand that ORC helps in performance improvement but can I see the difference visually when I do a select * from employees vs select * from employees_orc? &lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 06:55:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121496#M17422</guid>
      <dc:creator>keerthanakumar2</dc:creator>
      <dc:date>2016-02-02T06:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121497#M17423</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2506/keerthanakumar20.html" nodeid="2506"&gt;@keerthana gajarajakumar&lt;/A&gt; performance in general is noticeable, orc is the way to go, no questions about it.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 06:57:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121497#M17423</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-02T06:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121498#M17424</link>
      <description>&lt;P&gt;I just realized you had a comment under your original question. I will edit it so that it is the actual question.

I was suggesting you can use Sqoop to DIRECTLY create an ORC Table.

Try this also:
&lt;/P&gt;&lt;PRE&gt;INSERT OVERWRITE TABLE orcemployees SELECT * FROM employees;&lt;/PRE&gt;&lt;P&gt;
What is your output after you have done so?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 06:59:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121498#M17424</guid>
      <dc:creator>amcbarnett</dc:creator>
      <dc:date>2016-02-02T06:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121499#M17425</link>
      <description>&lt;P&gt;You can also review the docs here: &lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/moving_data_from_hdfs_to_hive_external_table_method.html"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_dataintegration/content/moving_data_from_hdfs_to_hive_external_table_method.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 07:05:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121499#M17425</guid>
      <dc:creator>amcbarnett</dc:creator>
      <dc:date>2016-02-02T07:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121500#M17426</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/369/amcbarnett.html" nodeid="369"&gt;@Ancil McBarnett&lt;/A&gt;&lt;P&gt; -- I'm having a bit of a confusion in interpreting your suggestions. Let me know if I have interpreted your answers well. &lt;/P&gt;&lt;P&gt;1. In both the following cases the tables you have referred to as 'employees' and 'employee_hive' is the mysql table imported using sqoop directly onto hive (sqoop import --connect jdbc:mysql://localhost:3306/employees --username xxx--password xxx --table employees &lt;STRONG&gt;--hive-import&lt;/STRONG&gt; --driver com.mysql.jdbc.Driver). Am I correct? &lt;/P&gt;&lt;P&gt;2. Once I'm done with importing the employees table on hive mentioned in step 1, I can create an orcemployees table. &lt;/P&gt;&lt;P&gt;Am I right?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 07:16:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121500#M17426</guid>
      <dc:creator>keerthanakumar2</dc:creator>
      <dc:date>2016-02-02T07:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121501#M17427</link>
      <description>&lt;P&gt;I reviewed these links. I can follow those steps if my data has been imported to hdp and I want to create an orctable in hive. But what you're suggesting is to import the data on hive and then create an orc table.  &lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 07:20:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121501#M17427</guid>
      <dc:creator>keerthanakumar2</dc:creator>
      <dc:date>2016-02-02T07:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121502#M17428</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/12962/used-sqoop-to-import-mysql-table-employees-onto-hd.html#"&gt;@keerthana gajarajakumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let's see if I can make it clear.
You asked how can I sqoop data into HDP/ Hive and then create an ORC table from it.

I suggested the following:
&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;INSTEAD of Sqoop Data into a table and THEN creating an ORC table you can simply create the ORC table directly with Sqoop - hence the following options in the Sqoop call
&lt;PRE&gt;--hcatalog-database default --hcatalog-table my_table_orc --create-hcatalog-table --hcatalog-storage-stanza "stored as orcfile"&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;OR, you can use normal Sqoop without the ORC options, create a normal table as you have done and then create an OrcEmployees table.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 02 Feb 2016 07:41:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121502#M17428</guid>
      <dc:creator>amcbarnett</dc:creator>
      <dc:date>2016-02-02T07:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121503#M17429</link>
      <description>&lt;P&gt;ok &lt;A rel="user" href="https://community.cloudera.com/users/369/amcbarnett.html" nodeid="369"&gt;@Ancil McBarnett&lt;/A&gt; -- Thanks for your ideas. I was able to do a sqoop import of the tables using --hive-import onto hive and then I created a orc table. Is there anyway I can access these imported files on hive? Because I'm able to find the files I imported on hdp but not hive. &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/1708-hdfs-imported-tables.png"&gt;hdfs-imported-tables.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 08:02:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121503#M17429</guid>
      <dc:creator>keerthanakumar2</dc:creator>
      <dc:date>2016-02-02T08:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121504#M17430</link>
      <description>&lt;P&gt;Create table pointing to this directory and query in the Ambari Hive view &lt;A rel="user" href="https://community.cloudera.com/users/2506/keerthanakumar20.html" nodeid="2506"&gt;@keerthana gajarajakumar&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 08:06:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121504#M17430</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-02T08:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121505#M17431</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; -- Thanks. Any suggestions how I can do it? because I was unable to read from this location with the code I wrote. &lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 08:20:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121505#M17431</guid>
      <dc:creator>keerthanakumar2</dc:creator>
      <dc:date>2016-02-02T08:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121506#M17432</link>
      <description>&lt;P&gt;I assume this is a completely different question right as you are able to view the hive table since you used the &lt;CODE&gt;--hive-import&lt;/CODE&gt; Sqoop option, and you are now able to see the ORC table you created subsequently and query the data after accomplishing an "INSERT OVERWRITE TABLE" right?&lt;/P&gt;&lt;P&gt;If you are just asking how can I import an existing HDFS file/ folder into a Hive Table, then &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; is correct.  Just do for example create external table employee2 LOCATION '/tmp/task/employees' and query using Hive view.  For syntax see&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 08:23:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121506#M17432</guid>
      <dc:creator>amcbarnett</dc:creator>
      <dc:date>2016-02-02T08:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121507#M17433</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2506/keerthanakumar20.html" nodeid="2506"&gt;@keerthana gajarajakumar&lt;/A&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;CREATE EXTERNAL TABLE tweets (&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;  createddate string,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;  geolocation string,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;  tweetmessage string,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;  `user` struct&amp;lt;geoenabled:boolean, id:int, name:string, screenname:string, userlocation:string&amp;gt;)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe'&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;LOCATION '/user/root/';&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 02 Feb 2016 08:44:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121507#M17433</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-02T08:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121508#M17434</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/369/amcbarnett.html" nodeid="369"&gt;@Ancil McBarnett&lt;/A&gt; &amp;amp; &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; -- Thanks a lot for taking the time to reply. I tried creating an external table to point to the hdfs location I'm getting the following error (please find the image below). Besides, I entered these lines randomly .. FIELDS TERMINATED BY '\t'
STORED AS TEXTFILE. I'm not sure if it's tab separated nor saved as a text file. How can I view the mysql tables imported into hive or hdfs?? I'm unable to open it. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/1733-error.png"&gt;error.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 23:10:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121508#M17434</guid>
      <dc:creator>keerthanakumar2</dc:creator>
      <dc:date>2016-02-02T23:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121509#M17435</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2506/keerthanakumar20.html" nodeid="2506"&gt;@keerthana gajarajakumar&lt;/A&gt;&lt;P&gt; your error says you don't have permissions for admin user on that folder. You need to&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chown -R admin:hdfs /tmp/task/employees&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chmod -R 777 /tmp/task/employees&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 23:13:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121509#M17435</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-02T23:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Used Sqoop to import Mysql table (Employees) onto HDP. Now, I would like to create a Hive ORC Employees Table based on it with the as is schema and data on HDP. How can I do it?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121510#M17436</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; - I was able to execute the query for external table creation.. thanks:) &lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 23:51:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Used-Sqoop-to-import-Mysql-table-Employees-onto-HDP-Now-I/m-p/121510#M17436</guid>
      <dc:creator>keerthanakumar2</dc:creator>
      <dc:date>2016-02-02T23:51:19Z</dc:date>
    </item>
  </channel>
</rss>

