我在伪分发模式下使用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 - 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
关于hadoop - 使用HCatLoader进行PIG,Java堆空间错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23033936/