<?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 Why does I get  &amp;quot;ERROR: HY000] [Hortonworks][Hardy] (35) Error from server: error code: '1' &amp;quot;when I query in hive using my c# app but when I use Hive view its doing fine. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Why-does-I-get-quot-ERROR-HY000-Hortonworks-Hardy-35-Error/m-p/200624#M162644</link>
    <description>&lt;P&gt;ERROR:
HY000] [Hortonworks][Hardy] (35) Error from server: error code: '1' error message: 'Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask'. ? &lt;/P&gt;&lt;P&gt;Here's my code: using &lt;/P&gt;&lt;P&gt;(OdbcConnection mycon1 = new OdbcConnection(conn.hiveconnection())) { mycon1.Open(); using (cmd = mycon1.CreateCommand()) { cmd.CommandText = "insert into table tblname values(1,'test@gmail.com','1990-11-03','09123456789','NULL', 'FEMALE','','test123456789','2017-03-14 11:37:56.0', '0000-00-00 00-00-00.0',1,0,0,'test','address', '-','lname', '-','fname','03/28/2018 15:54:53','0000-00-00 00-00-00.0')"; cmd.ExecuteNonQuery(); } } mycon1.Close(); &lt;/P&gt;&lt;P&gt;The Error will apply in this line: cmd.ExecuteNonQuery(); &lt;/P&gt;&lt;P&gt;I've attached the screen shot from tez view.
the app runs as hadoop user.
i am using Horton Works Drive - ODBC.
Is there something wrong in my query? &lt;/P&gt;&lt;P&gt;When I run the query in ambari it works.
Can Anyone know this kind of problem? Please somebody help help. Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6779iA43823254F2D908F/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="tez-screen-shot.png" title="tez-screen-shot.png" /&gt;</description>
    <pubDate>Mon, 02 Apr 2018 01:47:04 GMT</pubDate>
    <dc:creator>dcedielunesa</dc:creator>
    <dc:date>2018-04-02T01:47:04Z</dc:date>
  </channel>
</rss>

