Member since
04-27-2018
3
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2229 | 10-06-2019 12:10 AM |
10-06-2019
12:10 AM
no need to reinstall, few places you need to make the change to: 1. change the host file or dns, then access CM through hostname instead of IP address File: /etc/hosts 2. make sure the DB hostname is correct if your repo is on the same server: file: /etc/cloudera-scm-server/db.properties 3. change agent configuration to make sure it using hostname or new IP address /etc/cloudera-scm-agent/config.ini restart CM and CM agent.
... View more
06-27-2018
10:11 PM
I encountered similar problem with EL7 and python requests=2.6.0, fixed as below: [root@XXXX ~]# yum remove python-requests-2.6.0-1.el7_1.noarch
Loaded plugins: langpacks, product-id, search-disabled-repos
Repository HDP-UTILS-1.1.0.21 is listed more than once in the configuration
Resolving Dependencies
Installed size: 774 k
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : insights-client-3.0.3-9.el7_5.noarch 1/2
warning: /etc/insights-client/insights-client.conf saved as /etc/insights-client/insights-client.conf.rpmsave
Erasing : python-requests-2.6.0-1.el7_1.noarch 2/2
Verifying : python-requests-2.6.0-1.el7_1.noarch 1/2
Verifying : insights-client-3.0.3-9.el7_5.noarch 2/2
Removed:
python-requests.noarch 0:2.6.0-1.el7_1
Dependency Removed:
insights-client.noarch 0:3.0.3-9.el7_5
Complete!
[root@XXXX ~]# pip install requests
Collecting requests
Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (91kB)
100% |████████████████████████████████| 92kB 5.2MB/s
Requirement already satisfied: idna<2.8,>=2.5 in /usr/lib/python2.7/site-packages (from requests) (2.6)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/site-packages (from requests) (3.0.4)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in /usr/lib/python2.7/site-packages (from requests) (1.22)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python2.7/site-packages (from requests) (2018.4.16)
Installing collected packages: requests
Successfully installed requests-2.19.1
... View more