3. Symlink Directories with hdp-select

[Warning]Warning

HDP 2.2 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.2.6.0-<$version>

    For example:

    /usr/bin/hdp-select set all 2.2.6.0-2


loading table of contents...