Skip to content

Commit

Permalink
Update configuring-kerberos.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
jayantshekhar committed Jan 3, 2018
1 parent 2beadbc commit 25b0183
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ Fire runs with a kerberized Spark cluster. Below are the steps for configuring i
Steps for generating the keytab for Fire
----------------------------------------

Below are the steps for generating the keytab file::
Below are the steps for generating the keytab file. **We have chosen sparkflows as the principal name. But you can have it as any user you are running Sparkflows Fire with**.

* Start kadmin.local and add the new principal ``sparkflows@VENICE.HADOOP``::

$ kadmin.local
**Create the sparkflows principal (can be a different name but be consistent in the next steps with whatever username you use)**
kadmin.local: addprinc -randkey sparkflows@VENICE.HADOOP
WARNING: no policy specified for sparkflows@VENICE.HADOOP; defaulting to no policy
Principal "sparkflows@VENICE.HADOOP" created.

Create sparkflows key tab file
* Create sparkflows key tab file

kadmin.local: xst -norandkey -k sparkflows.keytab sparkflows@VENICE.HADOOP

Expand All @@ -68,6 +68,8 @@ Below are the steps for generating the keytab file::

Entry for principal sparkflows@VENICE.HADOOP with kvno 1, encryption type des-cbc-md5 added to keytab WRFILE:sparkflows.keytab.

* Exit kadmin.local::

kadmin.local: exit
Expand Down

0 comments on commit 25b0183

Please sign in to comment.