Re: setting up a local ubuntu VM for building and testing hadoop

2016-01-06 Thread Sangjin Lee
I tried that already, and in my case it doesn't seem to fix the problem. For example (my short hostname is "udesktop"), Running org.apache.hadoop.yarn.server.resourcemanager.TestAMAuthorization Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 11.936 sec <<< FAILURE! - in org.apache.

Re: setting up a local ubuntu VM for building and testing hadoop

2016-01-06 Thread Arun Suresh
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 ... On Wed, Jan 6, 2016 at 8:52 AM, Sangjin Lee wrote: > Has anyone set up an ubuntu VM to buil

setting up a local ubuntu VM for building and testing hadoop

2016-01-06 Thread Sangjin Lee
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 varia