Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

MySql to Hive

I am trying to insert mysql records into Hive.

I did created metadata connetions to My Hadoop cluster and hive connected successfully.

I am using Big Data open studio 7.1 version.

 

I am facing problem to insert records into hive.

 

I cant find tHiveOutput in my pallete.

 

I did tried tMySqlInput --> tHiveRow

and i used below conf for tHiverow

 

0683p000009M59F.png

 

it throws error as 

Error while compiling statement: FAILED: SemanticException [Error 10001]: Line 6:5 Table not found 'EmpData'

Where i already created table in hive db.

I am really confused how to use hive in talend.

Theres no proper documentation for what component need to be used to import data into hive.

Someone says use thiverow as thiveoutput is not available.

 

and how to create connection between tHivecreatetable to tHiverow, where if i want to create table in talend job itself.

 

Can anyone please clear my confusions.

 

Regards,

Mohan V

Labels (3)
1 Reply
vapukov
Master II
Master II

Hi,

 

why just not check examples which coming with Studio?

 

0683p000009M4tK.png

 

 

btw, one of the logics could be:

  • export data to csv
  • put file to hdfs
  • load data into table

 

or you can use sqoop