Symlink Directories with hdp-select
Warning | |
---|---|
HDP 2.6.0 installs hdp-select automatically with the installation or upgrade of the first HDP component. If you have not already upgraded ZooKeeper, hdp-select has not been installed. |
To prevent version-specific directory issues for your scripts and updates, Hortonworks provides hdp-select, a script that symlinks directories to hdp-current and modifies paths for configuration directories.
Before you run hdp-select, remove one link:
rm /usr/bin/oozie
Run hdp-select set all on your NameNode and all your DataNodes:
hdp-select set all 2.6.1.0-<$version>
For example:
/usr/bin/hdp-select set all 2.6.1.0-2800