Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

CDH5 uses installation error party solution

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about the solution to the error side of CDH5 installation, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

Question 1:

Execute this script error "your distribution is not supported" when installing CDH5.5.0 using cloudera-manager-installer.bin

As shown in the figure:

But my system confirms that it is the centos6.5 version, why not support it? Later, Baidu found that CM5.5 will verify the system version during installation, which is based on the description information of the / etc/redhat-release file, while the relese information of my system has been artificially modified, so it will not be verified. Here's the problem.

1.1 using parcels package installation, such errors may also occur, as shown in the figure:

1.2 if you install cm using parcels, you can see in the installation record above that you also need to read the description information from the release file. This step is not approved.

The solution to the errors in the above two installation methods: just change the relese description file to the default CentOS release 6.5 (Final).

Command: vi / etc/redhat-release, change the value to CentOS release 6.5 (Final), reinstall, verify!

Question 2:

Prompt useradd: cannot open / etc/passwd when creating a user for cm, which is caused by a special permission problem with the linux system.

Sudo useradd-system-home=/opt/cm-5.5.0/run/cloudera-scm-server-no-create-home-shell=/bin/false-comment "Cloudera SCM User" >

Useradd: cannot open / etc/passwd

Solution:

Http://blog.chinaunix.net/uid-683300-id-24922.html

Just let go of these four special permissions.

Command: chattr-I / etc/passwd etc/shadow / etc/group / etc/gshadow

After reading the above, do you have any further understanding of CDH5's use of the installation error party solution? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report