samuschen 发表于 2013-1-30 01:54:10

hive报Invalid maximum heap size: -Xmx4096m错误解决方法

mongodb@krusiting-laptop:~/hive-0.6.0$ bin/hive
Invalid maximum heap size: -Xmx4096m
The specified size exceeds the maximum representable size.
Could not create the Java virtual machine.
 
解决方法:
~/hive-0.6.0/bin/ext/util$ vim execHiveCmd.sh
修改
HADOOP_HEAPSIZE=4096

HADOOP_HEAPSIZE=256
 
页: [1]
查看完整版本: hive报Invalid maximum heap size: -Xmx4096m错误解决方法