Configuring Hive-MR3

The behavior of Hive-MR3 is specified by the configuration file hive-site.xml in the classpath. Below we describe configuration keys new in Hive-MR3.

Name Default value Description
hive.mr3.jar.dir null Directory for site-wide installed resources. If set to null, Hive-MR3 uses hive.user.install.directory.
hive.mr3.client.connect.timeout 60000ms Timeout for Hive-MR3 to establish connection to MR3 DAGAppMaster
hive.mr3.map.task.memory.mb -1 Memory in MB allocated to each mapper. If set to -1, Hive-MR3 reads MRJobConfig.MAP_MEMORY_MB.
hive.mr3.reduce.task.memory.mb -1 Memory in MB allocated to each reducer. If set to -1, Hive-MR3 reads MRJobConfig.REDUCE_MEMORY_MB.
hive.mr3.map.task.vcores -1 Number of cores allocated to each mapper. If set to -1, Hive-MR3 reads MRJobConfig.MAP_CPU_VCORES.
hive.mr3.reduce.task.vcores -1 Number of cores allocated to each reducer. If set to -1, Hive-MR3 reads MRJobConfig.REDUCE_CPU_VCORES.
hive.mr3.containergroup.scheme all-in-one ContainerGroupppp scheme: all-in-one, per-map-reduce, or per-vertex
hive.mr3.container.env null Environment string for ContainerGroups
hive.mr3.container.java.opts null Java options for ContainerGroups. This key takes precedence over MR3Conf.MR3_CONTAINER_LAUNCH_CMD_OPTS (mr3.container.launch.cmd-opts) in mr3-site.xml.
hive.mr3.all-in-one.containergroup.memory.mb -1 Memory in MB allocated to each ContainerGroup under all-in-one scheme
hive.mr3.all-in-one.containergroup.vcores -1 Number of cores allocated to each ContainerGroup under all-in-one scheme
hive.mr3.map.containergroup.memory.mb -1 Memory in MB allocated to each mapper ContainerGroup under per-map-reduce or per-vertex scheme. If set to -1, Hive-MR3 reads MRJobConfig.MAP_MEMORY_MB.
hive.mr3.reduce.containergroup.memory.mb -1 Memory in MB allocated to each reducer ContainerGroup under per-map-reduce or per-vertex scheme. If set to -1, Hive-MR3 reads MRJobConfig.REDUCE_MEMORY_MB.
hive.mr3.map.containergroup.vcores -1 Number of cores allocated to each mapper ContainerGroup under per-map-reduce or per-vertex scheme. If set to -1, Hive-MR3 reads MRJobConfig.MAP_CPU_VCORES.
hive.mr3.reduce.containergroup.vcores -1 Number of cores allocated to each reducer ContainerGroup under per-map-reduce or per-vertex scheme. If set to -1, Hive-MR3 reads MRJobConfig.REDUCE_CPU_VCORES.
hive.mr3.exec.print.summary false true: display breakdown of execution steps for every query.
false: do not display.
hive.mr3.exec.inplace.progress true true: update execution progress in-place in the terminal.
false: do not update.
hive.server2.mr3.share.session false true: run HiveServer2 in shared session mode.
false: run HiveServer2 in individual session mode.