HIVE-12920 : LLAP fails to start with java.lang.NumberFormatException (Shinichi Yamashita, reviewed by Sergey Shelukhin)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/0c700973 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/0c700973 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/0c700973 Branch: refs/heads/branch-2.0 Commit: 0c70097348866b3b45f173b0abc9931fe07567d2 Parents: 5c07154 Author: Sergey Shelukhin <[email protected]> Authored: Mon Jan 25 12:50:26 2016 -0800 Committer: Sergey Shelukhin <[email protected]> Committed: Mon Jan 25 12:50:34 2016 -0800 ---------------------------------------------------------------------- .../java/org/apache/hadoop/hive/llap/cli/LlapServiceDriver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/0c700973/llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapServiceDriver.java ---------------------------------------------------------------------- diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapServiceDriver.java b/llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapServiceDriver.java index 358fde9..a39be15 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapServiceDriver.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapServiceDriver.java @@ -279,7 +279,7 @@ public class LlapServiceDriver { ConfVars.LLAP_DAEMON_YARN_CONTAINER_MB)); configs.put(HiveConf.ConfVars.LLAP_IO_MEMORY_MAX_SIZE.varname, - HiveConf.getLongVar(conf, HiveConf.ConfVars.LLAP_IO_MEMORY_MAX_SIZE)); + HiveConf.getSizeVar(conf, HiveConf.ConfVars.LLAP_IO_MEMORY_MAX_SIZE)); configs.put(HiveConf.ConfVars.LLAP_ALLOCATOR_DIRECT.varname, HiveConf.getBoolVar(conf, HiveConf.ConfVars.LLAP_ALLOCATOR_DIRECT));
