Problem Note 61659: Code execution fails with "ERROR: The HADOOP table...already exists, or there is a name conflict with an existing object..."
SAS® Data Integration Studio jobs that contain a Hive transformation fail when you execute them if the following conditions are true:
- A target table being referenced on the HiveQL tab under properties for the Hive transformation physically exists in the Hive library.
- The Delete target table option for this target table is set to No.
The failure occurs because SAS Data Integration Studio generates a CREATE TABLE statement for this target table even though the table already exists. This results in the following error because you cannot create a table that already exists:
ERROR: The HADOOP table <TableName> has been opened for OUTPUT. This table already exists, or there is a name conflict with an existing object. This table will not be replaced. This engine does not support the REPLACE option.
The workaround for this issue is to override automatic code generation for the Hive transformation. Then, edit the code to remove the unwanted CREATE TABLE statement.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Data Integration Studio | Microsoft® Windows® for x64 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise 32-bit | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise x64 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8 Pro 32-bit | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8 Pro x64 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise 32-bit | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise x64 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro 32-bit | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro x64 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2003 Datacenter Edition | 4.6 | | 9.3 TS1M2 | |
Microsoft Windows Server 2003 Enterprise Edition | 4.6 | | 9.3 TS1M2 | |
Microsoft Windows Server 2003 Standard Edition | 4.6 | | 9.3 TS1M2 | |
Microsoft Windows Server 2003 for x64 | 4.6 | | 9.3 TS1M2 | |
Microsoft Windows Server 2008 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2008 R2 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2008 for x64 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Datacenter | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Datacenter | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Std | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows Server 2012 Std | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Microsoft Windows XP Professional | 4.6 | | 9.3 TS1M2 | |
Windows 7 Enterprise 32 bit | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Windows 7 Enterprise x64 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Windows 7 Home Premium 32 bit | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Windows 7 Home Premium x64 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Windows 7 Professional 32 bit | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Windows 7 Professional x64 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Windows 7 Ultimate 32 bit | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Windows 7 Ultimate x64 | 4.6 | 4.903 | 9.3 TS1M2 | 9.4 TS1M5 |
Windows Vista | 4.6 | | 9.3 TS1M2 | |
Windows Vista for x64 | 4.6 | | 9.3 TS1M2 | |
*
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.
Code execution fails because the Hive transformation attempts to create a table that already exists. The Hive transformation should include only Create Table logic for tables that have "Delete target table" selected.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2018-01-11 16:15:50 |
Date Created: | 2018-01-05 08:14:12 |