To run the Hortonworks Data Platform, your system must meet minimum requirements.
Although there is no single hardware requirement for installing HDP, there are some basic guidelines.
You can see sample setups here: Hardware Recommendations for Apache Hadoop.
The following operating systems are supported:
Windows Server 2008 R2 (64 bit)
Windows Server 2012 (64 bit)
Ensure that you install the following on every host machine in your cluster:
Microsoft Visual C++ 2010 Redistributable Package (64 bit)
Use the instructions provided here to download and install Microsoft Visual C++ 2010 Redistributable Package (64 bit).
Microsoft.NET framework 4.0
Use the instructions provided here to download and install Microsoft.NET framework 4.0.
JDK 6u31 or higher
Use the instructions provided below to manually install JDK in your local environment:
Check the version. From a command shell or Powershell window, type:
java -version
(Optional): Uninstall the Java package if the JDK version is less than v1.6 update 31.
Download the Oracle 64-bit JDK for Windows from here and run the JDK Installer MSI.
![[Important]](../common/images/admon/important.png)
Important Ensure that no whitespace characters are present in the installation directory's path.
For example,
C:\Program Filesis not allowed.To validate if Java has been installed on your cluster host, go to the command shell and type java -version.
Create a system variable named
JAVA_HOME. The value of this variable will be the full path to installation directory for JDK.Open the Control Panel -> System pane and click on .
Click on the tab.
Click the button.
Under System variables, click .
Enter the Variable Name as
JAVA_HOME.Enter the Variable Value, as the installation path for the Java Development Kit.
For example, if your JDK is installed at
C:\Software\Java\jdk1.6.0_31, then you must provide this path to the Variable Value.Click OK.
Click Apply Changes.
Python 2.7
Use the following instructions to manually install Python in your local environment:
Download Python from here.
Update the
PATHenvironment variable. Using Administrator privileges:Open the Control Panel -> System pane and click on the link.
Click on the tab.
Click the button.
Under System Variables, find
PATHand click .![[Note]](../common/images/admon/note.png)
Note If you do not have the item
PATH, you may select to add a new variable and addPATHas the name and the location of the Python directory as the value.In the Edit windows, modify
PATHby appending the installation path for your Python directory to the value ofPATH.For example, if Python executable is installed at
C:\Python27then you must append this value toPATH.To validate your settings, from a command shell or Powershell window, type:
python
By default, Hive and Oozie use an embedded Derby database for its metastore.
To use an external database for Hive and Oozie metastores, ensure that Microsoft SQL Server database is deployed and available in your environment.
![[Important]](../common/images/admon/important.png)
Important Before using SQL server for Hive metastore, ensure that you set up Microsoft SQL Server JDBC Driver using the instructions provided here.
Ensure that your database administrator creates the following databases and users.
It is recommended that you note down the database name and user account credentials. You will need these details while configuring the HDP Installer.
For Hive:
hive_dbname
hive_dbuser
hive_dbpasswd
For Oozie:
oozie_dbname
oozie_dbuser
oozie_dbpasswd
If you are using MS SQL Server for Hive and Oozie metastores, you must install the MS SQL Server JDBC driver.
Download the SQL JDBC JAR file sqljdbc_3.0.1301.101_enu.exe.
Run the downloaded file.
(By default, the SQL JDBC driver file will be extracted at
C:\Users\Administrator\Downloads\Microsoft SQL Server JDBC Driver 3.0.)Copy and paste the
C:\Users\Administrator\Downloads\Microsoft SQL Server JDBC Driver 3.0\sqljdbc_3.0\enu\sqljdbc4.jarfile to(where$HIVE_HOME/lib$HIVE_HOMEcan be set toD:\hadoop\hive-0.9.0).

