Problem Note 63343: Running the %indhd_run_model macro with a SAS® Model Manager model fails with "Job ... has failed ... program contains compilation error ..." errors
When you run the SAS® macro %indhd_run_model and use a model that was published by SAS Model Manager, the macro might fail. The corresponding SAS log might contain an error line like the following:
ERROR: Job job_1531238725045_1256 has failed. Please, see job log for details. Job tracking URL : http(s)://host:port/proxy/application_1531238725045_1256/
The corresponding Hadoop log contains error lines like the following:
The DS2 program contains compilation error. ( see attachment 40)
at com.sas.hadoop.ep.TaskRunner.run(TaskRunner.java:153)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:459)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1917)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
Caused by: java.lang.RuntimeException: java.io.IOException: Failed to prepare DS2 program. Possible causes:
The input metadata does not match what DS2 expects.
The input metadata file format is wrong.
The problem occurs when the following two conditions are met:
- A model's input-variable name has more than 30 characters.
- The SAS option VALIDVARNAME=ANY is used when you publish a SAS Model Manager project to Hadoop.
To work around the issue, do not use the SAS option VALIDVARNAME=ANY.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Model Manager | Microsoft® Windows® for x64 | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows 8 Enterprise x64 | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows 8 Pro x64 | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise 32-bit | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Enterprise x64 | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro 32-bit | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows 8.1 Pro x64 | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows 10 | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows Server 2008 R2 | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Datacenter | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Datacenter | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Std | 12.3 | | 9.4 TS1M0 | |
Microsoft Windows Server 2012 Std | 12.3 | | 9.4 TS1M0 | |
Windows 7 Enterprise x64 | 12.3 | | 9.4 TS1M0 | |
Windows 7 Professional x64 | 12.3 | | 9.4 TS1M0 | |
64-bit Enabled AIX | 12.3 | | 9.4 TS1M0 | |
64-bit Enabled Solaris | 12.3 | | 9.4 TS1M0 | |
HP-UX IPF | 12.3 | | 9.4 TS1M0 | |
Linux for x64 | 12.3 | | 9.4 TS1M0 | |
Solaris for x64 | 12.3 | | 9.4 TS1M0 | |
*
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: | 2019-02-28 13:40:55 |
Date Created: | 2018-12-07 09:44:47 |