Setting HADOOP_MAPRED_HOME for Apache Hive in CDH
Note: This page contains references to CDH 5
components or features that have been removed from CDH 6. These references are only applicable if you are managing a CDH 5 cluster with Cloudera Manager 6. For more information, see Deprecated Items.
- For each user running Hive on MapReduce2 (YARN), make sure that the HADOOP_MAPRED_HOME environment variable is set correctly, as follows:
$ export HADOOP_MAPRED_HOME=/usr/lib/hadoop-mapreduce
- For each user running Hive on MapReduce v1 (MRv1), set the HADOOP_MAPRED_HOME environment variable as follows:
$ export HADOOP_MAPRED_HOME=/usr/lib/hadoop-0.20-mapreduce
Page generated July 25, 2018.
<< Installing the Hive JDBC Driver on Clients in CDH | ©2016 Cloudera, Inc. All rights reserved | Configuring the Hive Metastore to Use HDFS High Availability in CDH >> |
Terms and Conditions Privacy Policy |