首页 > 代码库 > hive 学习之异常篇

hive 学习之异常篇

一、刚装上hive在执行hive启动的过程中出现

[hadoop@localhost hive-0.6.0]$ hiveInvalid maximum heap size: -Xmx4096mThe specified size exceeds the maximum representable size.Could not create the Java virtual machine.

  解决方法:

  修改$HIVE_INSTALL/bin/ext/util/execHiveCmd.sh

# increase the threashold for large queries  #HADOOP_HEAPSIZE=4096   HADOOP_HEAPSIZE=128