Users who access Hadoop externally do so either through Knox, via the Apache REST API, or through the Hadoop CLI tools.
The following diagram shows how Apache Knox fits into a Hadoop deployment.

NN=NameNode, RM=Resource Manager, DN=DataNote, NM=NodeManager