Repository: hive Updated Branches: refs/heads/branch-2.0 866b236d0 -> 74fe20327
HIVE-12668 : package script for LLAP was broken by recent config changes (Sergey Shelukhin, reviewed by Prasanth Jayachandran) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/74fe2032 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/74fe2032 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/74fe2032 Branch: refs/heads/branch-2.0 Commit: 74fe203275841f8c40e1250d1b394f3a3ddbc9b6 Parents: 866b236 Author: Sergey Shelukhin <ser...@apache.org> Authored: Mon Dec 14 15:16:59 2015 -0800 Committer: Sergey Shelukhin <ser...@apache.org> Committed: Mon Dec 14 15:17:16 2015 -0800 ---------------------------------------------------------------------- llap-server/src/main/resources/package.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/74fe2032/llap-server/src/main/resources/package.py ---------------------------------------------------------------------- diff --git a/llap-server/src/main/resources/package.py b/llap-server/src/main/resources/package.py index caf0fb4..d6e762e 100644 --- a/llap-server/src/main/resources/package.py +++ b/llap-server/src/main/resources/package.py @@ -13,9 +13,9 @@ from templates import metainfo, appConfig, resources, runner class LlapResource(object): def __init__(self, config): - self.memory = config["llap.daemon.memory.per.instance.mb"] - self.cores = config["llap.daemon.vcpus.per.instance"] - size = config["llap.daemon.yarn.container.mb"] + self.memory = config["hive.llap.daemon.memory.per.instance.mb"] + self.cores = config["hive.llap.daemon.vcpus.per.instance"] + size = config["hive.llap.daemon.yarn.container.mb"] # convert to Mb self.cache = config["hive.llap.io.cache.orc.size"] / (1024*1024.0) self.direct = config["hive.llap.io.cache.direct"]