You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Swapan Shridhar <ss...@hortonworks.com> on 2016/04/09 09:30:50 UTC

Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/
-----------------------------------------------------------

Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.


Bugs: AMBARI-15785
    https://issues.apache.org/jira/browse/AMBARI-15785


Repository: ambari


Description
-------

HiveServerInteractive. Kerberos Support. 

- Needs to have hive keytabs on all nodemanagers.
- Hive Server Interactive needs same keytabs as HiveServer and Metastore.


Diffs
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 9050092 

Diff: https://reviews.apache.org/r/45972/diff/


Testing
-------

- Partially done.
- Currently blocked by : https://hortonworks.jira.com/browse/BUG-55791
- 
- Python UT : PASSES.


Thanks,

Swapan Shridhar


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.

> On April 9, 2016, 4:04 p.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py, line 89
> > <https://reviews.apache.org/r/45972/diff/1/?file=1337941#file1337941line89>
> >
> >     Will this not always be true? What is the expected value of status to go in to the if condition

With the code shuffling as part of fix for 'Restart LLAP', status is not being returned from _start_llap and start() skips starting HSI. This is a stop gap thing till we add status check based on "service hive status" comamand.


> On April 9, 2016, 4:04 p.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py, line 183
> > <https://reviews.apache.org/r/45972/diff/1/?file=1337941#file1337941line183>
> >
> >     --loglevel is probably default set to INFO. Do we need to pass that in explicitly?

I am supposed to read these values from the config, and along with that add multiple other params that we are not adding as part of LLAP package creation. Will be fixed that time.


> On April 9, 2016, 4:04 p.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py, line 241
> > <https://reviews.apache.org/r/45972/diff/1/?file=1337941#file1337941line241>
> >
> >     On which host should these directories be created? It seems to be needed on all hosts where llap is running - at least based on the name.
> >     
> >     Also, we should be using the Directory construct to create the directories.

Will check with Sergey on this and use Directory  contruct.


> On April 9, 2016, 4:04 p.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml, line 477
> > <https://reviews.apache.org/r/45972/diff/1/?file=1337943#file1337943line477>
> >
> >     Change the default to /hadoop/llap/local

Ok.


- Swapan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review127987
-----------------------------------------------------------


On April 9, 2016, 9:33 p.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 9, 2016, 9:33 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 9050092 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Sumit Mohanty <sm...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review127987
-----------------------------------------------------------




ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py (line 89)
<https://reviews.apache.org/r/45972/#comment191383>

    Will this not always be true? What is the expected value of status to go in to the if condition



ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py (line 183)
<https://reviews.apache.org/r/45972/#comment191384>

    --loglevel is probably default set to INFO. Do we need to pass that in explicitly?



ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py (line 240)
<https://reviews.apache.org/r/45972/#comment191385>

    On which host should these directories be created? It seems to be needed on all hosts where llap is running - at least based on the name.
    
    Also, we should be using the Directory construct to create the directories.



ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml (line 477)
<https://reviews.apache.org/r/45972/#comment191386>

    Change the default to /hadoop/llap/local


- Sumit Mohanty


On April 9, 2016, 7:30 a.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 9, 2016, 7:30 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 9050092 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Currently blocked by : https://hortonworks.jira.com/browse/BUG-55791
> - 
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.

> On April 11, 2016, 5:18 a.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py, line 137
> > <https://reviews.apache.org/r/45972/diff/2/?file=1338575#file1338575line137>
> >
> >     why the check for params.current_version to be not None?

Fixed. Doesn't make sense there.


> On April 11, 2016, 5:18 a.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py, line 184
> > <https://reviews.apache.org/r/45972/diff/2/?file=1338575#file1338575line184>
> >
> >     Do not hard code path to folder .slider/keytabs/hive - hive. The setup_security() method is using {params.hive_user}. Use the same here as well.

Done.


> On April 11, 2016, 5:18 a.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py, line 504
> > <https://reviews.apache.org/r/45972/diff/2/?file=1338576#file1338576line504>
> >
> >     Remove the variable llap_local_dir

Removed. Not required till we decide on creating LLAP related work dirs.


- Swapan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review128067
-----------------------------------------------------------


On April 11, 2016, 5:03 a.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 5:03 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py a3009ee 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Sumit Mohanty <sm...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review128067
-----------------------------------------------------------




ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py (line 137)
<https://reviews.apache.org/r/45972/#comment191454>

    why the check for params.current_version to be not None?



ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py (line 184)
<https://reviews.apache.org/r/45972/#comment191456>

    Do not hard code path to folder .slider/keytabs/hive - hive. The setup_security() method is using {params.hive_user}. Use the same here as well.



ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py (line 504)
<https://reviews.apache.org/r/45972/#comment191457>

    Remove the variable llap_local_dir


- Sumit Mohanty


On April 11, 2016, 5:03 a.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 5:03 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py a3009ee 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.

> On April 11, 2016, 6:27 p.m., Alejandro Fernandez wrote:
> > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py, line 89
> > <https://reviews.apache.org/r/45972/diff/4/?file=1339613#file1339613line89>
> >
> >     status should be True or False.

Done.


> On April 11, 2016, 6:27 p.m., Alejandro Fernandez wrote:
> > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py, line 173
> > <https://reviews.apache.org/r/45972/diff/4/?file=1339613#file1339613line173>
> >
> >     This should return the status. True if it was started or is already running.

Fixed.


- Swapan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review128191
-----------------------------------------------------------


On April 11, 2016, 6:22 p.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 6:22 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py a3009ee 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review128191
-----------------------------------------------------------


Fix it, then Ship it!





ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py (line 89)
<https://reviews.apache.org/r/45972/#comment191579>

    status should be True or False.



ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py (line 173)
<https://reviews.apache.org/r/45972/#comment191580>

    This should return the status. True if it was started or is already running.


- Alejandro Fernandez


On April 11, 2016, 6:22 p.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 6:22 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py a3009ee 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Robert Levas <rl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review128203
-----------------------------------------------------------


Ship it!




Ship It!

- Robert Levas


On April 11, 2016, 2:48 p.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 2:48 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 1812d05 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review128206
-----------------------------------------------------------


Fix it, then Ship it!





ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py (line 96)
<https://reviews.apache.org/r/45972/#comment191593>

    this needs to be raise Exception("...")


- Alejandro Fernandez


On April 11, 2016, 6:48 p.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 6:48 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 1812d05 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review128237
-----------------------------------------------------------


Ship it!




Ship It!

- Alejandro Fernandez


On April 11, 2016, 8:24 p.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 8:24 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 1812d05 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/
-----------------------------------------------------------

(Updated April 11, 2016, 8:24 p.m.)


Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.


Bugs: AMBARI-15785
    https://issues.apache.org/jira/browse/AMBARI-15785


Repository: ambari


Description
-------

HiveServerInteractive. Kerberos Support. 

- Needs to have hive keytabs on all nodemanagers.
- Hive Server Interactive needs same keytabs as HiveServer and Metastore.


Diffs (updated)
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 1812d05 

Diff: https://reviews.apache.org/r/45972/diff/


Testing
-------

- Partially done.
- Python UT : PASSES.


Thanks,

Swapan Shridhar


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Sumit Mohanty <sm...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review128205
-----------------------------------------------------------


Ship it!




Ship It!

- Sumit Mohanty


On April 11, 2016, 6:48 p.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 6:48 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 1812d05 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/
-----------------------------------------------------------

(Updated April 11, 2016, 6:48 p.m.)


Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.


Bugs: AMBARI-15785
    https://issues.apache.org/jira/browse/AMBARI-15785


Repository: ambari


Description
-------

HiveServerInteractive. Kerberos Support. 

- Needs to have hive keytabs on all nodemanagers.
- Hive Server Interactive needs same keytabs as HiveServer and Metastore.


Diffs (updated)
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 1812d05 

Diff: https://reviews.apache.org/r/45972/diff/


Testing
-------

- Partially done.
- Python UT : PASSES.


Thanks,

Swapan Shridhar


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/
-----------------------------------------------------------

(Updated April 11, 2016, 6:41 p.m.)


Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.


Changes
-------

Alejandro's suggestions incorporated


Bugs: AMBARI-15785
    https://issues.apache.org/jira/browse/AMBARI-15785


Repository: ambari


Description
-------

HiveServerInteractive. Kerberos Support. 

- Needs to have hive keytabs on all nodemanagers.
- Hive Server Interactive needs same keytabs as HiveServer and Metastore.


Diffs (updated)
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 1812d05 

Diff: https://reviews.apache.org/r/45972/diff/


Testing
-------

- Partially done.
- Python UT : PASSES.


Thanks,

Swapan Shridhar


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/
-----------------------------------------------------------

(Updated April 11, 2016, 6:22 p.m.)


Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.


Changes
-------

Diffs updated.


Bugs: AMBARI-15785
    https://issues.apache.org/jira/browse/AMBARI-15785


Repository: ambari


Description
-------

HiveServerInteractive. Kerberos Support. 

- Needs to have hive keytabs on all nodemanagers.
- Hive Server Interactive needs same keytabs as HiveServer and Metastore.


Diffs (updated)
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py a3009ee 

Diff: https://reviews.apache.org/r/45972/diff/


Testing
-------

- Partially done.
- Python UT : PASSES.


Thanks,

Swapan Shridhar


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.

> On April 11, 2016, 3:23 p.m., Robert Levas wrote:
> > ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py, line 503
> > <https://reviews.apache.org/r/45972/diff/3/?file=1338617#file1338617line503>
> >
> >     Will this _always_ be a headless principal?  If not, maybe rename and also attempt to change `_HOST` to the current FQDN.

its headless requirement here.


> On April 11, 2016, 3:23 p.m., Robert Levas wrote:
> > ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json, line 81
> > <https://reviews.apache.org/r/45972/diff/3/?file=1338620#file1338620line81>
> >
> >     This value must include the cluster's name like other _headless_ principals.  This is to help avoid name collisions when multiple Ambari clusters share the same KDC or AD.
> >     
> >     Example:  `hive-${cluster-name}@${realm}`
> >     
> >     Also, hard-coding `hive` here is probably not a good idea.  Maybe use `${hive-env/hive-user}`

There is a tracker opened on LLAP/Hive as they dont support giving luster name in headless one. We can track it in a separate bug, till the time it gets fixed at LLAP.

>> Also, hard-coding hive here is probably not a good idea.  Maybe use ${hive-env/hive-user}

Problem is that if we kerberize the cluster before HIVE is installed.. We won't have hive user created, thus no "${hive-env/hive-user}"


> On April 11, 2016, 3:23 p.m., Robert Levas wrote:
> > ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json, lines 42-62
> > <https://reviews.apache.org/r/45972/diff/3/?file=1338619#file1338619line42>
> >
> >     Possibly change this to:
> >     
> >     `
> >     {
> >       "name": "/HIVE/HIVE_SEVER/hive_server_hive",
> >       "principal": {
> >         "configuration": "hive-site/hive.metastore.kerberos.principal"
> >       },
> >       "keytab": {
> >         "configuration": "hive-site/hive.metastore.kerberos.keytab.file"
> >       }
> >     }
> >     `

Fixed.


- Swapan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review128131
-----------------------------------------------------------


On April 11, 2016, 5:56 a.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 5:56 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py a3009ee 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Robert Levas <rl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/#review128131
-----------------------------------------------------------




ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py (line 503)
<https://reviews.apache.org/r/45972/#comment191503>

    Will this _always_ be a headless principal?  If not, maybe rename and also attempt to change `_HOST` to the current FQDN.



ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json (lines 42 - 62)
<https://reviews.apache.org/r/45972/#comment191505>

    Possibly change this to:
    
    `
    {
      "name": "/HIVE/HIVE_SEVER/hive_server_hive",
      "principal": {
        "configuration": "hive-site/hive.metastore.kerberos.principal"
      },
      "keytab": {
        "configuration": "hive-site/hive.metastore.kerberos.keytab.file"
      }
    }
    `



ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json (line 81)
<https://reviews.apache.org/r/45972/#comment191504>

    This value must include the cluster's name like other _headless_ principals.  This is to help avoid name collisions when multiple Ambari clusters share the same KDC or AD.
    
    Example:  `hive-${cluster-name}@${realm}`
    
    Also, hard-coding `hive` here is probably not a good idea.  Maybe use `${hive-env/hive-user}`


- Robert Levas


On April 11, 2016, 1:56 a.m., Swapan Shridhar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45972/
> -----------------------------------------------------------
> 
> (Updated April 11, 2016, 1:56 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15785
>     https://issues.apache.org/jira/browse/AMBARI-15785
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServerInteractive. Kerberos Support. 
> 
> - Needs to have hive keytabs on all nodemanagers.
> - Hive Server Interactive needs same keytabs as HiveServer and Metastore.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py a3009ee 
> 
> Diff: https://reviews.apache.org/r/45972/diff/
> 
> 
> Testing
> -------
> 
> - Partially done.
> - Python UT : PASSES.
> 
> 
> Thanks,
> 
> Swapan Shridhar
> 
>


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/
-----------------------------------------------------------

(Updated April 11, 2016, 5:56 a.m.)


Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.


Changes
-------

Fixed as per review comments.


Bugs: AMBARI-15785
    https://issues.apache.org/jira/browse/AMBARI-15785


Repository: ambari


Description
-------

HiveServerInteractive. Kerberos Support. 

- Needs to have hive keytabs on all nodemanagers.
- Hive Server Interactive needs same keytabs as HiveServer and Metastore.


Diffs (updated)
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py a3009ee 

Diff: https://reviews.apache.org/r/45972/diff/


Testing
-------

- Partially done.
- Python UT : PASSES.


Thanks,

Swapan Shridhar


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/
-----------------------------------------------------------

(Updated April 11, 2016, 5:03 a.m.)


Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.


Changes
-------

Removed '/hadoop/llap/local' di creation for Kerberized cluster.


Bugs: AMBARI-15785
    https://issues.apache.org/jira/browse/AMBARI-15785


Repository: ambari


Description
-------

HiveServerInteractive. Kerberos Support. 

- Needs to have hive keytabs on all nodemanagers.
- Hive Server Interactive needs same keytabs as HiveServer and Metastore.


Diffs (updated)
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py a3009ee 

Diff: https://reviews.apache.org/r/45972/diff/


Testing
-------

- Partially done.
- Python UT : PASSES.


Thanks,

Swapan Shridhar


Re: Review Request 45972: AMBARI-15785. HiveServerInteractive. Kerberos Support.

Posted by Swapan Shridhar <ss...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45972/
-----------------------------------------------------------

(Updated April 9, 2016, 9:33 p.m.)


Review request for Ambari, Alejandro Fernandez, Jaimin Jetly, Robert Levas, and Sumit Mohanty.


Changes
-------

Updated Description.


Bugs: AMBARI-15785
    https://issues.apache.org/jira/browse/AMBARI-15785


Repository: ambari


Description
-------

HiveServerInteractive. Kerberos Support. 

- Needs to have hive keytabs on all nodemanagers.
- Hive Server Interactive needs same keytabs as HiveServer and Metastore.


Diffs
-----

  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py 055296b 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py c7d57c0 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/hive-interactive-site.xml 5830a52 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 9050092 

Diff: https://reviews.apache.org/r/45972/diff/


Testing (updated)
-------

- Partially done.
- Python UT : PASSES.


Thanks,

Swapan Shridhar