<?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>topic Re: MongoInput (Json) to Hive (text) using tExtractJSON giving an error. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/MongoInput-Json-to-Hive-text-using-tExtractJSON-giving-an-error/m-p/2297201#M69792</link>
    <description>Hi,&lt;BR /&gt;Did you check your json source file to see if it is well-formed (Json Validator&amp;nbsp;JSONLint)?&lt;BR /&gt;How did you set your&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tExtractJsonField &amp;nbsp;component? Could you please also paste your&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;json source file here(a sample content is OK)?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Thu, 16 Jul 2015 11:14:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-07-16T11:14:58Z</dc:date>
    <item>
      <title>MongoInput (Json) to Hive (text) using tExtractJSON giving an error.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MongoInput-Json-to-Hive-text-using-tExtractJSON-giving-an-error/m-p/2297200#M69791</link>
      <description>Hi Experts,
&lt;BR /&gt;I'm trying to load HIVE tables (text - Flat) format from MongoDB (JSON format). I have used tExtractJSONFields component, but getting an error "
&lt;B&gt;Error on line 1 of document &amp;nbsp;: The content of elements must consist of well-formed character data or markup. Nested exception: The content of elements must consist of well-formed character data or markup&lt;/B&gt;.". Searched talendforge forum for help, but didn't help much.&amp;nbsp;
&lt;BR /&gt;Here is my mapping
&lt;BR /&gt;tMongoInput --&amp;gt; tExtractJsonField ---&amp;gt; tlogRow ---&amp;gt;tHDFSOutput ---&amp;gt; tHIVECreateTable ---&amp;gt; tHIVELoad
&lt;BR /&gt;Any help is much appreciated.
&lt;BR /&gt;Regards
&lt;BR /&gt;cmadaka</description>
      <pubDate>Sat, 16 Nov 2024 11:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MongoInput-Json-to-Hive-text-using-tExtractJSON-giving-an-error/m-p/2297200#M69791</guid>
      <dc:creator>cmadaka</dc:creator>
      <dc:date>2024-11-16T11:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: MongoInput (Json) to Hive (text) using tExtractJSON giving an error.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MongoInput-Json-to-Hive-text-using-tExtractJSON-giving-an-error/m-p/2297201#M69792</link>
      <description>Hi,&lt;BR /&gt;Did you check your json source file to see if it is well-formed (Json Validator&amp;nbsp;JSONLint)?&lt;BR /&gt;How did you set your&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tExtractJsonField &amp;nbsp;component? Could you please also paste your&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;json source file here(a sample content is OK)?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 16 Jul 2015 11:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MongoInput-Json-to-Hive-text-using-tExtractJSON-giving-an-error/m-p/2297201#M69792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-16T11:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: MongoInput (Json) to Hive (text) using tExtractJSON giving an error.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MongoInput-Json-to-Hive-text-using-tExtractJSON-giving-an-error/m-p/2297202#M69793</link>
      <description>Thanks Sabrina. tExtractJsonField was set-up using&amp;nbsp;
&lt;BR /&gt;Read by : XPath and&amp;nbsp;
&lt;BR /&gt;JSON Field : triggerFired,&amp;nbsp;
&lt;BR /&gt;Loop XPath Query : ""
&lt;BR /&gt;Here is the sample JSON record. If i remove the FiringDate field in the subdocument, job seems to run fine. other wise i get an error. Don't have any issue with insertDate and createtimestamp date field.
&lt;BR /&gt;{
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "_id" : ObjectId("22349j3242394-234"),
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "insertDate" : ISODate("2014-06-30T04:00:00.000Z"),
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Identifier" : "Raw Data",
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "status" : "Accepted",
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "userId" : "93837574849",
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "createdTimestamp" : ISODate("2015-07-10T22:01:44.000Z"),
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "triggerFired" : 
&lt;BR /&gt;}</description>
      <pubDate>Thu, 16 Jul 2015 14:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MongoInput-Json-to-Hive-text-using-tExtractJSON-giving-an-error/m-p/2297202#M69793</guid>
      <dc:creator>cmadaka</dc:creator>
      <dc:date>2015-07-16T14:21:27Z</dc:date>
    </item>
  </channel>
</rss>

