Setting HADOOP_MAPRED_HOME
- For each user who will be submitting MapReduce jobs using MapReduce v2 (YARN), or running Pig, Hive, or Sqoop 1 in a YARN installation, 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 who will be submitting MapReduce jobs using MapReduce v1 (MRv1), or running Pig, Hive, or Sqoop 1 in an MRv1 installation, set the HADOOP_MAPRED_HOME environment variable as follows:
$ export HADOOP_MAPRED_HOME=/usr/lib/hadoop-0.20-mapreduce
Page generated July 8, 2016.
<< Installing the JDBC Drivers for Sqoop 1 | ©2016 Cloudera, Inc. All rights reserved | Viewing the Sqoop 1 Documentation >> |
Terms and Conditions Privacy Policy |