我在伪分发模式下使用hive-0.12.0,pig-0.12.0,mysql-5.6
和hadoop-1.2.1
。
我根据链接配置了PIG_CLASSPATH
等详细信息,
https://cwiki.apache.org/confluence/display/Hive/HCatalog+LoadStore
当我尝试使用 HCatloader 将在hive中创建的表加载到 pig 时,它会给出Java堆空间错误。
详情如下:
hive.metastore - 尝试使用URI连接到Metastore thrift://127.0.0.1:3306 2014-04-11 01:12:36,432 [main] INFO hive.metastore - 在下次连接尝试之前等待1秒。 2014-04-11 01:12:37,432 [main] INFO hive.metastore - 已连接到 metastore。 2014-04-11 01:12:37,785 [主要]错误 org.apache.pig.tools.grunt.Grunt - ERROR 2998:未处理的内部 错误。日志文件中的Java堆空间详细信息: /home/aphadoop/pig_1397158893348.log
是否有人遇到过同样的错误并解决了?
请告诉我。
答案 0 :(得分:0)