Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Error while writing data to Hadoop via SSIS ODBC

avatar
Explorer

I am trying to export data from SQL Server via SSIS ODBC to hadoop. while i can succesfully read the data via ODBC from Hadoop, trying to write to Hadoop via SSIS ODBC Destination (via Hortonworks ODBC Driver) from Microsoft SQL Server integration services gives an error:

failed with error code 0x80004005 while processing input "ODBC Destination Input" (31). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.
Error: Open Database Connectivity (ODBC) error occurred. state: 'HY000'. Native Error Code: 80. [Hortonworks][Hardy] (80) Syntax or semantic analysis error thrown in server while executing query. Error message from server: Error while compiling statement: FAILED: ParseException line 1:61 cannot recognize input near '?' ')' '<EOF>' in value row constructor

There is NO hive or SQL code written directly. here is snapshot of the destination component in SSIS. For test purposes there is only one column that i am exporting and that is of type integer. (mapped in the Mappings tab)

15864-untitled.png

it seems this component generates some query which hive doesnt like or has syntax problems. but i cannot see that query.

what i already have tried:

- tweaking the settings of the source (Validate External data True/false)

- Setting the "Native Query" in ODBC DSN Settings to checked.

but so far nothing helped.

Can anybody help me with this please?

Any pointers appriciated!

Thank you!

11 REPLIES 11

avatar
New Contributor

@Tahir Naeem, have you worked out the solution? Seems I run into the same issue.

,

@Tahir Naeem, Have you worked out this? Seems I run into the same issue.

avatar
Explorer

No unfortunately it didnt work and i have long given up on this. This ODBC driver isnt mature yet and it has many other problems a swell. e.g. while sourcing data via hive it doesnt allow even a slightly complex query (with an aggregation or group by).

I intend to rather pull data from Hadoop instead (with sqoop or something).