Note: When starting, stopping and restarting CDH components, always use the
service
(8) command rather than running
/etc/init.d scripts
directly. This is important because
service sets the current working
directory to / and removes most environment variables (passing only
LANG and
TERM) so as to create a predictable
environment in which to administer the service. If you run the
/etc/init.d scripts directly, any environment variables you have
set remain in force, and could produce unpredictable results. (If you install CDH from
packages,
service will be installed as part of the Linux Standard Base
(LSB).)
Before you install CDH 5 on a single node, there are some important steps you need to do
to prepare your system:
- Verify you are using a supported operating system for CDH 5. See CDH 5 Requirements and Supported Versions.
- If you haven't already done so, install the Oracle
Java Development Kit (JDK) before deploying CDH 5.