hadoop - 使用HCatLoader进行PIG,Java堆空间错误

我在伪分发模式下使用hive-0.12.0,pig-0.12.0,mysql-5.6hadoop-1.2.1

我根据链接配置了PIG_CLASSPATH等。详细信息,
https://cwiki.apache.org/confluence/display/Hive/HCatalog+LoadStore

当我尝试使用 HCatloader 将在 hive 中创建的表加载到 Pig 时,它给出了Java堆空间错误。

详细信息如下:

hive.metastore - Trying to connect to metastore with URI thrift://127.0.0.1:3306 2014-04-11 01:12:36,432 [main] INFO hive.metastore - Waiting 1 seconds before next connection attempt. 2014-04-11 01:12:37,432 [main] INFO hive.metastore - Connected to metastore. 2014-04-11 01:12:37,785 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2998: Unhandled internal error. Java heap space Details at logfile: /home/aphadoop/pig_1397158893348.log



有人遇到过同样的错误并解决了吗?

请告诉我。

最佳答案

请引用下面的链接以获取有关此问题的一些想法。
http://www.thecloudavenue.com/2013/11/InstallingAndConfiguringHCatalogAndIntegratingWithPig.html

https://stackoverflow.com/questions/23033936/

相关文章:

hadoop - Pig:访问内部元组的字段进行过滤

docker - 是 "docker start"完全恢复由 "docker run"启动的所有正在

makefile - 获取刚刚生成的图像的ID

amazon-web-services - 如何为Docker注册日志记录驱动程序?

docker - 我自己对 boot2docker 的自定义没有反射(reflect)到 iso 镜

logging - Dockerized Kibana外部化日志

amazon-web-services - 我可以安排Docker在特定时间在Amazon ECS上

docker - Docker:对apache虚拟主机进行Docker化

docker - 运行openshift/origin docker时出错:运行 'chcon'来设

jenkins - 无法以非 root 用户身份运行 docker?