Welcome!

Hi, everyone, and welcome to The Hadoop Doctor blog. The idea of this blog is to offer troubleshooting steps, share knowledge and eventually...

Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

9/30/2017

Cloudera Technical Service Bulletin 2017-242 (TSB): CDH Services crash with Java Virtual Machine error after application of Linux Security Kernel Patch for CVE-2017-1000364

CDH Services crash with Java Virtual Machine error after application of Linux Security Kernel Patch for CVE-2017-1000364

Cloudera has received a number of customer cases where CDH services using the JSVC set of libraries crash with a Java Virtual Machine error in CDH clusters after applying a recent Kernel Security Patch. The list below contains the announcements about the patch for a number of distributions.
We have been able to reproduce Cloudera services not starting after the application of the original patch.

Products affected: Impala, HDFS DataNodes, HDFS NFS Gateway

Releases affected: Any CDH release that runs on RHEL, CentOS, Oracle Linux, SUSE Linux and Ubuntu where this Security Kernel Patch is applied.

Users affected: All Impala & HDFS users

Severity (Low/Medium/High): High

Impact:

After applying the patch the service's daemon crashes with an error similar to the following:

----
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGBUS (0x7) at pc=0x00007fe91ef6cebc, pid=30321, tid=0x00007fe930c67700
> #
> ----

Immediate action required:

Apply a kernel update containing the fix for your Operating System.

If you are unable to apply a kernel update, the Java thread stack size may be set for the affected service(s). The Java Configuration Options will need to include the following value: "-Xss1280k". For roles that do not have a parameter for Java Configuration Options in Cloudera Manager, the value will need to be set in the Environment Advanced Configuration Snippet (Safety Valve).

Example for adding the value in the Java Configuration Options:
  1. In Cloudera Manager, Navigate to Impala > Configuration > Category (Advanced)
  2. Type “Java Configuration Options” in the configuration search box and locate the required field
  3. Add “-Xss1280k” to the field
  4. Save Changes and restart the affected roles
Example for adding the value in the Advanced Configuration Snippet (Safety Valve):
  1. In Cloudera Manager, Navigate to Impala > Configuration > Category (Advanced)
  2. Type “Advanced Configuration Snippet” in the configuration search box and locate the required field
  3. Add “JAVA_TOOL_OPTIONS=-Xss1280k” to the field.
  4. Save Changes and restart the affected roles
The parameters to change for all affected services are shown in the table below.

ServiceParameter
 HDFS DataNodes Java Configuration Options for DataNode
 HDFS NFS Gateway Java Configuration Options for NFS Gateway
 Impala Impala Service Environment Advanced Configuration Snippet (Safety Valve)
 Impala Java Configuration Options for Catalog Server
 Impala Impala Daemon Environment Advanced Configuration Snippet






All rights belong to: Cloudera, Inc. 395 Page Mill Rd, 3rd Floor · Palo Alto, CA 94306 USA