Setting HADOOP_MAPRED_HOME for Apache Hive in CDH

- 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 |