I'm fairly new to Alluxio and have just set up a cluster on DCOS. While trying to connect via the Java client, I noticed there was an option to enter the hostname and port in the AlluxioURI constructor.
val path = new AlluxioURI(s"alluxio://<remote master ip>:19998/test.csv");
However, it still tries to connect to a local instance in this case. After some digging (and some communication in the alluxio mailing list), I realized it is necessary to use an alluxio-site.properties file within my project. This was not very clear and confusing since the URI accepts it, and even validates the format, but ignores it.
This functionality should either be enabled or removed and the documentation cleared up. As far as the documentation is concerned, it is not entirely clear that the same configuration file that the server uses should be used for the client as well.
Alluxio v1.2.0 server and Java client
For this ticket we should raise an error if an Alluxio URI uses a hostname/port that is different from the hostname/port in the Alluxio configuration. If you're interested please take it and I'll be happy to review.
In the long run we'll want to respect the hostname/port specified in the URI, but the current system assumes in many places that there is only one Alluxio master, so it will take some significant work.
Ok. I will try to fix it.
How's the progress on this, would you like any opinions on your approach?
I did nothing for the task. I haven't time for working in the project yet