Under the following conditions, you must make changes in the LASRMonitor configuration in order to support the Explore HDFS tab in SAS Visual Analytics Administrator:
The Explore HDFS tab is deployed only in the following SAS Visual Analytics environments:
The LASRMonitor process has always required passwordless Secure Shell (SSH) capabilities for the user that is running the process in order to connect to the High-Performance Analytics Environment (TKGrid). These capabilities are also required to invoke other processes that return information for resource and memory monitors that are displayed in SAS Visual Analytics Administrator. The significant change is that SSH is now also used to connect to Hadoop when you use the HDFS browser.
The LASRMonitor component is deployed on the SAS Visual Analytics compute tier. Here are the instructions to make the required changes.
Cloudera Example:
In Cloudera environments, add the following property:
Hortonworks Example:
In Hortonworks environments, add the following property:
Note: The path might vary in your Hadoop cluster. Ensure that the path contains bin/hadoop. The slash (/) at the end of the path is required.
Here are some additional properties that might be useful in certain scenarios:
Property Name | Default value | Description |
hadoop.plugins.use.ssh | true | If set to false, com.sas.cas.hadoop.service.restrict=false is required in the hdfs-site.xml file and you must restart HDFS. This changes the behavior to use the older functionality where SSH is not used by the Explore HDFS tab. |
hadoop.plugins.ssh.command | /usr/bin/ssh | Path to the SSH executable. The default is valid in most scenarios. Note: Under Windows, the SAS TKSSH module is used by default. |
hadoop.plugins.ssh.options | -o StrictHostKeyChecking=no -o PasswordAuthentication=no | Additional SSH options, separated by spaces exactly as entered on the command line. Quotation marks are not needed around this string. For example, to specify a login and SSH key that differs from the user running the LASRMonitor process, you could specify hadoop.plugins.ssh.options=-o StrictHostKeyChecking=no -l testuser -i /path/to/id_rsa. Note: Under Windows, additional options are not supported. |
sas.grid.broker.hadoop.host | <none> | Required. The Hadoop NameNode host name. Usually this is already included in the service.properties based on input during SAS Visual Analytics deployment. |
hadoop.plugins.hadoop.home | <none> | Required if hadoop.plugins.use.ssh=true. Path to the Hadoop directory that contains bin/hadoop. A forward slash (/) at the end of the path is required. |
hadoop.plugins.ssh.stderr.redirection | 2>/dev/null | Useful for diagnostic information. The default sends stderr to /dev/null. To capture the output, redirect to a file. Example: 2>/tmp/vaa-plugins-stderr.log. |
This section describes how to test your properties.
Here is an example.
The example service.properties contains the following:
Here is the example command using the specified values and the default values for those that are not specified:
In order for SSH sessions initiated by LASRMonitor to have valid, unexpired Kerberos credentials anytime that the HDFS Browser is used, a keytab is required for either of the following user scenarios:
Add a kinit command in the user's ~/.ssh/rc file on the Hadoop NameNode so that the keytab is used to obtain a Kerberos TGT whenever SSH is invoked.
Here is an example:
If you have not applied SAS Visual Analytics container Hot Fix B2B010, but you have updated the SAS Plug-ins for Hadoop, the Explore HDFS tab might display no content and no error.
Under any of the following conditions, clicking the Explore HDFS tab returns "An error occurred when the Hadoop content explorer tried to contact the SAS LASR Analytic Server Monitor. Please contact your system administrator."
Here is a screen shot of the error that you see:
Here are some troubleshooting steps that you can take when you see errors:
Here is an example:
From the Hadoop NameNode:
From the SAS Visual Analytics compute tier:
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Visual Analytics | Microsoft® Windows® for x64 | 7.4 | 9.4 TS1M4 | ||
Linux for x64 | 7.4 | 9.4 TS1M4 |
A fix for this issue for SAS Visual Analytics 7.4 is available at:
https://tshf.sas.com/techsup/download/hotfix/HF2/B2B.html#63570Type: | Problem Note |
Priority: | high |
Date Modified: | 2019-02-07 13:42:27 |
Date Created: | 2019-01-29 17:30:53 |