It would simplify things a lot for people running ufw on Ubuntu (the standard firewall package) if there were application profiles for the various things so that people don't have to look up ports and so on (and it makes firewall management much easier).
This is really simple, for Hue, it would be a file named /etc/ufw/applications.d/hue with this content:
title=Hue for Hadoop
description=Hue for Hadoop provides a web-based user interface to your Hadoop cluster.
Then, it can be enabled for the world as ufw allow hue and it would show up in ufw status:
- ufw status
To Action From
– ------ ----
OpenSSH ALLOW Anywhere
Apache ALLOW Anywhere
Postfix ALLOW Anywhere
Hue ALLOW Anywhere