Return-Path: X-Original-To: apmail-whirr-dev-archive@www.apache.org Delivered-To: apmail-whirr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B61E7DC94 for ; Thu, 4 Oct 2012 18:12:01 +0000 (UTC) Received: (qmail 42571 invoked by uid 500); 4 Oct 2012 18:12:01 -0000 Delivered-To: apmail-whirr-dev-archive@whirr.apache.org Received: (qmail 42528 invoked by uid 500); 4 Oct 2012 18:12:01 -0000 Mailing-List: contact dev-help@whirr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@whirr.apache.org Delivered-To: mailing list dev@whirr.apache.org Received: (qmail 42518 invoked by uid 99); 4 Oct 2012 18:12:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2012 18:12:00 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.220.51] (HELO mail-pa0-f51.google.com) (209.85.220.51) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2012 18:11:54 +0000 Received: by mail-pa0-f51.google.com with SMTP id kq12so773696pab.38 for ; Thu, 04 Oct 2012 11:11:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=8KoKkK8Yo4LMJuzEZ/1NZTWZXuwOPJMc4tI8+R7Fg3k=; b=Vc/CQQ06Zlc5ndPZnRR54JBENOoTnDcYLhUxM6TcyWUw1UeK44iYJHreFklhpTQdGN r6MbSe6+bL5cWDMljkV94fVaxCGnAgNwWGVIP0crxYxtruauZ+i5zAeY+cigsb8vwz/n x5NjAN/3sphNa88IIK0VJsmfhCeKJGO5TneKHCbkIeYno9Bp6f0sEiI/BFtKEd3yCnMF q4FsPePog8uH7vLqjX6YnUXDWMzb9DhLd8tt3/M4+m9QBZbH86S7yHeM3yADjD6G0AmK 2tiyN+UP7fDYBsFdPt5PfoUypHJUpwnQYZaQ6JlJCn+vD4la0QKnkdhdPivakQhG9p16 Jj9g== MIME-Version: 1.0 Received: by 10.68.233.230 with SMTP id tz6mr12308244pbc.36.1349374292799; Thu, 04 Oct 2012 11:11:32 -0700 (PDT) Received: by 10.68.16.201 with HTTP; Thu, 4 Oct 2012 11:11:32 -0700 (PDT) Date: Thu, 4 Oct 2012 19:11:32 +0100 Message-ID: Subject: getting the internal FQDN of a host from the whirr client From: Steve Loughran To: whirr-dev Content-Type: multipart/alternative; boundary=047d7b33d07664305104cb3faff1 X-Gm-Message-State: ALoCoQmZ8jWwSzoWR2HhFCNJz+QFyRee6O6ZuI1R5H/Ha9xcOwsvd1oouhTUmdHHJCqh46+wBCuP X-Virus-Checked: Checked by ClamAV on apache.org --047d7b33d07664305104cb3faff1 Content-Type: text/plain; charset=UTF-8 I have a need to get the in-cluster FQDN of a node, in the Java code that runs whirr-side so that I can generate some files there. - I've seen the WHIRR-602 discussion on private hostnames, but they appear to be about having a private hostname in the installation scripts. - Instance.getPrivateAddress().getCanonicalHostName() returns the short hostname, at least for the EC2 instances I've created. Any suggestions? --047d7b33d07664305104cb3faff1--