Hi everyone. We had some tests which were using HBaseTestingUtility to start a 
single node cluster. These worked fine on our desktops and testing 
environments, but when we switched to running the tests on Amazon Web Services, 
startMiniCluster() raised a BindException:

>      [exec]     u.startMiniCluster(1)
>      [exec] BindException: java.net.BindException: Problem binding to 
> /10.35.75.130:0 : Cannot assign requested address

I'm guessing the issue here is that it's using port 0 for some reason. In 
previous environments, a random port was automatically selected (by 
HBaseTestingUtility, I assume). We had no other configuration aside from any 
defaults. The code is just an instantiation of HBaseTestingUtility followed by 
startMiniCluster(1). Migrating our testing to AWS seems to have broken this.

Any ideas?

thanks,
Ian.

Reply via email to