AnsweredAssumed Answered

FileSystem.get(URI.create(maprfsURL), conf);

Question asked by matroyd on Feb 15, 2013
Latest reply on Mar 8, 2013 by matroyd
We use HDFS API from a java application to connect to MapR. API is used as follows:

    FileSystem.get(URI.create("maprfs://hostname1:7222/mapr/"), conf);

hostname1 is part of one MapR environment(say DEV).
This works reliably. However, one of the servers in DEV MapR installation on which there exists a


... (and that contains an entry for hostname1) we are not able to point to a different MapR installation from java code. E.g. maprfs://hostname2:7222/mapr/ where hostname2 is in the MapR installation of a different environment(say UAT). The DEV and UAT MapR installations are insulated from each other.

Does the mapr-clusters.conf file take precedence over the url passed in java code?

Thanks in advance for your help and advice. MapR rocks !!!
[we are using mapr v2 from 64 bit RHEL]