- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
HOW TO REMOVE USERS while installing hadoop
- Labels:
-
Apache Ambari
-
Apache Hadoop
Created on ‎05-17-2016 11:10 AM - edited ‎08-18-2019 05:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to install hadoop on 2 node cluster found below error
Created ‎05-17-2016 11:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if I am not mistaken this is just a warning. You typically can install the cluster with already installed users from previous installs. In some cases this obviously can cause some issues, but in general it doesn't. Also if you do add and remove users frequently from multiple installs you are increasing the uid count of your system.
So it should be save to ignore the warning. You can read here about cleaning up nodes from previous installs:
http://henning.kropponline.de/2016/04/24/uninstalling-and-cleaning-a-hdp-node/
EDIT:
BTW to be safe restart of the ambari agent and simply re-running the checks should be enough. No restart of node or similar should be required.
Regards
Created ‎05-17-2016 11:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does that causing any issue while installing? I think those are just warnings.
Created ‎05-17-2016 11:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If cluster is not production and there is feasibility of cleaning up the cluster, then you can clean up the cluster and setup fresh one using Ambari. You can use the below script in the systems :
# python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py --help
This is an interactive script, and you can skip some things which you want to
Thanks !!
Created ‎05-17-2016 11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes i have done that need to restart the services or restart the machine or agent or server
Created ‎05-17-2016 12:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@sarfarazkhan pathan : Hi, how did you run that script and whether on all the nodes or only the specific nodes ?
If you have ran that script on all the nodes without any skips, you can start installing the cluster using Ambari from first step .. Thanks !
Created ‎05-17-2016 11:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like you are trying to install HDP on nodes where there is an already existing installation. What is the status of the nodes you are using?
If you can, it would be easier to start over the installation from clean/fresh nodes.
Created ‎05-17-2016 11:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if I am not mistaken this is just a warning. You typically can install the cluster with already installed users from previous installs. In some cases this obviously can cause some issues, but in general it doesn't. Also if you do add and remove users frequently from multiple installs you are increasing the uid count of your system.
So it should be save to ignore the warning. You can read here about cleaning up nodes from previous installs:
http://henning.kropponline.de/2016/04/24/uninstalling-and-cleaning-a-hdp-node/
EDIT:
BTW to be safe restart of the ambari agent and simply re-running the checks should be enough. No restart of node or similar should be required.
Regards
Created ‎05-17-2016 12:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As per the screenshot user will not cause any problem while installation.
Still if you wish to remove can you run the host cleanup script. The script is located on the top of the dailog box where you are able to see the user error as per screenshot you attached.
# python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py
Created ‎05-18-2016 08:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you can, it would be easier to start over the installation from clean/fresh nodes.
