Thanks Bin Fan, that clears it up. It's very confusing that it accepts that URI format, but ignores it. It works perfectly using the properties file. Thank you.
Another issue we've run into deals with running alluxio in docker containers, behind an internal marathon-lb instance. If anyone has done this before, it would be a great help to hear the setup.
We have one master and one worker and when I run the above code, it will now hit the master correctly through the load balancer, but the master returns the docker instance id for the worker, then the client attempts to connect to that.
Of course this fails as it can't resolve that host name. We are calling it from within a VPC on AWS and due to the nature of DCOS and marathon, the IPs will not remain static in the case of failover, so in order to hit these instances, we have to send the requests through the load balancer to access them from within the VPC.
Is there a workaround for this use case, or any way to get this running on DCOS/Marathon? I saw some Mesos specific setup information in the docs, but did not think that applied here because of the marathon containerization. But maybe there's some configuration I'm missing here.
Perhaps our Dockerfile should kick off vagrant with the mesos framework?