You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Rahul Channe <dr...@googlemail.com> on 2014/05/29 02:27:28 UTC

Fwd: HCatLoader Error

Hi All,

I am trying to use HCatLoader to load hive table data in Pig but getting
below error

Pig version - 0.11.0
Hive version - 0.13.0


grunt> A = LOAD 'test' USING org.apache.hcatalog.pig.HCatLoader();
2014-05-28 19:46:52,455 [main] INFO  hive.metastore - Trying to connect to
metastore with URI thrift://localhost:9083
2014-05-28 19:46:52,476 [main] WARN  hive.metastore - Failed to connect to
the MetaStore Server...
2014-05-28 19:46:52,477 [main] INFO  hive.metastore - Waiting 1 seconds
before next connection attempt.
2014-05-28 19:46:53,478 [main] INFO  hive.metastore - Trying to connect to
metastore with URI thrift://localhost:9083
2014-05-28 19:46:53,479 [main] WARN  hive.metastore - Failed to connect to
the MetaStore Server...
2014-05-28 19:46:53,481 [main] INFO  hive.metastore - Waiting 1 seconds
before next connection attempt.
2014-05-28 19:46:54,482 [main] INFO  hive.metastore - Trying to connect to
metastore with URI thrift://localhost:9083
2014-05-28 19:46:54,482 [main] WARN  hive.metastore - Failed to connect to
the MetaStore Server...
2014-05-28 19:46:54,482 [main] INFO  hive.metastore - Waiting 1 seconds
before next connection attempt.
2014-05-28 19:46:55,516 [main] ERROR org.apache.pig.tools.grunt.Grunt -
ERROR 2245: Cannot get schema from loadFunc
org.apache.hcatalog.pig.HCatLoader
Details at logfile: /home/user/pig-0.11.1/conf/pig_1401320775671.log
grunt>