turned out to be a firewall issue. Thanks everyone for all the suggestions and help.
Thanks Padma On Sun, Jul 1, 2018 at 3:27 PM, Padma Penumarthy <penumarthy.pa...@gmail.com > wrote: > Already tried that with no luck. > > Thanks > Padma > > > > On Sun, Jul 1, 2018 at 3:21 PM, Vitalii Diravka <vitalii.dira...@gmail.com > > wrote: > >> Hi Padma, >> >> Looks like you have wrong some hostname or ip in your /etc/hosts. >> Please find out more here [1], Sorabh has already answered a similar >> question :) >> >> [1] >> https://lists.apache.org/thread.html/%3CHE1PR07MB33068E59F25 >> 7a4d78f29304d84...@he1pr07mb3306.eurprd07.prod.outlook.com%3E >> >> Kind regards >> Vitalii >> >> >> On Mon, Jul 2, 2018 at 1:06 AM Padma Penumarthy < >> penumarthy.pa...@gmail.com> >> wrote: >> >> > I am getting the following error while trying to run unit tests on my >> mac. >> > Anyone has any idea what might be wrong ? >> > >> > 15:02:01.479 [Client-1] ERROR o.a.d.e.rpc.ConnectionMultiListener - >> Failed >> > to establish connection >> > java.util.concurrent.ExecutionException: >> > io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection >> > refused: homeportal/192.168.1.254:31010 >> > at io.netty.util.concurrent.AbstractFuture.get(AbstractFuture.java:54) >> > ~[netty-common-4.0.48.Final.jar:4.0.48.Final] >> > at >> > >> > org.apache.drill.exec.rpc.ConnectionMultiListener$Connection >> Handler.operationComplete(ConnectionMultiListener.java:90) >> > [classes/:na] >> > at >> > >> > org.apache.drill.exec.rpc.ConnectionMultiListener$Connection >> Handler.operationComplete(ConnectionMultiListener.java:77) >> > [classes/:na] >> > at >> > >> > io.netty.util.concurrent.DefaultPromise.notifyListener0(Defa >> ultPromise.java:507) >> > [netty-common-4.0.48.Final.jar:4.0.48.Final] >> > at >> > >> > io.netty.util.concurrent.DefaultPromise.notifyListeners0(Def >> aultPromise.java:500) >> > [netty-common-4.0.48.Final.jar:4.0.48.Final] >> > at >> > >> > io.netty.util.concurrent.DefaultPromise.notifyListenersNow(D >> efaultPromise.java:479) >> > [netty-common-4.0.48.Final.jar:4.0.48.Final] >> > at >> > >> > io.netty.util.concurrent.DefaultPromise.notifyListeners(Defa >> ultPromise.java:420) >> > [netty-common-4.0.48.Final.jar:4.0.48.Final] >> > at >> > io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPr >> omise.java:122) >> > [netty-common-4.0.48.Final.jar:4.0.48.Final] >> > at >> > >> > io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fu >> lfillConnectPromise(AbstractNioChannel.java:278) >> > [netty-transport-4.0.48.Final.jar:4.0.48.Final] >> > at >> > >> > io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fi >> nishConnect(AbstractNioChannel.java:294) >> > [netty-transport-4.0.48.Final.jar:4.0.48.Final] >> > at >> > io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEven >> tLoop.java:633) >> > [netty-transport-4.0.48.Final.jar:4.0.48.Final] >> > at >> > >> > io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimiz >> ed(NioEventLoop.java:580) >> > [netty-transport-4.0.48.Final.jar:4.0.48.Final] >> > at >> > >> > io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEve >> ntLoop.java:497) >> > [netty-transport-4.0.48.Final.jar:4.0.48.Final] >> > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459) >> > [netty-transport-4.0.48.Final.jar:4.0.48.Final] >> > at >> > >> > io.netty.util.concurrent.SingleThreadEventExecutor$2.run( >> SingleThreadEventExecutor.java:131) >> > [netty-common-4.0.48.Final.jar:4.0.48.Final] >> > >> > >> > Thanks >> > Padma >> > >> > >