Problem Note 66601: You see the error message "Unable to parse contents of transfer descriptor stream" after you attempt to import tables into SAS® Viya® from SAS®9
When you use SAS® Environment Manager to import tables from Oracle, DB2, or SAS® LASR™ libraries into SAS Viya from SAS 9, the import action may fail with the following error message:
Unable to parse contents of transfer descriptor stream
This error can be caused by a version mismatch between a component of the import9 and transfer services.
To check these versions, run the following commands and confirm that the transfer-representations versions match between the import9-service and transfer-service jars.
Linux (requires an unzip command)
- As the SAS user, navigate to /opt/sas/viya/home/libexec.
- Run this command:
for package in $(ls | egrep '(import9|transfer)'); do unzip -l $package | grep transfer-representations; done
- The output will list the versions for each file:
BOOT-INF/lib/transfer-representations-3.3.3.jar
BOOT-INF/lib/transfer-representations-3.3.3.jar
Windows
- In PowerShell, navigate to C:\Program Files\SAS\Viya\libexec.
- Run these commands:
[Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem')
foreach($sourceFile in (Get-ChildItem -filter '*.jar' | Where-Object { $_.Name -match '^import9.*|^transfer.*' })){[IO.Compression.ZipFile]::OpenRead($sourceFile.FullName).Entries.FullName | %{ "$sourcefile`:$_" } | findstr "transfer-representations" }
- The output will list the versions for each file:
import9-service-1.0.33.jar:BOOT-INF/lib/transfer-representations-4.0.5.jar
transfer-service-2.27.1.jar:BOOT-INF/lib/transfer-representations-4.1.7.jar
If the versions do not match, SAS Viya must be updated.
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
SAS System | SAS Environment Manager (on Viya) | Linux for x64 | 3.5 | 3.5 | Viya | Viya |
Microsoft® Windows® for x64 | 3.5 | 3.5 | Viya | Viya |
*
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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2020-12-23 12:50:25 |
Date Created: | 2020-09-04 10:49:02 |