<?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 trying to create hive table to read xml file in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/trying-to-create-hive-table-to-read-xml-file/m-p/176841#M64441</link>
    <description>&lt;P&gt;CREATE EXTERNAL TABLE BOOKDATA (TITLE STRING, PRICE FLOAT)
ROW FORMAT SERDE 'com.ibm.spss.hive.serde2.xml.XmlSerDe'
WITH SERDEPROPERTIES (
"column.xpath.TITLE"="/BOOK/TITLE/text()",
"column.xpath.PRICE"="/BOOK/PRICE/text()")
STORED AS 
INPUTFORMAT 'com.ibm.spss.hive.serde2.xml.XmlInputFormat'
OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'
LOCATION '/home/airflow/swagat/sample.xml'
TBLPROPERTIES ("xmlinput.start"="&amp;lt;BOOK","xmlinput.end"= "&amp;lt;/BOOK&amp;gt;");&lt;/P&gt;&lt;P&gt;getting below error&lt;/P&gt;&lt;P&gt;FAILED: SemanticException Cannot find class 'com.ibm.spss.hive.serde2.xml.XmlInputFormat'&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2017 12:38:06 GMT</pubDate>
    <dc:creator>swagath249</dc:creator>
    <dc:date>2017-07-07T12:38:06Z</dc:date>
    <item>
      <title>trying to create hive table to read xml file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/trying-to-create-hive-table-to-read-xml-file/m-p/176841#M64441</link>
      <description>&lt;P&gt;CREATE EXTERNAL TABLE BOOKDATA (TITLE STRING, PRICE FLOAT)
ROW FORMAT SERDE 'com.ibm.spss.hive.serde2.xml.XmlSerDe'
WITH SERDEPROPERTIES (
"column.xpath.TITLE"="/BOOK/TITLE/text()",
"column.xpath.PRICE"="/BOOK/PRICE/text()")
STORED AS 
INPUTFORMAT 'com.ibm.spss.hive.serde2.xml.XmlInputFormat'
OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'
LOCATION '/home/airflow/swagat/sample.xml'
TBLPROPERTIES ("xmlinput.start"="&amp;lt;BOOK","xmlinput.end"= "&amp;lt;/BOOK&amp;gt;");&lt;/P&gt;&lt;P&gt;getting below error&lt;/P&gt;&lt;P&gt;FAILED: SemanticException Cannot find class 'com.ibm.spss.hive.serde2.xml.XmlInputFormat'&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 12:38:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/trying-to-create-hive-table-to-read-xml-file/m-p/176841#M64441</guid>
      <dc:creator>swagath249</dc:creator>
      <dc:date>2017-07-07T12:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: trying to create hive table to read xml file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/trying-to-create-hive-table-to-read-xml-file/m-p/176842#M64442</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/15714/swagath249.html" nodeid="15714"&gt;@swagat challagondla&lt;/A&gt;&lt;P&gt;Have you added custom jar for class "'com.ibm.spss.hive.serde2.xml.XmlInputFormat" before creating the table?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 12:44:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/trying-to-create-hive-table-to-read-xml-file/m-p/176842#M64442</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2017-07-07T12:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: trying to create hive table to read xml file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/trying-to-create-hive-table-to-read-xml-file/m-p/176843#M64443</link>
      <description>&lt;P&gt;Hi SIndhu i added them now i am able to create thanks for the help&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 16:09:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/trying-to-create-hive-table-to-read-xml-file/m-p/176843#M64443</guid>
      <dc:creator>swagath249</dc:creator>
      <dc:date>2017-07-07T16:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: trying to create hive table to read xml file</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/trying-to-create-hive-table-to-read-xml-file/m-p/176844#M64444</link>
      <description>&lt;P&gt;From where I can get the jar for com.ibm.spss.hive.serde2.xml.XmlInputFormat ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 21:25:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/trying-to-create-hive-table-to-read-xml-file/m-p/176844#M64444</guid>
      <dc:creator>debananda_sahoo</dc:creator>
      <dc:date>2018-04-10T21:25:20Z</dc:date>
    </item>
  </channel>
</rss>

