Closed suolemen closed 10 years ago
Error: java.io.IOException: Failed to load foster storage handler
at org.apache.hcatalog.common.HCatUtil.getStorageHandler(HCatUtil.java:421)
at org.apache.hcatalog.common.HCatUtil.getStorageHandler(HCatUtil.java:387)
at org.apache.hcatalog.mapreduce.HCatBaseInputFormat.createRecordReader(HCatBaseInputFormat.java:191)
at com.datasalt.pangool.tuplemr.mapred.lib.input.HCatTupleInputFormat.createRecordReader(HCatTupleInputFormat.java:119)
at com.datasalt.pangool.tuplemr.mapred.lib.input.DelegatingRecordReader.
I'm using Splout with PARQUET tables without any issue in CDH5, so PARQUET is not the problem. But probably the problem is that Parquet is not properly included in the classpath of your job.
Locate the needed jars from your distro, and include them in the command line statement exactly in the following position:
hadoop jar splout-hadoop-0.2.5-hadoop-mr2.jar simple-generate -libjars lib1.jar,lib2.jar -it HIVE -hdb default -htn inventory__test2 -o out-hive-simple -pby areacode -p 120 -t inventory_test2_of_me -tb inventory_test2_sqlout
See this page for more information about the libjar option: http://grepalex.com/2013/02/25/hadoop-libjars/
thanks!!!
commend:
hadoop jar splout-hadoop-0.2.5-hadoop-mr2.jar simple-generate -it HIVE -hdb default -htn inventory__test2 -o out-hive-simple -pby areacode -p 120 -t inventory_test2_of_me -tb inventory_test2_sqlout
create hive table commend create table inventory_test2 (phoneno string,areacode string,dialresults string,talking_times string,dialtimes string,callturn int) row format delimited fields terminated by ',' collection items terminated by '|' lines terminated by '\n' STORED AS PARQUET ;
notice : STORED AS PARQUET ; !! this formate can not supported how can slouted it ?