在hortonworks HDP docker镜像上安装Rstudio

时间:2017-09-18 14:49:07

标签: hadoop apache-spark rstudio sparkr

我正在尝试在Hortonworks HDP 2.6 docker镜像上安装RStudio。我按照这里提到的步骤。 https://community.hortonworks.com/articles/25558/running-sparkr-in-rstudio-using-hdp-24.html

问题出在以下步骤之后。

sudo yum install --nogpgcheck rstudio-server-rhel-0.99.893-x86_64.rpm

我收到以下错误

Marking rstudio-server-rhel-0.99.893-x86_64.rpm to be installed
Loading mirror speeds from cached hostfile

  * base: centos2.hti.pl  * epel: mirror.nsc.liu.se  * extras:
 centos2.hti.pl  * updates: ftp.vectranet.pl
 http://dev2.hortonworks.com.s3.amazonaws.com/repo/dev/master/utils/repodata/repomd.xml:
 [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403
 Forbidden" Trying other mirror. To address this issue please refer to
 the below knowledge base article

 https://access.redhat.com/solutions/69319

 If above article doesn't help to resolve this issue please open a
 ticket with Red Hat Support.

 Error: Cannot retrieve repository metadata (repomd.xml) for
 repository: sandbox. Please verify its path and try again

错误没有帮助的链接。有人可以让我知道发生了什么。

1 个答案:

答案 0 :(得分:1)

cd /etc/yum.repos.d

 mv sandbox.repo /tmp

然后是yum install --nogpgcheck rstudio-server-rhel-0.99.893-x86_64.rpm。 它的工作,现在将sandbox.repo从/ tmp移到原来的宫殿。