Support Questions

Find answers, ask questions, and share your expertise

What is Gateway and NFS Gateway

avatar
Rising Star

Dear Team,

 

What is Gateway in cloudera and what it does in cluster.

What is NFS gateway in cloudera and what it does in cluster.

 

Thanks and Regards,

Neelesh

1 ACCEPTED SOLUTION

avatar
Guru
The term gateway may be used in lots of contexts - it usually refers to a
machine or service that acts as an entry point to other services. For
example, your entire cluster might be behind a firewall which blocks all
inbound traffic, except that it allows you to log in to one of the
machines. From that machine, you can submit jobs or interact with any of
the services in the cluster. That machine would be called a "gateway".
Often in a Cloudera context, a gateway is just that: a machine that you're
supposed to log into to carry out some tasks that aren't possible from
outside the cluster. Cloudera Manager might manage the machine (meaning it
deploys configuration to it and does basic health checks) but not run any
CDH services on it.

The NFS gateway is a similar idea. It connects to your HDFS cluster and
exposes the filesystem via the NFS protocol. So you might not expose all of
the HDFS ports to your network, but you might expose just the NFS service,
and it therefore acts as a gateway.

View solution in original post

4 REPLIES 4

avatar
Guru
The term gateway may be used in lots of contexts - it usually refers to a
machine or service that acts as an entry point to other services. For
example, your entire cluster might be behind a firewall which blocks all
inbound traffic, except that it allows you to log in to one of the
machines. From that machine, you can submit jobs or interact with any of
the services in the cluster. That machine would be called a "gateway".
Often in a Cloudera context, a gateway is just that: a machine that you're
supposed to log into to carry out some tasks that aren't possible from
outside the cluster. Cloudera Manager might manage the machine (meaning it
deploys configuration to it and does basic health checks) but not run any
CDH services on it.

The NFS gateway is a similar idea. It connects to your HDFS cluster and
exposes the filesystem via the NFS protocol. So you might not expose all of
the HDFS ports to your network, but you might expose just the NFS service,
and it therefore acts as a gateway.

avatar
New Contributor
Can we Setup an NFS Gateway for a node outside of the Cluster?

avatar
New Contributor

Thank you very much for your answer. Then it's almost the same to add a HDFS role of gateway respect an HDFS role of NFS gateway? It seems, in my case, that it's working properly.

 

Many thanks in advance

 

Steve

avatar
New Contributor

Hi,

 

Gateway in cluster is a node it is enabled uses to connect to cluster with limited access and user need not access to every nodes in cluster.

 

User will have access to this gateway node and interaction between Hadoop and user will happen via this node.

 

Gateway node is also called Edge node, connecting node.

 

~Ramesha