On BDA V4.1 with 12.1.0.4 Plugin OEM Reports "java.lang.NullPointerException at java.lang.String.compareTo" Followed by OutOfMemoryError (Doc ID 2019692.1)

Last updated on NOVEMBER 12, 2016

Applies to:

Enterprise Manager for Big Data Appliance - Version 12.1.0.4.0 and later
Linux x86-64

Symptoms

On BDA V4.1/OL6 with the 12.1.0.4.0 plugin OEM reports:

java.lang.NullPointerException at java.lang.String.compareTo(String.java:1167)
followed by
java.lang.OutOfMemoryError: Java heap space

For example:

2015-05-19 14:15:36,330 [550076:GC.Executor.97221
  (oracle_hadoop_nodemgr:NM-bda-04_bdaclust:nm_container_exec_metrics)
  (oracle_hadoop_nodemgr:NM_bda-04_bdaclust:nm_container_exec_metrics:nm_container_exec_metrics)]
  ERROR - oracle_hadoop_nodemgr:NM_bda-04_bdaclust:nm_container_exec_metrics:nm_container_exec_metrics
java.lang.NullPointerException at java.lang.String.compareTo(String.java:1167)
at oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.ProcessMultipleResultSetForTimestamp(ExecuteTask.java:4650)
at oracle.sysman.gcagent.target.interaction.execution.ExecuteTask.ProcessMultipleResultSet(ExecuteTask.java:4584)
...
2014-11-10 10:42:21,307 [728873:GC.Executor.203539 (host:bda-04.example.com:PagingActivityLinux)
  (host:bda-04.example.com:PagingActivityLinux:PagingActivity)]
  ERROR - host:bda-04.example.com:PagingActivityLinux:PagingActivity
java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
at java.nio.ByteBuffer.allocate(ByteBuffer.java:312)
...


Otherwise the agent looks healthy, the status is good, and the agent is uploading.  The listplugins command shows  the BDA plugin is deployed and the listtargets command shows the BDA targets, indicating they have been discovered.


The following commands were run to verify general monitoring agent health:

emctl status agent
emctl listplugins agent
emctl config agent listtargets
emctl getmetric agent DN_bda-04_bda,oracle_hadoop_datanode,Response
emctl getmetric agent NM_bda_bda,oracle_hadoop_nodemgr,Response



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms