SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 70917: SAS® Model Studio on SAS® Viya® 3.5 increases the string length configuration to support the importing and exporting of larger projects

DetailsHotfixAboutRate It

For SAS® Visual Forecasting and SAS® Visual Data Machine Mining projects, you can import or export projects via the SAS Serialized Transfer command line interface. However, there is currently a string value limit of 20MB. To import and export projects via this command line interface, you need to change the code to remove the Jackson object mapper maxStringLength setting.

If you try to import a SAS Model Studio project from one environment to another, the import fails abruptly. When this issue occurs, the /opt/sas/viya/config/var/log/analytics-services2/default log contains an error similar to the following:

ERROR 2904518 --- [6-auto-2-exec-4:analyticsGateway] com.sas.commons.rest.ExceptionLog        : PL19517(cb3ffce4-8cbc-4054-9fca-a568e5b944d7) com.sas.commons.rest.exceptions.http.ServerErrorException: null
ERROR 2904518 --- [6-auto-2-exec-4:analyticsGateway] com.sas.commons.rest.ExceptionLog        : PL19517(cb3ffce4-8cbc-4054-9fca-a568e5b944d7)   caused by: com.fasterxml.jackson.databind.JsonMappingException: String length (5046272) exceeds the maximum length (5000000) (through reference chain: com.sas.analytics.gateway.transfer.GatewayTransferContent["providerContent"])
ERROR 2904518 --- [6-auto-2-exec-4:analyticsGateway] com.sas.commons.rest.ExceptionLog        : PL19517(cb3ffce4-8cbc-4054-9fca-a568e5b944d7)   caused by: com.fasterxml.jackson.core.exc.StreamConstraintsException: String length (5046272) exceeds the maximum length (5000000)

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Visual Data Mining and Machine LearningLinux for x648.5
* 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.