SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 62094: SAS® Event Stream Processing Studio does not save projects to persistent storage

DetailsHotfixAboutRate It

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:

  1. Review the SAS Event Stream Processing Studio logs in the  /opt/sas/viya/config/var/log/espvm/default directory.  
  2. 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
  3. 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:

  1. 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.  
  2. Edit or create the /opt/sas/viya/config/etc/sysconfig/espvm.conf file. 
  3. Add the following line to export the ESP_STUDIO_DB environment variable:
       export ESP_STUDIO_DB=/opt/sas/viya/config/data/espvm/studio
  4. 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.
  5. 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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Event Stream Processing EngineLinux for x645.15.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.