hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <>
Subject [jira] [Commented] (HIVE-16735) Please add that hive.mapred.local.mem must be set in MBs in the documentation
Date Tue, 23 May 2017 07:03:04 GMT


Lefty Leverenz commented on HIVE-16735:

This needs to be fixed in as well as the wiki.  Perhaps the code should be changed
to accept bytes as well as megabytes.

In the wiki *hive.mapred.local.mem* is documented in two places, which should both be fixed:

* [Configuration Properties -- hive.mapred.local.mem |]
* [Getting Started -- Hive, Map-Reduce and Local-Mode |,Map-ReduceandLocal-Mode]
(last paragraph)

Thanks for filing this bug, Laurel.

> Please add that hive.mapred.local.mem must be set in MBs in the documentation
> -----------------------------------------------------------------------------
>                 Key: HIVE-16735
>                 URL:
>             Project: Hive
>          Issue Type: Task
>          Components: Documentation
>            Reporter: Laurel Hale
>            Assignee: Lefty Leverenz
>            Priority: Minor
> Hi Lefty,
> One of my developers noticed this and we do not document the local mode. Thought I'd
let you know.
> Here's a good place where you could put this:
> There's already a small subsection where hive.mapred.local.mem is documented, but there
isn't any information about how to set the value. My developer discovered that when you set
it in bytes, it throws the following error:
> 2017-03-12 09:24:31,835 ERROR [HiveServer2-Background-Pool: Thread-22163()]: mr.MapredLocalTask
( - Exception: java.lang.NumberFormatException:
For input string: "4294967296"
> java.lang.NumberFormatException: For input string: "4294967296"
> at java.lang.NumberFormatException.forInputString(
> at java.lang.Integer.parseInt(
> at java.lang.Integer.parseInt(
> at org.apache.hadoop.conf.Configuration.getInt(
> at org.apache.hadoop.hive.conf.HiveConf.getIntVar(
> at org.apache.hadoop.hive.conf.HiveConf.getIntVar(
> at
> Instead, this value should be set in MBs for success.
> Thanks,
> Laurel

This message was sent by Atlassian JIRA

View raw message