Sorry, now I understand. The supervisor should tell others who it is,, so, modify the hostname from supervisor machine's /etc/hosts works.
Thanks for you help TSD. On Fri, Aug 7, 2015 at 3:39 PM, Jilin Xie <[email protected]> wrote: > I'm not sure if I have got you right. > I modified the /etc/hosts file on my nimbus, and restarted my supervisor > and nimbus ui, > but it's still the same. > > On Fri, Aug 7, 2015 at 3:24 PM, TSD-贾宏超 <[email protected]> wrote: > >> maybe something wrong with your /etc/hosts. >> It seems that storm use InetAddress.getLocalHost().getCanonicalHostName() to >> get the hostname there >> >> ------------------------------ >> 贾宏超 >> 技术战略与发展部(TSD) >> 东软集团(大连)有限公司 >> 大连市黄浦路901-3号 D2座 TSD >> Mobile:159 9853 3097 >> E-mail: [email protected] <[email protected]> >> >> >> *From:* Jilin Xie <[email protected]> >> *Date:* 2015-08-07 15:19 >> *To:* [email protected] >> *Subject:* How to get supervisor IP address of storm cluster >> Hi >> From the document, the Storm UI is where I can monitor the cluster. >> But for the supervisor panel, >> all supervisors host tag is labelled with "localhost" >> >> Supervisor summaryIdHostUptimeSlotsUsed slots >> c2593985-f5df-4e2c-993b-056f195a18edlocalhost1s40 >> >> >> I hopt to know what configs or operations are needed to make it >> show the correct ip. >> >> >> >> >> --------------------------------------------------------------------------------------------------- >> Confidentiality Notice: The information contained in this e-mail and any >> accompanying attachment(s) >> is intended only for the use of the intended recipient and may be >> confidential and/or privileged of >> Neusoft Corporation, its subsidiaries and/or its affiliates. If any >> reader of this communication is >> not the intended recipient, unauthorized use, forwarding, printing, >> storing, disclosure or copying >> is strictly prohibited, and may be unlawful.If you have received this >> communication in error,please >> immediately notify the sender by return e-mail, and delete the original >> message and all copies from >> your system. Thank you. >> >> --------------------------------------------------------------------------------------------------- >> > >
