BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ajain59
Calcite | Level 5

Hi,

I have configured SAS Hadoop Env. by using the following steps:

1) using SAS9.4 in local laptop (without SAS/Access to Hadoop)

2) Install and run CDH 5.8 VM using VM player

 

Manuall set up SAS Hadoop Env.

3) Modified host file to point to CDH 5.8 quickstart.cloudera by adding IP address and hostname

4) Define SAS_HADOOP_RESTFUL=1   

5) Define the SAS_HADOOP_CONFIG_PATH to point to following files:

     core-site.xml,hdfs-site.xml,map-reduce.xml and yarn-site.xml

 

%put %sysget(SAS_HADOOP_JAR_PATH);

%put %sysget(SAS_HADOOP_CONFIG_PATH);

%put %sysget(SAS_HADOOP_RESTFUL);

/* write a file to HDFS directory */

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

hdfs mkdir='/user/cloudera/newdirectory3';

run;

The above steps works fine without defining the SAS_HADOOP_JAR_PATH and .

 

However, If I define SAS_HADOOP_RESTFUL=0, and

set SAS_HADOOP_CONFIG_PATH to point config files

set SAS_HADOOP_JAR_PATH to point JARS 

 

I am getting the following error related to dataflux studio, even though I donot have SAS Dataflux installed on my laptop.

 

 

 

saserror.png  

 

 

1 ACCEPTED SOLUTION
5 REPLIES 5
JBailey
Barite | Level 11

Hi @ajain59

 

There is likely a problem with the JAR files. I suggest running the hadooptracer.py tool to pull the JAR and XML files from the cluster.

ajain59
Calcite | Level 5

Where can i find this tool  and how to use it?

 

 

 

ajain59
Calcite | Level 5

I got the link here for python script

https://support.sas.com/resources/thirdpartysupport/v94/hadoop/hadoop-configuration-guide-base-acces...

 

and I am now going to use it to extract all jar files and config files

Thanks for your help. I will share if it resolves the issue.

 

Thanks,

Ashish

ajain59
Calcite | Level 5

Thanks for help....now I am able to copy the correct jars and config files. it is working.. hip Hip ..Hurray...

 

 

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 5 replies
  • 1719 views
  • 2 likes
  • 2 in conversation