Error after loading data

2010-01-22 Thread ankit bhatnagar
Hi all, I am loading data from xml file to hive schema. add jar build/contrib/hadoop-mapred-0.22.0-SNAPSHOT.jar CREATE TABLE IF NOT EXISTS PARSE_XML( column1 String, column2 String ) STORED AS INPUTFORMAT 'org.apache.hadoop.mapreduce.lib.input.XmlInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive

Re: Load data

2010-01-22 Thread ankit bhatnagar
Hi Zheng, Could you please verify my sql; add jar CREATE TABLE IF NOT EXISTS PARSE_XML( column1 String, column2 String ) STORED AS INPUTFORMAT 'org.apache.mahout.classifier.bayes.XmlInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat' I was thinking that i could

Re: Load data

2010-01-21 Thread ankit bhatnagar
Thanks you guys . I have a Question if I use Mahout Project's XmlInputFormat Then while running on Amazon S3 how would the hive know this format? I saw that when Amazon executes jobs firstly it installs hive. I hope this make sense? Ankit

Re: Load data

2010-01-21 Thread ankit bhatnagar
Hi Zheng, Thanks for the info. One Question though - could be a bad one. Where does a hadoop sits ? Ankit

Re: Load data

2010-01-20 Thread ankit bhatnagar
Mahout project has the XMLInputFormat. Could you please brief me how would I load data into hive Ankit

Load data

2010-01-20 Thread ankit bhatnagar
Hi there, I am new to hive is there a way to import data from XML. Ankit