OK thanks.  Wasn’t sure if there was a method in storm for doing it.  
Appreciate the help.

From: Michael Rose [mailto:[email protected]]
Sent: Wednesday, November 12, 2014 5:44 PM
To: [email protected]
Subject: Re: worker hostnames

InetAddress.getLocalHost().getHostName() and such will get you hostname 
information.




Michael Rose (@Xorlev<https://twitter.com/xorlev>)
Senior Platform Engineer, FullContact<http://www.fullcontact.com/>
[email protected]<mailto:[email protected]>

On Wed, Nov 12, 2014 at 3:40 PM, Vladi Feigin 
<[email protected]<mailto:[email protected]>> wrote:
Read env. variable value in open/prepare methods

On Wed, Nov 12, 2014 at 5:35 PM, Brunner, Bill 
<[email protected]<mailto:[email protected]>> wrote:
Is there a way to get the hostname of each worker at runtime?  I’d like to use 
the info in logging, etc, and I can’t seem to find any documentation.

Thanks
________________________________
This message, and any attachments, is for the intended recipient(s) only, may 
contain information that is privileged, confidential and/or proprietary and 
subject to important terms and conditions available at 
http://www.bankofamerica.com/emaildisclaimer. If you are not the intended 
recipient, please delete this message.



----------------------------------------------------------------------
This message, and any attachments, is for the intended recipient(s) only, may 
contain information that is privileged, confidential and/or proprietary and 
subject to important terms and conditions available at 
http://www.bankofamerica.com/emaildisclaimer.   If you are not the intended 
recipient, please delete this message.

Reply via email to