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 4B364200BC1 for ; Wed, 16 Nov 2016 20:32:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 499BD160B08; Wed, 16 Nov 2016 19:32:08 +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 99D4C160B02 for ; Wed, 16 Nov 2016 20:32:07 +0100 (CET) Received: (qmail 71678 invoked by uid 500); 16 Nov 2016 19:32:05 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 71652 invoked by uid 99); 16 Nov 2016 19:32:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2016 19:32:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 8C958C0118 for ; Wed, 16 Nov 2016 19:32:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.679 X-Spam-Level: * X-Spam-Status: No, score=1.679 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=salesforce.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id clFCpggIQWmC for ; Wed, 16 Nov 2016 19:32:02 +0000 (UTC) Received: from mail-it0-f46.google.com (mail-it0-f46.google.com [209.85.214.46]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 267C35FC4A for ; Wed, 16 Nov 2016 19:32:02 +0000 (UTC) Received: by mail-it0-f46.google.com with SMTP id b123so71120264itb.0 for ; Wed, 16 Nov 2016 11:32:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salesforce.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=hwrj+/J2Lp1OkyBvMG4zMn9Aqode6BbJuK1tD3Ktqj8=; b=LOv6n+e+Myvuw1BzrlpwMIEfFO9tNvpr//g0cJRbIT30i7b0DevKiXbR2rqI47AyYF wvbH+XKXDB395W05eMYhNOiVFYvfEvdSgGEQSGoxHiPnoxDrzd2FBTkg46PZS7RlO9d1 gA+Mzzj0DQFeLdZnm1E5cdb0DwDGuqihXGw1I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hwrj+/J2Lp1OkyBvMG4zMn9Aqode6BbJuK1tD3Ktqj8=; b=IioJ2y1WNRaw8c9rv+etfSsjGPrGjQ0YRQtfE61TDiOUAV4LMj8Z8cTOkuYJ8zwnWa oo34QTVAgVEUwyUzqJsL3qR5B9lfaWG5KzouTA+C0PvghjmD4pvjIJdUtnczZ4HnIrXG zK2BIdGZA5L2hpHcnokn1/4c9M91XNz3M6n2osbfNmsWRlkp23ZbSzhvgvKVzFYHy0ym IsHnuPTy5IaRvgpSJgraJwGpKxQdT0PsHr+xYreAMzq9IjXPj3KCySijXIvEiQ4GKs51 8rUj69/3SRojgvD69AReUEyUZeWKnzVo0M7cgkLyaKlj1DeDFWZJ4w8SF28f8QhH62qp AulA== X-Gm-Message-State: ABUngvfbUYXM3qFyETHqhrsofa+XTWP5uwXrrqvyZGNoP4qpiNDz6zqr9ywVfpx+1SznzeGiwBOKeW2CtcumWyyh X-Received: by 10.107.150.10 with SMTP id y10mr3856780iod.27.1479324721290; Wed, 16 Nov 2016 11:32:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.131.135 with HTTP; Wed, 16 Nov 2016 11:32:00 -0800 (PST) From: Benson Qiu Date: Wed, 16 Nov 2016 11:32:00 -0800 Message-ID: Subject: Does the JobHistoryServer register itself with ZooKeeper? To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a1140be26855dc2054170206f archived-at: Wed, 16 Nov 2016 19:32:08 -0000 --001a1140be26855dc2054170206f Content-Type: text/plain; charset=UTF-8 I'm looking for a way to check for connectivity to the JobHistoryServer. One way I can think of is to create a Socket connection (in Java code) to the JobHistoryServer IPC port specified in mapreduce.jobhistory.address. If the JHS registers itself with ZooKeeper, is there a way for me to ping ZooKeeper to check the status of the JHS? --001a1140be26855dc2054170206f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm looking for a way to check for connectivity to the= JobHistoryServer.

One way I can think of is to create a= Socket connection (in Java code) to the JobHistoryServer IPC port specifie= d in=C2=A0mapreduce.jobhistory.address.

If the JHS= registers itself with ZooKeeper, is there a way for me to ping ZooKeeper t= o check the status of the JHS?
--001a1140be26855dc2054170206f--