I am not sure about where I can write this question but I need try all paths. I have a development cluster of Cloudera with:
I am working in a Data Science group and they need a RStudio Server for working, additionally this RStudio-server should be able to connect with kerberos to my cloudera cluster.
My planning for resolve it is to install the RStudio-server in the gateway node, I don't know if this point can be my mistake but I put here ever steps I do in this node:
sudo service cloudera-scm-agent stop
Update OS :
sudo yum install epel-release;
sudo yum update;
sudo shutdown -r now;
install R from yum : sudo yum install R
get Rstudio server:
wget https://download2.rstudio.org/rstudio-server-rhel-1.1.463-x86_64.rpm
sudo yum install rstudio-server-rhel-1.1.463-x86_64.rpm
And from here all my problems:
Solution: I copy the content of /etc/pam.d/login in /etc/pam.d/rstudio
After before step I got he login but he RStudio-server tell all time the server can not connect with the service, I don't understand the description but I watch the logs and I see things like it:
ERROR system error 1 (Operation not permitted) [path=/tmp/rstudio-rsession/user-d]; OCCURRED AT: rstudio::core::Error rstudio::core::FilePath::remove() const /root/rstudio/src/cpp/core/FilePath.cpp:692; LOGGED FROM: int main(int, char* const*) /root/rstudio/src/cpp/session/SessionMain.cpp:1743
I suppose it could be some problems with permissions but If I change permission suddenly I can not access to my node, because the permission in the home/user about files like .ssh o .bashrc or bash_profile have changed.
I don't know what Can I do? It can not be so much difficult, any help will be fine for me.
Thanks in advance.
RESOLVED - I did everything again, and the main problem was that I was in an azure node with centos, and this command:
sudo yum install epel-release;
Gave me updates the next day to this problem. These were the steps for installing, from home of your machine:
$ sudo su
$ service cloudera-scm-agent stop
$ yum erase R*
$ yum install epel-release
$ yum update
$ reboot
$ sudo su
$ service cloudera-scm-agent stop
$ yum install R -y
$ wget https://download2.rstudio.org/rstudio-server-rhel-1.1.463-x86_64.rpm
$ yum install rstudio-server-rhel-1.1.463-x86_64.rpm
$ reboot machine
$ sudo su
$ yum groupinstall "Development Tools"
$ R
$ install.packages('txtplot')
$ yum install libxml2-devel
$ yum -y install libcurl libcurl-devel