Problem Note 58625: Error and warning messages are generated when you use the METALIB procedure to register or update metadata for a Hadoop table
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:
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
SAS System | Base SAS | z/OS | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
z/OS 64-bit | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft® Windows® for x64 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise x64 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8 Pro x64 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro x64 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows 10 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2008 R2 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2008 for x64 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Datacenter | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Std | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Std | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Windows 7 Enterprise x64 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Windows 7 Professional x64 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
64-bit Enabled AIX | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
64-bit Enabled Solaris | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
HP-UX IPF | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Linux for x64 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.4 TS1M4 |
Solaris for x64 | 9.4 | 9.4_M4 | 9.4 TS1M0 | 9.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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2016-07-21 14:56:20 |
Date Created: | 2016-07-18 11:00:40 |