Upgrading HDP Manually
Also available as:
PDF
loading table of contents...

Symlink Directories with hdp-select

[Warning]Warning

HDP 2.3 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, you must remove one link:

    rm /usr/bin/oozie

  • Run hdp-select set all on your NameNode and all your DataNodes:

    hdp-select set all 2.3.4.0-$BUILD

    For example:

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