Hi Max/Tom – apologies for the late reply, however as long as the cluster hdfs-site.xml and core-site.xml is included in the topology during build, the nameservice ID can be used in the HDFSBolt initialization code and it will resolve to the active NameNode.
HdfsBolt bolt = new HdfsBolt().withFsURL(“hdfs://myNameserviceID”)HdfsBolt bolt = new HdfsBolt()
.withFsURL(“hdfs://myNameserviceID”)
.withFileNameFormat(fileNameformat)
.withRecordFormat(format)
.withRotationPolicy(rotationPolicy)
.withSynPolicy(syncPolicy);
Hope this helps,
Koelli