Created 10-11-2016 12:49 PM
File "/usr/bin/hdp-select", line 391, in <module> setPackages(pkgs, args[2], options.rpm_mode)
File "/usr/bin/hdp-select", line 290, in setPackages os.symlink(target + "/" + dir, linkname)
OSError: [Errno 17] File exists
I'm keeping getting this error for one node on the Ambari installation wizard. Other nodes are fine and free of this error.
This is the node where Ambari-Server also operates. Maybe shouldn't select a ambari-server node as client?
I have totally no clue what's wrong with my cluster design and any help is greatly appreaciated!
Created 10-11-2016 12:52 PM
Created 10-11-2016 01:05 PM
@Sagar Shimpi
No, I'm getting this during the HDP service installation via Ambari wizard.
This error happens at any to-be-installed service on a certain node.
Using public repo. on Ubuntu 14.04 - 64bit.
Keep getting this error.
Created 10-11-2016 02:54 PM
@Yu Song Is the host on which your are installing had /usr/hdp directory already present (before starting installation). What is the output of ls -l /usr/hdp/current
Created 10-11-2016 03:58 PM
Can you list down the content of the /usr/hdp directory. If you find any other folder other than current and hdp version (like 2.2.9.xxxx) then remove or move that to /tmp and proceed with installation.
Created 03-09-2017 05:23 PM
@Yu Song: you can check which service is giving this error.
after that you need to remove the sym link of that service from /usr/hdp/current/ directory and restart the installation of that service.
Created 03-10-2017 07:33 AM
If it is a fresh installation, remove the /usr/hdp folder for the node and then trigger the installation.
But better is run the clean up script and trigger the installation.
Created 03-10-2017 04:36 PM
Just to add, if any of the component is installed then package of that component will not reinstall, so in case any file of that component is removed from /usr/hdp directory, then start of the service for that particular component will fail.
Correct me if I'm wrong.