From user-return-11755-apmail-storm-user-archive=storm.apache.org@storm.apache.org Wed Sep 7 22:34:51 2016 Return-Path: X-Original-To: apmail-storm-user-archive@minotaur.apache.org Delivered-To: apmail-storm-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C3AB1920F for ; Wed, 7 Sep 2016 22:34:51 +0000 (UTC) Received: (qmail 67466 invoked by uid 500); 7 Sep 2016 22:34:50 -0000 Delivered-To: apmail-storm-user-archive@storm.apache.org Received: (qmail 67423 invoked by uid 500); 7 Sep 2016 22:34:50 -0000 Mailing-List: contact user-help@storm.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@storm.apache.org Delivered-To: mailing list user@storm.apache.org Received: (qmail 67413 invoked by uid 99); 7 Sep 2016 22:34:50 -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; Wed, 07 Sep 2016 22:34:50 +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 0AEE51A10C4 for ; Wed, 7 Sep 2016 22:34:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, 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=gobalto-com.20150623.gappssmtp.com Received: from mx2-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 1LGAOTcg5KcR for ; Wed, 7 Sep 2016 22:34:47 +0000 (UTC) Received: from mail-it0-f43.google.com (mail-it0-f43.google.com [209.85.214.43]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id B0FDE60D22 for ; Wed, 7 Sep 2016 22:34:46 +0000 (UTC) Received: by mail-it0-f43.google.com with SMTP id e124so224394123ith.0 for ; Wed, 07 Sep 2016 15:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gobalto-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=7CKVtEsCsCNm3pzdvlTOQ1DqN04TsriYS6FmUV9s6F8=; b=czelCVAGuSTTZtUf0P97uluB2z3f/Yy9dNoh7sVxaRx1a0b0WoN+H0V9BqbeXjoGme iWHyZQ8qeDD96ry84VYnmaSJPIS8NizqiFLFnHgNG920IlApppECfXe4WnCwAvFI3200 oq/CUb3W8L81+LYLmaOVBaPdL57DIskQ24yf98PUQrryXi6j0jU8m7nVhv1r7xNPwERB Sgm25ZMEHZMFxnzhazLzZ3qGL7y/avHFASUYOgkZs+rw4xV4tXVh26B8VBBGjOC9Xxk3 yvHrCXVPNcGuooRtJRAqQ5s5MuWzrTjTGvpYCfsn1BHQnALTqKTGC/zVlGWH3efkAjG+ qnyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=7CKVtEsCsCNm3pzdvlTOQ1DqN04TsriYS6FmUV9s6F8=; b=JM13eEmwkSKfTZUkPkT96ExypYjJw328reKI2FNC/hgXSHHY8TaCS1CFiRLq7hNUWq hHcX6cNpcn4Rn2aO7kJVWhAGKdZxX0h7/wv+Bi0ggHKJJ0WEUSGTtF2D+u0fmlXm8HpW gvyb5lVe0ECQj3GCmahRRZK1M00Xqn5+3z8LGjaMRRS+vxcEU+QhIbNYpkQEulj6zeXG ioEw1ZzAisza158fanoNdphnPNXdqDgbVG1u2vpbXMl6h+UTYvxvidmVcRXL5qamkxEj FRxMPenO2ypo8BpZhP/xXHaDo9Xo9biUEORPyABPaHVVFMmxsKp0za+//ZZHUT0zv8A7 pjHQ== X-Gm-Message-State: AE9vXwOaLzt2XPKkvm2ravW3gikZOdIOXMCLsacB97YRuPnJFe9U9bsj1FAyce4t0uI5D9jAnhxknq/B6UH2ak+k X-Received: by 10.36.155.194 with SMTP id o185mr10413739itd.54.1473287685096; Wed, 07 Sep 2016 15:34:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.95.129 with HTTP; Wed, 7 Sep 2016 15:34:44 -0700 (PDT) In-Reply-To: References: From: Joaquin Menchaca Date: Wed, 7 Sep 2016 15:34:44 -0700 Message-ID: Subject: Re: Storm UI generated logviewer links problematic To: user@storm.apache.org Content-Type: multipart/alternative; boundary=94eb2c0602661f5c72053bf2857c --94eb2c0602661f5c72053bf2857c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you so much... That is awesome! :) On Tue, Sep 6, 2016 at 12:13 PM, P. Taylor Goetz wrote: > You can override DNS by setting storm.local.hostname in the config yaml o= n > each node. Use the public IP/hostname and that should fix your problem. > > -Taylor > > > On Sep 6, 2016, at 2:47 PM, Joaquin Menchaca > wrote: > > This is a big issue to how *storm ui* generates the URLs to access *storm > logviewer*. I need to have some control to how storm ui generates the > links, such as using routes or custom name to represent the supervisors. > > In my *use case*: 1) secure VPC, only accessible through 22 from admin > VPC, 2) storm ui available through ELB which is secured to only use publi= c > DNS, 3) internal DNS different that public DNS. > > As I understand, storm ui fetches the supervisor names from zookeeper, an= d > supervisors register to zookeeper using some name it generates (hostname? > reverse DNS lookup?) > > The problem is that the DNS names are not usable, even if I park a > reverse-proxy, I cannot route to URLs that ONLY make sense to internal DN= S. > > > --=20 =E6=98=AF=E6=95=85=E5=8B=9D=E5=85=B5=E5=85=88=E5=8B=9D=E8=80=8C=E5=BE=8C=E6= =B1=82=E6=88=B0=EF=BC=8C=E6=95=97=E5=85=B5=E5=85=88=E6=88=B0=E8=80=8C=E5=BE= =8C=E6=B1=82=E5=8B=9D=E3=80=82 --94eb2c0602661f5c72053bf2857c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you so much... That is awesome! :)

On Tue, Sep 6, 2016 at 12= :13 PM, P. Taylor Goetz <ptgoetz@gmail.com> wrote:
You can o= verride DNS by setting storm.local.hostname in the config yaml on each node= . Use the public IP/hostname and that should fix your problem.

-Taylor


On Sep 6, 2016, at 2:47 PM, Joaquin Menchaca <jmenchaca@gobalto.com&g= t; wrote:

This is a big issue= to how storm ui generates the URLs to access storm logviewer= .=C2=A0 I need to have some control to how storm ui generates the links, su= ch as using routes or custom name to represent the supervisors.

In my use case: 1) secure VPC, only accessible through 22 from adm= in VPC, 2) storm ui available through ELB which is secured to only use publ= ic DNS, 3) internal DNS different that public DNS.

As I unders= tand, storm ui fetches the supervisor names from zookeeper, and supervisors= register to zookeeper using some name it generates (hostname? reverse DNS = lookup?)

The problem is that the DNS names are not usable, eve= n if I park a reverse-proxy, I cannot route to URLs that ONLY make sense to= internal DNS.




--

=E6=98=AF=E6=95=85= =E5=8B=9D=E5=85=B5=E5=85=88=E5=8B=9D=E8=80=8C=E5=BE=8C=E6=B1=82=E6=88=B0=EF= =BC=8C=E6=95=97=E5=85=B5=E5=85=88=E6=88=B0=E8=80=8C=E5=BE=8C=E6=B1=82=E5=8B= =9D=E3=80=82

--94eb2c0602661f5c72053bf2857c--