BookmarkSubscribeRSS Feed
yadiacho1
Fluorite | Level 6

Hi,

 

I have BIG DATA and BIG Problem connecting it to SAS.

 

I was setting up ODBC driver Hortonwork ODBC and successfully connected

 

I got error Look like this :

 

 

libname hadeh PCFILES CONNECT_STRING="
Driver=Hortonworks Hive ODBC Driver;Host=prodxxxxxxxxxxx;
Port=10000;HiveServerType=2;AuthMech=1;ThriftTransport=SASL;
Schema=bm_bda_dana_pst;KrbRealm=SUPPxxxxxx;
KrbHostFQDN=prodxxxxxxxx;
KrbServiceName=hive" ;

ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver Manager] Data source
name not found and no default driver specified
ERROR: Error in the LIBNAME statement.

 

Where is my fault, is there something i missed ???need help and advice

2 REPLIES 2
SASKiwi
PROC Star

If you are trying to create an ODBC connection from SAS to Hortonworks then the engine to use is ODBC, not PCFILES. PCFILES is a special engine for connecting to Microsoft products like Excel and Access. 

Anand_V
Ammonite | Level 13

Hi @yadiacho1 ,

You will have to use ODBC engine instead of PCFiles. If your site has SAS/Access to ODBC licensed and installed, you can find the libname reference for ODBC here

 

There are other considerations to be taken care if you are connecting to kerberized hadoop. This Paper provides with detailed information on that.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 549 views
  • 0 likes
  • 3 in conversation