www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Re: Explicitly setting host name in /etc/hosts on Solaris slave(s)
Date Thu, 10 Jan 2013 05:43:46 GMT
Hi Gav,

Thanks for the reply.
I'll give the builds a spin and see where we are.
Lewis

On Wednesday, January 9, 2013, Gavin McDonald <gavin@16degrees.com.au>
wrote:
>
>
>> -----Original Message-----
>> From: Lewis John Mcgibbney [mailto:lewis.mcgibbney@gmail.com]
>> Sent: Thursday, 10 January 2013 12:45 PM
>> To: builds@apache.org
>> Subject: Explicitly setting host name in /etc/hosts on Solaris slave(s)
>>
>> Hi Builds@,
>>
>> In both Nutch builds [0][1] we're currently experiencing a problem where
>> Hadoop related tests fail with the following Exception
>>
>> > java.net.UnknownHostException: -s: -s
>>
>> From what I have gathered the "-s" output implies that some
Linux-specific
>> script was run as root on your Solaris machine and did a "hostname -s",
> which
>> on Linux prints the short hostname, but on Solaris sets the current
> hostname
>> of the machine to "-s".
>> I've been advised that a reboot will clear up that problem (however I
know
> it
>> is not possible for me to do this).
>> So the option is to ensure that the build machine's hostname is present
in
>> the /etc/hosts file. As I cannot view the existing file, is there a
> suggested way
>> to do this via a shell script pre-build?
>>
>> Any suggestions would be greatly appreciated.
>
> Thanks for pointing out that our Hudson slave instance had root access.
> Whoever did that wants shooting.
> Removed that level of access so it should not be possible to happen again.
> Hostname reset.
>
> Now to find who ran the script as sudo in the first place.
>
> Thanks
>
> Gav...
>
>>
>> Thank you
>> Lewis
>>
>> [0] https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-nutchgora/
>> [1] https://builds.apache.org/view/M-R/view/Nutch/job/Nutch-trunk/
>> --
>> *Lewis*
>
>

-- 
*Lewis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message