Beeswax server occasionally throws java.lang.OutOfMemoryError: Java heap space. Hadoop recommends setting max Java heapsize to 1000MB.
@@ -22,3 +22,10 @@
#
# Timeout in seconds for thrift calls to the hive metastore
## metastore_conn_timeout=10
+
+#
+# Maximum Java heapsize (in megabytes) used by Beeswax Server.
+# Note that the setting of HADOOP_HEAPSIZE in $HADOOP_CONF_DIR/hadoop-env.sh
+# may override this setting.
+## beeswax_server_heapsize=1000
@@ -54,7 +54,7 @@ BEESWAX_SERVER_HEAPSIZE = Config(
help="Maximum Java heapsize (in megabytes) used by Beeswax Server. " + \
"Note that the setting of HADOOP_HEAPSIZE in $HADOOP_CONF_DIR/hadoop-env.sh " + \
"may override this setting.",
- default=None)
+ default="1000")
BEESWAX_HIVE_CONF_DIR = Config(
key='hive_conf_dir',