Each time an FS instance is created a Getacl call is made. If the call fails with 400 Bad request, the account is determined to be a non-HNS account.
Recommendation is to create a config and be able to avoid store calls to determine account HNS status,
If config is available, use that to determine account HNS status. If config is not present in core-site, default behaviour will be calling getAcl.
- links to