Hello Sangjin
I had similar problems recently.. Got around it by modifying my /etc/hosts.
I just update the 127.0.0.1 entry to add the short hostname of the machine
like so :
...
127.0.0.1 localhost <short-hostname>
...


On Wed, Jan 6, 2016 at 8:52 AM, Sangjin Lee <sj...@apache.org> wrote:

> Has anyone set up an ubuntu VM to build hadoop and run unit tests locally?
> I'm familiar with setting up a linux machine to build and test hadoop, but
> a VM (I'm using Parallels on mac) seems to cause issues regarding resolving
> the localhost address. I get all kinds of UnknownHostExceptions and
> variations. I would greatly appreciate the pointers if anyone has set that
> up successfully. Thanks!
>
> Regards,
> Sangjin
>

Reply via email to