Question - What are the steps to achieve security in Hadoop?
Answer -
In Hadoop, Kerberos – a network authentication protocol – is used to achieve security. Kerberos is designed to offer robust authentication for client/server applications via secret-key cryptography.
When you use Kerberos to access a service, you have to undergo three steps, each of which involves a message exchange with a server. The steps are as follows:
- Authentication – This is the first step wherein the client is authenticated via the authentication server, after which a time-stamped TGT (Ticket Granting Ticket) is given to the client.
- Authorization – In the second step, the client uses the TGT for requesting a service ticket from the TGS (Ticket Granting Server).
- Service Request – In the final step, the client uses the service ticket to authenticate themselves to the server.