Created 01-18-2018 02:33 AM
The install part is failing at the zookeeper client install using ambari-blueprints. It says
mkdir: cannot create directory `/usr/hdp/current/zookeeper-client': File exists
Here's the error log from the Ambari UI zookeeper-err.txt.
Created 01-18-2018 02:45 AM
Please check if the "zookeeper-client" is a directory or a symlink?
If it's a directory then please move that directory temporarily and then try again something like following (Your HDP version might be different in the following path though), So that the installer will be able to create the required symlink.
# ls -l /usr/hdp/current/zookeeper-client lrwxrwxrwx. 1 root root 30 Jan 9 07:15 /usr/hdp/current/zookeeper-client -> /usr/hdp/188.8.131.52-129/zookeeper
Created 01-18-2018 03:32 AM
Created 01-18-2018 03:41 AM
Please try to unlink it and then install the zookeeper client from ambari ui.
# unlink /usr/hdp/current/zookeeper-client
Created 04-12-2018 08:11 AM
for zookeper-server what can Ido?
Created 01-18-2018 04:30 AM
@Jay Kumar SenSharmaThis symlink dates to the current installation not a remain of the previous install.Just curious on why this is causing a conflict.
Created 01-18-2018 05:57 PM
@Jay Kumar SenSharma The unlink and re-install doesn't seem to work. It gives me an error saying
"The directory already exists and it's not a symlink".
As I mentioned earlier, it's being created when I hit install but ahead of time. Is there any reason why this is happening? I'm using HDP-2.6.4 and Ambari-2.5.2
Created 04-12-2018 08:15 AM
Yes, that error may occur if the "zookeeper-client" is a Directory instead of Symlink. So in that case you need to do this:
# mv /usr/hdp/current/zookeeper-client /usr/hdp/current/zookeeper-client_BAK
Then you can either try creating that symlink on your own Or try instsalling the client again.