I just had this same problem, I had to change this to use a hostname instead of NameServiceId. Curious as well how to get this to use HA Name Node… anyone found an answer?
HdfsBolt bolt1 = new HdfsBolt()
.withFsUrl(“hdfs://my.server.com”)
.withFileNameFormat(fileNameFormat)
.withRecordFormat(format)
.withRotationPolicy(rotationPolicy)
.withSyncPolicy(syncPolicy);