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 795FB200C58 for ; Sun, 16 Apr 2017 12:34:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 67942160B9A; Sun, 16 Apr 2017 10:34:14 +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 ACE43160B92 for ; Sun, 16 Apr 2017 12:34:13 +0200 (CEST) Received: (qmail 6447 invoked by uid 500); 16 Apr 2017 10:34:12 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 6435 invoked by uid 99); 16 Apr 2017 10:34:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Apr 2017 10:34:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4A9031A0412 for ; Sun, 16 Apr 2017 10:34:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id di3XEZ7dbYHo for ; Sun, 16 Apr 2017 10:34:09 +0000 (UTC) Received: from mail-yb0-f178.google.com (mail-yb0-f178.google.com [209.85.213.178]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id ADA045F3BC for ; Sun, 16 Apr 2017 10:34:08 +0000 (UTC) Received: by mail-yb0-f178.google.com with SMTP id m133so25560613ybb.1 for ; Sun, 16 Apr 2017 03:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=gqPqxgpo6iOgcajDbOvE5sGDSfZVidUmv/PsyYQp7+g=; b=ug0TWIzLY6zsSVB+RE46W8CuJkwUrZs7HzR00OhBwk6JJRjlyFUCJXjPK3HaHFLS+u G5MP6dQFTE4eAzOKRFOL7VgF0I2YVto899vF9nJgbXiKo1WkIL/h3lCIT9XNFeKRLDvh sZc8ZbL0xPuz7kZpeugIpzRC4K+iXesfi9TzgZfmlKJhyMSpHE1rWQg95u7vwZS7UYEb 6G1y3Nmddv04C3GtVg3cFgNWiTBWa++AI5a7t1lfIL7Gg6fVuPFBtnQJpkIYgBrBnIX2 aRZYAzq42VwvPZh2MPpKWcXtXfsNrvhfAKalkKe6kq2vwYDFGGcbzRBWAoReyeqcuT4P p/cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=gqPqxgpo6iOgcajDbOvE5sGDSfZVidUmv/PsyYQp7+g=; b=WfBbZkBwAUPDoTyu+XYW3PcudY+yHtFx2+zzI405idVDF2HpHlqoj/k3lR3Cry2ZjY mtKyl8O6XXU0YajD1NbkxrKQDMGhEtzqT4TjA2jXqxDhsyGPdBaouXscwuzueqQDpPaU ynI2/sUWpsN3L/BGCZMtIZxTmaqbFzFD+xiYpB8bJpP31Xeq8U/KXaBJToAkC0Iwdx4b 4GIhio+eX5iHRpe4nBbPhc08DdYnpoB/JEBw/CFb4vw8Dp8cmuHqS5vDYrpfcddPr5Mj gn7jHEa4bD+XhIBrvbUT3Jrzx7qD2OB9N6fiWUoTmFCcDwuvijaC0DsduM0yIXDRufVR ArIw== X-Gm-Message-State: AN3rC/5OoaZZEWIvmgWJL7wKr8XxQy2e46P/r/GCgzQ53XimFTMCa8Lw TMiKD8UqO3+ztrB222Qi/+aT4eNN22pr X-Received: by 10.37.68.69 with SMTP id r66mr11542763yba.8.1492338847649; Sun, 16 Apr 2017 03:34:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.45.91 with HTTP; Sun, 16 Apr 2017 03:34:07 -0700 (PDT) In-Reply-To: References: From: Ted Yu Date: Sun, 16 Apr 2017 03:34:07 -0700 Message-ID: Subject: Re: How to get HRegion when running code on a region server To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a113f3ecce6174e054d46362d archived-at: Sun, 16 Apr 2017 10:34:14 -0000 --001a113f3ecce6174e054d46362d Content-Type: text/plain; charset=UTF-8 bq. require connecting to the master server I don't think the above is accurate. Where did you see the example that gave you this impression ? Can you be a bit more specific: is your code to be run on region server embedded in coprocessor ? Thanks On Sat, Apr 15, 2017 at 10:27 PM, Cheyenne Forbes < cheyenne.osanu.forbes@gmail.com> wrote: > I want to run some code on only one region server (out of 4) of my cluster, > this code will do some additional automated things, the examples I've seen > showing how to get HRegion MyVarName seem to require connecting to the > master server (I am not sure if I am correct). Now to my question, how can > I get HRegion MyVarName when the code is being run on the Region Server I > want without connecting to the master server. > > Regards, > > Cheyenne O. Forbes > --001a113f3ecce6174e054d46362d--