Article Number
000001542
Applies To
RSA Product Set: NetWitness Suite
RSA Product/Service Type: NetWitness UI Server
RSA Version/Condition: 10.6.x.x versions
Platform: CentOS
Issue
- Not able to run Warehouse reports on the master-node hosting the "virtual-ip/VIP".
- Getting below errors:
2016-09-28 13:16:20,285 ERROR ql.Driver (SessionState.java:printError(419)) - FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
2016-09-28 13:16:20,342 WARN thrift.ThriftCLIService (ThriftCLIService.java:ExecuteStatement(213)) - Error fetching results:
org.apache.hive.service.cli.HiveSQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
Cause
Low Java heap memory size.
Resolution
On the "Warehouse Master-node", perform the below:
- cd /etc/gphd/hive/conf
- cp hive-env.sh.template hive-env.sh
- vi hive-env.sh
- Do the changes by changing the heap size
- Cross check "ps ax | grep <pid>"
- Look for last "-Xmx" parameter value in command line, for example "java -Xmx128m -Xmx256m -Xmx64m" is equivalent to "-Xmx64m" only last entry matters.
- Change the size to "-Xmx2048m"
- Restart Hive Server using the command:
service hive-server2 restart