<?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: I'm getting a &amp;quot;start token not found where expected&amp;quot; when selecting data from a table using the native JSON serde. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125903#M26903</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; but I get the same results from HiveCL. It's all nulls. &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3946-9688f87e-f96b-4330-833c-c2e59ab2e9c9.png"&gt;9688f87e-f96b-4330-833c-c2e59ab2e9c9.png&lt;/A&gt;. Let me try &lt;A rel="user" href="https://community.cloudera.com/users/2167/bluesmix.html" nodeid="2167"&gt;@Michael M&lt;/A&gt; suggestion and I'll update the thread with the results.&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2016 03:26:45 GMT</pubDate>
    <dc:creator>SQLShaw</dc:creator>
    <dc:date>2016-05-04T03:26:45Z</dc:date>
    <item>
      <title>I'm getting a "start token not found where expected" when selecting data from a table using the native JSON serde.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125900#M26900</link>
      <description>&lt;P&gt;I created a table based off the Hive native JSON SerDe. My intention is to create a table for tweets. I've attached &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3917-tweet-table.txt" target="_blank"&gt;tweet-table.txt&lt;/A&gt;.  The table is created without errors. I then load the data using the LOAD DATA INPATH command and I get no errors. When I try to select data from the table, I get the following error:&lt;/P&gt;&lt;P&gt;{"message":"H170 Unable to fetch results. java.io.IOException: org.apache.hadoop.hive.serde2.SerDeException: java.io.IOException: Start token not found where expected [ERROR_STATUS]","status":500,"trace":"org.apache.ambari.view.hive.client.HiveErrorStatusException: H170 Unable to fetch results. java.io.IOException: org.apache.hadoop.hive.serde2.SerDeException: java.io.IOException: Start token not found where expected [ERROR_STATUS]\n\norg.apache.ambari.view.hive.client.HiveErrorStatusException: H170 Unable to fetch results. java.io.IOException: org.apache.hadoop.hive.serde2.SerDeException: java.io.IOException: Start token not found where expected [ERROR_STATUS&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:16:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125900#M26900</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2022-09-16T10:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: I'm getting a "start token not found where expected" when selecting data from a table using the native JSON serde.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125901#M26901</link>
      <description>&lt;P&gt;As i recall is smth related to nested arrays. We're using &lt;A href="https://github.com/rcongiu/Hive-JSON-Serde/"&gt;another JSON serde lib&lt;/A&gt; and it does work with any complexity of jsons.&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.dataprocessingtips.com/2016/04/25/twitter-analytics-with-amazon-emr-and-dynamodb-part-1/"&gt;Here&lt;/A&gt; i posted an example of twitter table ddl which is tested well.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 04:57:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125901#M26901</guid>
      <dc:creator>bluesmix</dc:creator>
      <dc:date>2016-05-03T04:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: I'm getting a "start token not found where expected" when selecting data from a table using the native JSON serde.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125902#M26902</link>
      <description>&lt;P&gt;Scott, can you confirm youre having an issue with hive or the hive view? Please run your sql against hive cli or beeline. i have a working example here &lt;A href="https://github.com/dbist/workshops/blob/master/hive/JSON/JSON_SERDE.txt" target="_blank"&gt;https://github.com/dbist/workshops/blob/master/hive/JSON/JSON_SERDE.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Another thing to keep in mind, switch to 1.2 introduced a clause for reserved keywords, in my example, user is a keyword and I turn the check off. Confirm your schema does not include any reserved words.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 06:17:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125902#M26902</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-05-03T06:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: I'm getting a "start token not found where expected" when selecting data from a table using the native JSON serde.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125903#M26903</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; but I get the same results from HiveCL. It's all nulls. &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/3946-9688f87e-f96b-4330-833c-c2e59ab2e9c9.png"&gt;9688f87e-f96b-4330-833c-c2e59ab2e9c9.png&lt;/A&gt;. Let me try &lt;A rel="user" href="https://community.cloudera.com/users/2167/bluesmix.html" nodeid="2167"&gt;@Michael M&lt;/A&gt; suggestion and I'll update the thread with the results.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 03:26:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125903#M26903</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2016-05-04T03:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: I'm getting a "start token not found where expected" when selecting data from a table using the native JSON serde.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125904#M26904</link>
      <description>&lt;P&gt;I was adding the wrong jar resource. Thanks for everyone's suggestions.  If you want to help further, I'm now encountering this issue &lt;A href="https://community.hortonworks.com/questions/31438/getting-all-nulls-when-selecting-from-a-hive-json.html" target="_blank"&gt;https://community.hortonworks.com/questions/31438/getting-all-nulls-when-selecting-from-a-hive-json.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2016 20:47:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-m-getting-a-quot-start-token-not-found-where-expected-quot/m-p/125904#M26904</guid>
      <dc:creator>SQLShaw</dc:creator>
      <dc:date>2016-05-04T20:47:42Z</dc:date>
    </item>
  </channel>
</rss>

