Ephemeral data port

Made it so that master and worker supports ephemeral ports (aka, system finds a free port).  Was going to add data port config, but turns out that `tachyon.worker.data.port` was already set for this.  

I want to clean up the patch a bit more, so shouldn't be merged yet.  Also, this patch won't be enough to make tests run concurrently (need a thread-safe/ isolated config).
0 is ephemeral port, so random port given
On Aug 1, 2014 6:16 PM, "Haoyuan Li" <notifications@github.com> wrote:

> In core/src/main/java/tachyon/master/TachyonMaster.java:
>
> > @@ -86,7 +88,10 @@ public TachyonMaster(InetSocketAddress address, int webPort, int selectorThreads
> >      mWorkerThreads = workerThreads;
> >
> >      try {
> > -      mMasterAddress = address;
> > +      mServerTNonblockingServerSocket = new TNonblockingServerSocket(address);
> > +      PORT = NetworkUtils.getPort(mServerTNonblockingServerSocket);
>
> why not just take the port from address?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/amplab/tachyon/pull/292/files#r15725965>.
>