Cannot create an instance of InputFormat class org.apache.hadoop.mapred.TextInputFormat as specified

2012-02-14 Thread Abhishek Parolkar
Hi I just installed Hive 0.8.1 with hadoop 1.0.0 when I run hive query I get "Cannot create an instance of InputFormat class org.apache.hadoop.mapred.TextInputFormat as specified" all the time Here is the full trace http://pastie.org/private/sl8xmyasi7sjkce2wfn9qq I have H

Re: Cannot create an instance of InputFormat

2012-01-17 Thread Aniket Mokashi
ble; >> Copying data from file:/home/biadmin/hivetbl/IOtable_data.txt >> Copying file: file:/home/biadmin/hivetbl/IOtable_data.txt >> Loading data to table default.iotable >> OK >> Time taken: 0.147 seconds >> >> hive> select * from IOtable; >> OK &

Re: Cannot create an instance of InputFormat

2012-01-17 Thread Edward Capriolo
ata.txt > Copying file: file:/home/biadmin/hivetbl/IOtable_data.txt > Loading data to table default.iotable > OK > Time taken: 0.147 seconds > > hive> select * from IOtable; > OK > Failed with exception java.io.IOException:java.io.IOException: Cannot > create an ins

Cannot create an instance of InputFormat

2012-01-17 Thread Bing Li
ken: 0.147 seconds hive> select * from IOtable; OK Failed with exception java.io.IOException:java.io.IOException: Cannot create an instance of InputFormat class com.mytest.fileformat.myInputFormat as specified in mapredWork! Time taken: 0.059 seconds *Here is my source code :* ==