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 August 29, 2019.
<< Installing Cloudera JDBC and ODBC Drivers on Clients in CDH | ©2016 Cloudera, Inc. All rights reserved | Using & Managing Apache Hive in CDH >> |
Terms and Conditions Privacy Policy |