SUPPORT / SAMPLES & SAS NOTES
 

Support

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

DetailsHotfixAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Model ManagerMicrosoft® Windows® for x6412.39.4 TS1M0
Microsoft Windows 8 Enterprise x6412.39.4 TS1M0
Microsoft Windows 8 Pro x6412.39.4 TS1M0
Microsoft Windows 8.1 Enterprise 32-bit12.39.4 TS1M0
Microsoft Windows 8.1 Enterprise x6412.39.4 TS1M0
Microsoft Windows 8.1 Pro 32-bit12.39.4 TS1M0
Microsoft Windows 8.1 Pro x6412.39.4 TS1M0
Microsoft Windows 1012.39.4 TS1M0
Microsoft Windows Server 2008 R212.39.4 TS1M0
Microsoft Windows Server 2008 for x6412.39.4 TS1M0
Microsoft Windows Server 2012 Datacenter12.39.4 TS1M0
Microsoft Windows Server 2012 R2 Datacenter12.39.4 TS1M0
Microsoft Windows Server 2012 R2 Std12.39.4 TS1M0
Microsoft Windows Server 2012 Std12.39.4 TS1M0
Windows 7 Enterprise x6412.39.4 TS1M0
Windows 7 Professional x6412.39.4 TS1M0
64-bit Enabled AIX12.39.4 TS1M0
64-bit Enabled Solaris12.39.4 TS1M0
HP-UX IPF12.39.4 TS1M0
Linux for x6412.39.4 TS1M0
Solaris for x6412.39.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.