Problem Note 62094: SAS® Event Stream Processing Studio does not save projects to persistent storage
SAS Event Stream Processing Studio can run either in an environment with SAS® Viya® services (Viya compatibility mode) or without any SAS Viya services (Viya compatibility mode disabled). If SAS Event Stream Processing Studio is running with Viya compatibility mode disabled, local persistent storage might not be created during initialization. In this scenario, if you stop or restart the sas-viya-espvm-default service, any saved information such as projects or servers is lost.
To determine whether local persistent storage is not created, complete these steps:
- Review the SAS Event Stream Processing Studio logs in the /opt/sas/viya/config/var/log/espvm/default directory.
- Find the last time the sas-viya-espvm-default service was started and look for a message similar to the following:
10:50:04.046 [main] DEBUG com.sas.esp.studio.EventStreamProcessingStudioViya - SAS Viya components have not been detected - Viya compatibility mode disabled
- If you find the "Viya compatibility mode disabled" message in the log, check the /opt/sas/viya/config/data/espvm directory for a studio.mv.db file. If this file does not exist, then local persistent storage was not created.
Workaround
If local persistent storage was not created, you must set the ESP_STUDIO_DB environment variable for the sas-viya-espvm-default service. To set this variable, complete the following steps:
- Download the affected projects from SAS Event Stream Processing Studio, as documented in the "Downloading Projects" section of the SAS Event Stream Processing 5.1 User's Guide.
- Edit or create the /opt/sas/viya/config/etc/sysconfig/espvm.conf file.
- Add the following line to export the ESP_STUDIO_DB environment variable:
export ESP_STUDIO_DB=/opt/sas/viya/config/data/espvm/studio
- Restart the sas-viya-espvm-default service. After the service restarts, the /opt/sas/viya/config/data/espvm directory should contain a studio.mv.db file.
- Upload the affected projects to SAS Event Stream Processing Studio, as documented in the "Uploading Projects" section of the SAS Event Stream Processing 5.1 User's Guide.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Event Stream Processing Engine | Linux for x64 | 5.1 | 5.1 | | |
*
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.
SAS® Event Stream Processing Studio does not save projects to persistent storage when running with Viya compatibility mode disabled.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2018-04-16 09:50:50 |
Date Created: | 2018-04-06 11:26:03 |