在 CentOS 7 中安装 Cloudera 管理器时没有可用的软件包 oracle-j2sdk1.7
No package oracle-j2sdk1.7 available while installing Cloudera manager in CentOS 7
我正在运行 执行cloudera 安装命令
./cloudera-manager-installer.bin
接受 Oracle 许可证后,我收到以下错误
oracle-j2sdk1.7 installation failed.
See /var/log/cloudera-manager-installer/1.install-oracle-j2sdk1.7.log for details.
Click OK to revert this installation.
当我使用 cd /var/log/cloudera-manager-installer/
进入文件夹登录文件 1.install-oracle-j2sdk1.7.log
并使用 vi 1.install-oracle-j2sdk1.7.log
查看它时,我看到以下错误
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.cogentco.com
* extras: mirrors.advancedhosters.com
* updates: mirror.umd.edu
No package oracle-j2sdk1.7 available.
Error: Nothing to do
我尝试了提到的所有解决方案 here,当我重新安装它时,我仍然遇到同样的错误。当我尝试
yum clean all
find /var/cache/yum -type d | grep cloudera- | xargs rm -rf
我收到这条消息:
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/gen/primary.xml’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/gen/primary.xml.sqlite’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/packages’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/cachecookie’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/primary.xml.gz’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/gen/primary.xml’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/gen/primary.xml.sqlite’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/packages’: Permission denied
有人可以帮忙或提出任何建议吗?
为了解决删除时权限被拒绝的问题,您需要
find /var/cache/yum -type d | grep cloudera- |sudo xargs rm -rf
我正在运行 执行cloudera 安装命令
./cloudera-manager-installer.bin
接受 Oracle 许可证后,我收到以下错误
oracle-j2sdk1.7 installation failed. See /var/log/cloudera-manager-installer/1.install-oracle-j2sdk1.7.log for details. Click OK to revert this installation.
当我使用 cd /var/log/cloudera-manager-installer/
进入文件夹登录文件 1.install-oracle-j2sdk1.7.log
并使用 vi 1.install-oracle-j2sdk1.7.log
查看它时,我看到以下错误
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.cogentco.com
* extras: mirrors.advancedhosters.com
* updates: mirror.umd.edu
No package oracle-j2sdk1.7 available.
Error: Nothing to do
我尝试了提到的所有解决方案 here,当我重新安装它时,我仍然遇到同样的错误。当我尝试
yum clean all
find /var/cache/yum -type d | grep cloudera- | xargs rm -rf
我收到这条消息:
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/gen/primary.xml’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/gen/primary.xml.sqlite’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/packages’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/cachecookie’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/primary.xml.gz’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/gen/primary.xml’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/gen/primary.xml.sqlite’: Permission denied
rm: cannot remove ‘/var/cache/yum/x86_64/7/cloudera-cdh5/packages’: Permission denied
有人可以帮忙或提出任何建议吗?
为了解决删除时权限被拒绝的问题,您需要
find /var/cache/yum -type d | grep cloudera- |sudo xargs rm -rf