AnsweredAssumed Answered


Question asked by zsolt.kovacs on Oct 23, 2017
Latest reply on Nov 8, 2017 by jbubier

Using MapR and I try get some notification when MaprFS path changes, and try to run this code below, with all possible uri syntax described in link below:

String uri = "maprfs:///";
HdfsAdmin admin = new HdfsAdmin(URI.create(uri), new Configuration());
DFSInotifyEventInputStream eventStream = admin.getInotifyEventStream(0);

but I get Exception:

Exception in thread "main" java.lang.IllegalArgumentException: 'maprfs:///' is not an HDFS URI.

    at org.apache.hadoop.hdfs.client.HdfsAdmin.(

    at HdfsINotify.main(


What I'm missing?