Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AB5F8200D65 for ; Mon, 11 Dec 2017 03:18:18 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A9E9E160C09; Mon, 11 Dec 2017 02:18:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F0266160C21 for ; Mon, 11 Dec 2017 03:18:17 +0100 (CET) Received: (qmail 96227 invoked by uid 500); 11 Dec 2017 02:18:17 -0000 Mailing-List: contact dev-help@impala.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.apache.org Delivered-To: mailing list dev@impala.apache.org Received: (qmail 96011 invoked by uid 99); 11 Dec 2017 02:18:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Dec 2017 02:18:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3B0AAC160B; Mon, 11 Dec 2017 02:18:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id VheuWux7rxNH; Mon, 11 Dec 2017 02:18:14 +0000 (UTC) Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id AF2145F489; Mon, 11 Dec 2017 02:18:13 +0000 (UTC) Received: by mail-pf0-f175.google.com with SMTP id p84so10444126pfd.3; Sun, 10 Dec 2017 18:18:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dqFYhx/RovZFT4rzytOZ2ph1xzSR4cbwYEQy0mP+Tc8=; b=pO9Ay8w0NwRBK2DGHP62RnVtuop4ff4xZyjLmDSHwIXiEYEvFHTLpJbw3D4JxHY0Qn kb58vfFt6wY3BuoWjCmjLNhqaMQtWE1BGpo3htrODu0zzB+bT1MJ0v1Re1z/P0WEyg4w jbudYtJRdYb9NfPj3IpktyaVZDoPLTsywqRJL8ICDdjXwKajNrpZO2Bw1Dd60JOWaoOv mQCodhK8PjOZ4u/icj3UM2We4jX/CjEgkXwjVbV1RKXjEPSiVt3CX0vPPRYcsPpw3IdU MN78Rt66PqfF0Q0bMxjJ5q5uCKvm6ET+waAakfTG588U/lG3w3dHiYb7Zz9K6AflhpeH irDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dqFYhx/RovZFT4rzytOZ2ph1xzSR4cbwYEQy0mP+Tc8=; b=hb/JGYhGtBR8dGBurP11ZSqvzDGim/STxizm9vXu+x7MT4baITzwWlp6o7rWoIPd9S X8+g0oaivaqm1Vx3s/2MoEX+ZFvoSzJGX+q5LnNlKQbN4bQ2jKmLDddjpLXROeppqfQm QuA4Jv4eToKUcfWVYgs/L38dZlFMb5hpLKg6jcgJTuHDcCG4Y9cffMy8PcaVihPrRRcC monsF5fNVDnyQq3AW9r1cCrGEkKN/YqWPbGRiEdz8KfgQteBemVUzWDEG/tY//75YHtW v12IMMRH5Ky+HIgdUKi0UDdKfUCEBqX68doYyMOYwppAbKn0tg/dS3lUSeuh7YxSKI3X votA== X-Gm-Message-State: AJaThX5R/ziqjuhyv5PEVBdxNQWwTqGVfQoOfhlf1NcbYIDoPo/PM5BV PRtgBCstsO5FWebUrOQhvnBt9YCmSmLvs8iO1PKQAg== X-Google-Smtp-Source: AGs4zMZ5G0Qo9KujWI9kowiY2dOGYUDgqiDNnJ3NPcCjrGNPoQjYFfGfR03e/KY4KO5no+/1L/g+JZOyVgdXV4UURxs= X-Received: by 10.84.137.129 with SMTP id 1mr38232227pln.169.1512958686813; Sun, 10 Dec 2017 18:18:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.180.48 with HTTP; Sun, 10 Dec 2017 18:18:06 -0800 (PST) From: yu feng Date: Mon, 11 Dec 2017 10:18:06 +0800 Message-ID: Subject: How to control max memory usage in JNI To: dev@impala.incubator.apache.org, user@impala.incubator.apache.org Content-Type: multipart/alternative; boundary="94eb2c11976c1664970560072594" archived-at: Mon, 11 Dec 2017 02:18:18 -0000 --94eb2c11976c1664970560072594 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable how impala control the max memory to be allocated in JNICatalogd and JniFronted, I get java OOM in Catalogd, and doubt how to slove it=E3=80=82 Is there a way to change it in impala =EF=BC=9F maybe set JAVA_TOOL_OPTION= S environment variable is a choose, But how to do it in impala without modify code. --94eb2c11976c1664970560072594--