hadoop - ERROR 2245: Cannot get schema from loadFunc org.apache.hive.hcatalog.pig.HCatLoader -
i try load files partitioned hive table.
lkr_bu = load 'basename.tablename' using org.apache.hive.hcatalog.pig.hcatloader();
after running following error:
2016-07-04 15:01:58,743 [uber-subtaskrunner] error org.apache.pig.tools.grunt.grunt - error 2245: cannot schema loadfunc org.apache.hive.hcatalog.pig.hcatloader
for information, have required libraries , hcatalog {loader, storer} works oozie launcher.
someone encountered kind of problem ?
there many steps need follow make hcatalog work in pig.
overall, assume have configured paths (hcatalog) , have included required jars in classpath.
if not, please follow post :- http://www.thecloudavenue.com/2013/11/installingandconfiguringhcatalogandintegratingwithpig.html#comment-form
or, can follow below post :- https://acadgild.com/blog/loading-and-storing-hive-data-into-pig/
after have followed steps above, need start following services :-
- hiveserver2 --> hive --service hiveserver2
- hive metastore --> hive --service metastore
after following above steps, work facing same issue , resolved it.
hope helps.
Comments
Post a Comment