Loading xml data into hive table :org.apache.hadoop.hive.ql.metadata.HiveException
问题 I'm trying to load XML data into Hive but I'm getting an error : java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row {"xmldata":""} The xml file i have used is : <?xml version="1.0" encoding="UTF-8"?> <catalog> <book> <id>11</id> <genre>Computer</genre> <price>44</price> </book> <book> <id>44</id> <genre>Fantasy</genre> <price>5</price> </book> </catalog> The hive query i have used is : 1) Create TABLE xmltable(xmldata string)