如何使用-usehcatalog在ooziee的pig操作中

t9aqgxwy  于 2021-07-15  发布在  Pig
关注(0)|答案(0)|浏览(363)

我可以用命令行运行pig脚本

pig -useHCatalog

但在运行oozie工作流时,pig操作无法运行,出现错误:

ERROR 2244: Job failed, hadoop does not return any error message
ERROR 2245: Cannot get schema from loadFunc org.apache.hive.hcatalog.pig.HCatLoader

INFO conf.HiveConf: Found configuration file null
INFO common.HiveClientCache: Initializing cache: eviction-timeout=120 initial-capacity=50 maximum-capacity=50
INFO metastore.HiveMetaStore: 0: Opening raw store with implementation class:org.apache.hadoop.hive.metastore.ObjectStore
ERROR metastore.RetryingHMSHandler: java.lang.NoClassDefFoundError: org/datanucleus/NucleusContext

Not able to connect hive.metastore after giving path of hive-site.xml

如何使用 -useHCatalogoozie 工作流 Pig 行动?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题