<?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 Error while writing data to Hadoop via SSIS ODBC in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191576#M153657</link>
    <description>&lt;P&gt;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:&lt;/P&gt;&lt;PRE&gt;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.&lt;/PRE&gt;&lt;PRE&gt;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 '?' ')' '&amp;lt;EOF&amp;gt;' in value row constructor
&lt;/PRE&gt;&lt;P&gt;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)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="15864-untitled.png" style="width: 968px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18408i60E09B826EAE24EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="15864-untitled.png" alt="15864-untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it seems this component generates some query which hive doesnt like or has syntax problems. but i cannot see that query. &lt;/P&gt;&lt;P&gt;what i already have tried:&lt;/P&gt;&lt;P&gt;- tweaking the settings of the source (Validate External data True/false)&lt;/P&gt;&lt;P&gt;- Setting the "Native Query" in ODBC DSN Settings to checked.&lt;/P&gt;&lt;P&gt;but so far nothing helped. &lt;/P&gt;&lt;P&gt;Can anybody help me with this please?&lt;/P&gt;&lt;P&gt;Any pointers appriciated!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 11:40:45 GMT</pubDate>
    <dc:creator>tahir2</dc:creator>
    <dc:date>2022-09-16T11:40:45Z</dc:date>
    <item>
      <title>Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191576#M153657</link>
      <description>&lt;P&gt;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:&lt;/P&gt;&lt;PRE&gt;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.&lt;/PRE&gt;&lt;PRE&gt;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 '?' ')' '&amp;lt;EOF&amp;gt;' in value row constructor
&lt;/PRE&gt;&lt;P&gt;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)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="15864-untitled.png" style="width: 968px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18408i60E09B826EAE24EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="15864-untitled.png" alt="15864-untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it seems this component generates some query which hive doesnt like or has syntax problems. but i cannot see that query. &lt;/P&gt;&lt;P&gt;what i already have tried:&lt;/P&gt;&lt;P&gt;- tweaking the settings of the source (Validate External data True/false)&lt;/P&gt;&lt;P&gt;- Setting the "Native Query" in ODBC DSN Settings to checked.&lt;/P&gt;&lt;P&gt;but so far nothing helped. &lt;/P&gt;&lt;P&gt;Can anybody help me with this please?&lt;/P&gt;&lt;P&gt;Any pointers appriciated!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:40:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191576#M153657</guid>
      <dc:creator>tahir2</dc:creator>
      <dc:date>2022-09-16T11:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191577#M153658</link>
      <description>&lt;P&gt;Any update buddy?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 09:43:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191577#M153658</guid>
      <dc:creator>AndresUrrego</dc:creator>
      <dc:date>2017-06-13T09:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191578#M153659</link>
      <description>&lt;P&gt;didnt work so far...&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 13:15:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191578#M153659</guid>
      <dc:creator>tahir2</dc:creator>
      <dc:date>2017-06-13T13:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191579#M153660</link>
      <description>&lt;P&gt;have you configured already the odbc connection parammeter using the hortonworks driver and it worked, I' reaching you cause i'm trying that and i dont know how to do it. thanks&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 20:15:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191579#M153660</guid>
      <dc:creator>AndresUrrego</dc:creator>
      <dc:date>2017-06-14T20:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191580#M153661</link>
      <description>&lt;P&gt;yes, i have configured it and it works. I can import data from Hadoop to SQL server.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 20:18:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191580#M153661</guid>
      <dc:creator>tahir2</dc:creator>
      <dc:date>2017-06-14T20:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191581#M153662</link>
      <description>&lt;P&gt;For Dev i use 32 bit DSN and for Server 64 bit. &lt;/P&gt;&lt;P&gt;in DSN configeration in the host i have IP in the Host, Hadoops port (not the default).&lt;/P&gt;&lt;P&gt;Machanism with user name and password. here the user/password of Hadoop (Knox) synched with AD.&lt;/P&gt;&lt;P&gt;in HTTP settings, i ADAM/default/hive and ssl=true in the list.&lt;/P&gt;&lt;P&gt;in the SSL, enabled SSL, checked the path to log file.&lt;/P&gt;&lt;P&gt;In Advanced options, "use native Query" checked. Edit the batch size, string size etc.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 20:24:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191581#M153662</guid>
      <dc:creator>tahir2</dc:creator>
      <dc:date>2017-06-14T20:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191582#M153663</link>
      <description>&lt;P&gt;A couple of questions from my side are: Just to let you know my scenario, I'M playing with a single node configuration in a virtual machine with hortonworks services as Hive, Pig , etc.&lt;/P&gt;&lt;P&gt;* Do you use a specific user, created to get access to hive in your cluster using a view?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;*Did you follow this tutorial? &lt;A href="https://2xbbhjxc6wk3v21p62t8n4d4-wpengine.netdna-ssl.com/wp-content/uploads/2016/08/Hortonworks-Hive-ODBC-Driver-User-Guide.pdf"&gt;here&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 14 Jun 2017 20:26:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191582#M153663</guid>
      <dc:creator>AndresUrrego</dc:creator>
      <dc:date>2017-06-14T20:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191583#M153664</link>
      <description>&lt;P&gt;I had the DSN configured from someone else so not sure if the tutorial was followed.&lt;/P&gt;&lt;P&gt;my user access through hive. I can log in via the terminal or hue as well.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 20:45:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191583#M153664</guid>
      <dc:creator>tahir2</dc:creator>
      <dc:date>2017-06-14T20:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191584#M153665</link>
      <description>&lt;P&gt;did you create the user that you use in hive or someone else did it for you&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 20:55:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191584#M153665</guid>
      <dc:creator>AndresUrrego</dc:creator>
      <dc:date>2017-06-14T20:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191585#M153666</link>
      <description>&lt;P&gt;someone did it for me.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 20:59:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191585#M153666</guid>
      <dc:creator>tahir2</dc:creator>
      <dc:date>2017-06-14T20:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191586#M153667</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/18674/tahir2.html"&gt;Tahir Naeem&lt;/A&gt;, have you worked out the solution? Seems I run into the same issue.&lt;/P&gt;,&lt;P&gt;@Tahir Naeem, Have you worked out this? Seems I run into the same issue.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 02:40:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191586#M153667</guid>
      <dc:creator>iclin</dc:creator>
      <dc:date>2017-11-10T02:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error while writing data to Hadoop via SSIS ODBC</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191587#M153668</link>
      <description>&lt;P&gt;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). &lt;/P&gt;&lt;P&gt;I intend to rather pull data from Hadoop instead (with sqoop or something). &lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 21:22:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-writing-data-to-Hadoop-via-SSIS-ODBC/m-p/191587#M153668</guid>
      <dc:creator>tahir2</dc:creator>
      <dc:date>2017-11-15T21:22:58Z</dc:date>
    </item>
  </channel>
</rss>

