SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 58625: Error and warning messages are generated when you use the METALIB procedure to register or update metadata for a Hadoop table

DetailsHotfixAboutRate It

PROC METALIB might return the following error and warning messages when you attempt to register or update metadata for a Hadoop table:

ERROR: Unable to connect to the Hive server. WARNING: Connection to HiveServer2 failed. Attempting to connect using Hive1. Set SUBPROTOCOL=hive2 if you are running HiveServer2. Set SUBPROTOCOL=hive if you are running Hive1.

These messages occur when the connection to the Hive server depends on a URI option. The URI option is specified for the Hadoop Library using the Advanced Options dialog box in SAS® Management Console. From the library Properties window, you select Options ► Advanced Options to open the Advanced Options dialog box. The URI option is specified, as shown in the following display, in the Option(s) to be appended field on the Other Options tab:

Image of the URI option specified in SAS Management Console

In the process to query a table's keys and indexes, PROC METALIB creates a connection to the database similar to how an SQL CONNECT TO statement connects. The URI option is omitted from that connection. As a result, the connection to the database server fails.

The problem does not occur when you initially register the table using the Register Tables wizard in SAS Management Console or in SAS® Data Integration Studio.

The problem also does not occur when you access the table using a LIBNAME statement with the META engine. The problem does not occur in this scenario because accessing the table with the LIBNAME statement successfully includes the URI option in its assignment.

There is no circumvention for this problem.

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 SystemBase SASz/OS9.49.4_M49.4 TS1M09.4 TS1M4
z/OS 64-bit9.49.4_M49.4 TS1M09.4 TS1M4
Microsoft® Windows® for x649.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows 8 Enterprise x649.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows 8 Pro x649.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit9.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows 8.1 Enterprise x649.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows 8.1 Pro 32-bit9.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows 8.1 Pro x649.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows 109.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows Server 2008 R29.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows Server 2008 for x649.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows Server 2012 Datacenter9.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter9.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows Server 2012 R2 Std9.49.4_M49.4 TS1M09.4 TS1M4
Microsoft Windows Server 2012 Std9.49.4_M49.4 TS1M09.4 TS1M4
Windows 7 Enterprise x649.49.4_M49.4 TS1M09.4 TS1M4
Windows 7 Professional x649.49.4_M49.4 TS1M09.4 TS1M4
64-bit Enabled AIX9.49.4_M49.4 TS1M09.4 TS1M4
64-bit Enabled Solaris9.49.4_M49.4 TS1M09.4 TS1M4
HP-UX IPF9.49.4_M49.4 TS1M09.4 TS1M4
Linux for x649.49.4_M49.4 TS1M09.4 TS1M4
Solaris for x649.49.4_M49.4 TS1M09.4 TS1M4
* 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.