Hi @prswamy t, you can move the binaries to another disk, let's say /disk1, for example as root
mkdir /disk1/hdp cp -av /usr/hdp/* /disk1/hdp # optional rm -r /usr/hdp ln -s /disk1/hdp /usr/hdp
And now you can try to reinstall HDP. Note that copy of already installed binaries is optional, if you have already installed a lot of stuff, and if you are using repos on the Internet.
Hii Predrag, I don't want to reinstall again, how can i do configuration without reinstalling
Okay, then do all 4 steps above, including the optional one, and please note, I edited the flags for cp, to copy symbolic links correctly. It will be good to stop the cluster while you are doing it.
Was the move/copy successful? What's the output of
ls -l /usr/hdp ls -l /usr/hdp/ ls -l /usr/hdp/current ls -l /usr/hdp/current/hadoop-client ls -l /usr/hdp/current/hadoop-client/
after moving to other disk path , i mistakenly changes the ownership recursively for hdp directory, not starting now, how can i change again owner ship for all the services as default i don't remember what is the default user:group, please let me know who is the user:group for the this services(HDFS, MapReduce2, YARN, Tez, Hive, HBase, Pig, Sqoop, Oozie, Zookeeper, Ambari Metrices, Spark)
"cd /usr/hdp" and then run "chown -R root:root ." After that, "cd 2.x.x.x" (your HDP version number) and do "chown -R hive:hive hive-hcatalog" and "chown -R oozie:oozie oozie/tomcat-deployment/".
Yes, I understand. Try to run the above chown commands.
Created on 04-07-2016 09:27 AM - edited 08-18-2019 05:45 AM
i done whatever you said, and restarted the ambari-server and agent, but i unable to start the services plz help me
Have you run chown commands (as root)? After that check that ownership has changed (using ls) and retry.