Problem Note 58055: Errors might occur when you update the Hadoop server, view the SAS® Visual Analytics report, or load or unload tables on SAS® LASR™ Analytic Server
When you use the Hadoop server in SAS® Visual Analytics with Distributed SAS® LASR™ system, you might see some errors when you update the Hadoop server or view the SAS Visual Analytics report, or load or unload tables on SAS LASR Analytic Server.
The error messages that you see in SAS Visual Analytics might look like this:
ERROR: The datanode xxxxxx could not write a file block to HDFS. This might be due to filling up the partition where HDFS resides.
ERROR: Communication failure between LASR Analytic Server and client application.
ERROR: An I/O error has occurred on file xxxx.xxxx.DATA.
The error in the Hadoop namenode log file might look like this:
FATAL org.apache.hadoop.hdfs.server.namenode.NameNode: Exception in namenode join
java.lang.OutOfMemoryError: Java heap space
The root cause of the problem is that the Java Heap size is too low on Hadoop. The default value for JAVA_HEAP_MAX is 1024M. SAS recommends raising the size to 4096M.
Workaround
- Modify the script file hadoop-config.sh under /hadoop-2.4.0/bin/hdfs.
- Find the if command = namenode and same for secondary name node in this script and change the current value to Xmx4096m for JAVA_HEAP_MAX.
Here is an example:
if [ "$COMMAND" = "namenode" ] ; then
.....
JAVA_HEAP_MAX=-Xmx4096m
HADOOP_OPTS="$HADOOP_OPTS $HADOOP_NAMENODE_OPTS"
.........
elif [ "$COMMAND" = "secondarynamenode" ] ; then
...
JAVA_HEAP_MAX=-Xmx4096m
...
- Stop and restart Hadoop (at least just the name node) with the stop-dfs.sh and start-dfs.sh script in order to pick up the new settings.
Operating System and Release Information
| SAS System | SAS Visual Analytics | Linux for x64 | 7.3 | | 9.4 TS1M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2016-05-13 16:29:34 |
| Date Created: | 2016-04-15 17:22:54 |