BookmarkSubscribeRSS Feed
vivshri
Calcite | Level 5

Hi,

I am trying to connect SAS 9.3 over Windows 2008 64 Bit to Hadoop 2.4.0 Apache distribution. I can run the following command successfully


proc hadoop username='hadoop' password='mypassword' verbose;

   hdfs mkdir='/tmp/d';

run;


But when I try to use libname, I get the following error.


  proc sql;

   connect to hadoop (user="myuser" pw=XXXXXXX server=hxpduped);

ERROR: The HADOOP engine cannot be found.

ERROR: A Connection to the hadoop DBMS is not currently supported, or is not installed at your

       site.

  libname hdp hadoop BL_PORT=9001 server="xx.xx.xx.xx" port=10000 subprotocol=hive2

  ! schema=default

   user=hadoop password=XXXXXXXX verbose;

ERROR: The HADOOP engine cannot be found.

ERROR: Error in the LIBNAME statement.

Is something missing in the jar files? I have setup SAS_HADOOP_JAR_PATH and SAS_HADOOP_CONFIG.

1 REPLY 1
Kurt_Bremser
Super User

From what I can see in the SAS online documentation, proc hadoop is part of Base SAS, while libname hadoop requires the SAS/ACCESS to Hadoop module. I suspect you don't have the latter licensed/installed.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 2636 views
  • 0 likes
  • 2 in conversation