Error while launching Hive

Hi,

While launching hive, getting below error:
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x0000699cf9000000, 486014976, 0) failed; error=‘Cannot allocate memory’ (errno=12)
Unable to determine Hadoop version information.
‘hadoop version’ returned:
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x000079fdcd000000, 486014976, 0) failed; error=‘Cannot allocate memory’ (errno=12)

# There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 486014976 bytes for committing reserved memory. # An error report file with more information is saved as: # /home/pratyush04/hs_err_pid31937.log

Any thoughts?

-Pratyush

1 Like

Hi,

I am not getting this error while launching spark-shell, pyspark also.

Hi All - I am also getting memory errors for most of the apps:

[alokkrverma@gw01 ~]$ spark-shell --master local
Multiple versions of Spark are installed but SPARK_MAJOR_VERSION is not set
Spark1 will be picked by default
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x000064f645b00000, 175112192, 0) failed; error=‘Cannot allocate memory’ (errno=12)

[alokkrverma@gw01 ~]$ hive
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x00006ad4e4000000, 486014976, 0) failed; error=‘Cannot allocate memory’ (errno=12)
Unable to determine Hadoop version information.
‘hadoop version’ returned:
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x00006d1748800000, 486014976, 0) failed; error=‘Cannot allocate memory’ (errno=12)

# There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 486014976 bytes for committing reserved memory. # An error report file with more information is saved as: # /home/alokkrverma/hs_err_pid31723.log

[alokkrverma@gw01 ~]$ pyspark
Multiple versions of Spark are installed but SPARK_MAJOR_VERSION is not set
Spark1 will be picked by default
Java HotSpot™ 64-Bit Server
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x0000682e85b00000, 175112192, 0) failed; error=‘Cannot allocate memory’ (errno=12)

Me too facing the out of memory issue while launching hive. Any thoughts would be helpful.

hello,

Did this problem resolve?

I am also getting this error now.