Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> Getting the IP Address


Copy link to this message
-
Re: Getting the IP Address
Good point.  I don't care if the init.d scripts work on a Mac.  I do care
about the other scripts, though.
On Wed, Aug 28, 2013 at 10:32 AM, Christopher <[EMAIL PROTECTED]> wrote:

> But... it shouldn't be a supported platform for init scripts... I imagine.
>
> --
> Christopher L Tubbs II
> http://gravatar.com/ctubbsii
>
>
> On Wed, Aug 28, 2013 at 1:03 PM, Billie Rinaldi
> <[EMAIL PROTECTED]> wrote:
> > It's a supported development platform.  =)
> >
> >
> > On Wed, Aug 28, 2013 at 9:59 AM, Sean Busbey <[EMAIL PROTECTED]>
> wrote:
> >>
> >> hostname -i does not work on a Mac ( 10.8.4 )
> >>
> >> Is Mac a supported platform?
> >>
> >>
> >> On Wed, Aug 28, 2013 at 11:53 AM, Eric Newton <[EMAIL PROTECTED]>
> >> wrote:
> >>>
> >>> Does "hostname -i" work on a mac?  Not being a mac user, I can't check.
> >>>
> >>> -Eric
> >>>
> >>>
> >>>
> >>> On Wed, Aug 28, 2013 at 11:38 AM, Ravi Mutyala <[EMAIL PROTECTED]>
> >>> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> I see from the accumulo-tracer init.d script that IP is determined by
> >>>> this logic.
> >>>>
> >>>> ifconfig | grep inet[^6] | awk '{print $2}' | sed 's/addr://' | grep
> -v
> >>>> 0.0.0.0 | grep -v 127.0.0.1 | head -n 1
> >>>>
> >>>>
> >>>> Any reason for using this logic instead of a hostname -i and using
> >>>> reverse dns lookup? I have a cluster where the order of nics on one
> of the
> >>>> nodes is in a different order and ifconfig returns a IP from a
> different
> >>>> subnet than for other nodes. But DNS and reverse DNS are properly
> >>>> configured.
> >>>>
> >>>> Thanks
> >>>>
> >>>> CONFIDENTIALITY NOTICE
> >>>> NOTICE: This message is intended for the use of the individual or
> entity
> >>>> to which it is addressed and may contain information that is
> confidential,
> >>>> privileged and exempt from disclosure under applicable law. If the
> reader of
> >>>> this message is not the intended recipient, you are hereby notified
> that any
> >>>> printing, copying, dissemination, distribution, disclosure or
> forwarding of
> >>>> this communication is strictly prohibited. If you have received this
> >>>> communication in error, please contact the sender immediately and
> delete it
> >>>> from your system. Thank You.
> >>>
> >>>
> >>
> >>
> >>
> >> --
> >> Sean
> >
> >
>