Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Installing & managing R via Ambari in a kerberized cluster?

Installing & managing R via Ambari in a kerberized cluster?

Expert Contributor

Can we Install and manage R in a kerberized cluster? Do R libraries support Kerberos?

Any documentation available?

2 REPLIES 2

Re: Installing & managing R via Ambari in a kerberized cluster?

@Manish Gupta

Yes, you can connect to kerberized cluster through R. Refer below HCC link:

https://community.hortonworks.com/articles/65725/using-rhive-with-kerberized-hadoop-cluster.html

Re: Installing & managing R via Ambari in a kerberized cluster?

Expert Contributor

Interesting! These steps are talking about:

  • Download R server
  • Use R to install Rserver
  • Download rhive library
  • Set the appropriate path for HIVE_HOME and HADOOP_HOME
  • Change directory to RHive
  • Use ant to build
  • Use R to build RHive, this will build a file within the same directory

Where are steps to configure R-server for Kerberos? Does it not need any kerberos related settings? No kinit etc..?

I noticed that the connect string has kerberos related variables though. Is it really good enough?

rhive.connect(host="node1.hortonworks.com:10000/default;principal=hive/node1.hortonworks.com@HDP.COM;AuthMech=1;KrbHostFQDN=service.hortonworks.com;KrbServiceName=hive;KrbRealm=HDP.COM", defaultFS="hdfs://node1.hortonworks.com/rhive", hiveServer2=TRUE,updateJar=FALSE))