Architecting, installing and maintaining your SAS environment

need help with hadoop configuration

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

need help with hadoop configuration

cfg.xml is (code follows)

<configuration>
 <property>
 <name>fs.default.name</name>
 <value>hdfs://servername.demo.sas.com:8020</value>
 </property>
 <property>
 <name>mapred.job.tracker</name>
 <value>servername.demo.sas.com:8021</value>
 </property></configuration>

(end code)

 

when i run (code follows)

proc hadoop options = cfg authdomain = "HADOOP" verbose;

hdfs copyfromlocal = "/user/macros/test.dat"

out="/user/macros/test1.dat" overwrite;

run;

(code ends)

 

I get the following error:

ERROR: Specified AuthenticationDomain not found in foundation repository.

 

does that means hadoop is not installed correctly ? do i need sas/access hadoop to run it correctly ?

 


Accepted Solutions
Solution
‎04-28-2017 11:28 AM
New Contributor
Posts: 3

Re: need help with hadoop configuration

Have you created a Authdomain named HADOOP in SMC which contains the user id and password. If not, then either create the authdomain in SMC or pass the userid and password through username= and password= in proc hadoop.

The error means that in your metadata foundation repository, authdomain HADOOP is not present. It has nothing to do with wrong installation of hadoop.

Yes, SAS Access to Hadoop is required to execute Proc Hadoop but seeing your log, I feel that you have that installed and configured.

View solution in original post


All Replies
Solution
‎04-28-2017 11:28 AM
New Contributor
Posts: 3

Re: need help with hadoop configuration

Have you created a Authdomain named HADOOP in SMC which contains the user id and password. If not, then either create the authdomain in SMC or pass the userid and password through username= and password= in proc hadoop.

The error means that in your metadata foundation repository, authdomain HADOOP is not present. It has nothing to do with wrong installation of hadoop.

Yes, SAS Access to Hadoop is required to execute Proc Hadoop but seeing your log, I feel that you have that installed and configured.

New Contributor
Posts: 2

Re: need help with hadoop configuration

Thank you
☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 230 views
  • 0 likes
  • 2 in conversation