You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Robert Levas <rl...@hortonworks.com> on 2015/06/26 17:39:24 UTC

Review Request 35926: Kerberos: prompts for HDFS ambari principals w/o hdfs in cluster

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

Review request for Ambari, Emil Anca, Mahadev Konar, Sumit Mohanty, and Tom Beerbower.


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


Repository: ambari


Description
-------

Installed HDP 2.2 cluster with only storm, zk, kafka, knox.

See attached. It includes prompting for HDFS Ambari principals although HDFS is not installed in cluster.

This should also not display once enabled. (under Admin > Kerberos).


Diffs
-----

  ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/kerberos.json 48a1280 
  ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/kerberos.json 33443e6 
  ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/kerberos.json ac5f49e 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/kerberos.json e743428 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json 7534bf9 
  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/kerberos.json 8998b98 
  ambari-server/src/main/resources/common-services/OOZIE/4.2.0.2.3/kerberos.json 5d17a8f 
  ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/kerberos.json fb8b04a 
  ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/kerberos.json 1332ae9 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/kerberos.json 015da1f 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/kerberos.json ff8dc2c 
  ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/ACCUMULO/kerberos.json f1939d6 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/ACCUMULO/kerberos.json 82d8336 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/kerberos.json 4926d65 
  ambari-server/src/test/resources/stacks/HDP/2.0.8/services/HDFS/kerberos.json 2f2b861 

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


Testing
-------

Manual tested

# Local unit tests results
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46:39.229s
[INFO] Finished at: Fri Jun 26 10:55:00 EDT 2015
[INFO] Final Memory: 65M/1343M
[INFO] ------------------------------------------------------------------------

# Jenkins test results: PENDING


Thanks,

Robert Levas


Re: Review Request 35926: Kerberos: prompts for HDFS ambari principals w/o hdfs in cluster

Posted by Mahadev Konar <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35926/#review89541
-----------------------------------------------------------

Ship it!


Ship It!

- Mahadev Konar


On June 26, 2015, 3:41 p.m., Robert Levas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35926/
> -----------------------------------------------------------
> 
> (Updated June 26, 2015, 3:41 p.m.)
> 
> 
> Review request for Ambari, Emil Anca, Mahadev Konar, Sumit Mohanty, and Tom Beerbower.
> 
> 
> Bugs: AMBARI-12156
>     https://issues.apache.org/jira/browse/AMBARI-12156
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Installed HDP 2.2 cluster with only storm, zk, kafka, knox.
> 
> When enabling Kerberos, the _Configure Principals_ page of the _Kerberos Wizard_  prompts for the HDFS Ambari principal and keytab file although HDFS is not installed in cluster.
> 
> The HDFS Ambari principal and keytab file should also not display once enabled. (under Admin > Kerberos).
> 
> # Solution
> - Move the HDFS identity to the HDFS Kerberos Descriptor (from the top-level descriptor). 
> - Change references to "/hdfs" to be "/HDFS/hdfs"
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/kerberos.json 48a1280 
>   ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/kerberos.json 33443e6 
>   ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/kerberos.json ac5f49e 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/kerberos.json e743428 
>   ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json 7534bf9 
>   ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/kerberos.json 8998b98 
>   ambari-server/src/main/resources/common-services/OOZIE/4.2.0.2.3/kerberos.json 5d17a8f 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/kerberos.json fb8b04a 
>   ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/kerberos.json 1332ae9 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/kerberos.json 015da1f 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/kerberos.json ff8dc2c 
>   ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/ACCUMULO/kerberos.json f1939d6 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/ACCUMULO/kerberos.json 82d8336 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/kerberos.json 4926d65 
>   ambari-server/src/test/resources/stacks/HDP/2.0.8/services/HDFS/kerberos.json 2f2b861 
> 
> Diff: https://reviews.apache.org/r/35926/diff/
> 
> 
> Testing
> -------
> 
> Manual tested
> 
> # Local unit tests results
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 46:39.229s
> [INFO] Finished at: Fri Jun 26 10:55:00 EDT 2015
> [INFO] Final Memory: 65M/1343M
> [INFO] ------------------------------------------------------------------------
> 
> # Jenkins test results: PENDING
> 
> 
> Thanks,
> 
> Robert Levas
> 
>


Re: Review Request 35926: Kerberos: prompts for HDFS ambari principals w/o hdfs in cluster

Posted by Tom Beerbower <tb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35926/#review89544
-----------------------------------------------------------

Ship it!


Ship It!

- Tom Beerbower


On June 26, 2015, 3:41 p.m., Robert Levas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35926/
> -----------------------------------------------------------
> 
> (Updated June 26, 2015, 3:41 p.m.)
> 
> 
> Review request for Ambari, Emil Anca, Mahadev Konar, Sumit Mohanty, and Tom Beerbower.
> 
> 
> Bugs: AMBARI-12156
>     https://issues.apache.org/jira/browse/AMBARI-12156
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Installed HDP 2.2 cluster with only storm, zk, kafka, knox.
> 
> When enabling Kerberos, the _Configure Principals_ page of the _Kerberos Wizard_  prompts for the HDFS Ambari principal and keytab file although HDFS is not installed in cluster.
> 
> The HDFS Ambari principal and keytab file should also not display once enabled. (under Admin > Kerberos).
> 
> # Solution
> - Move the HDFS identity to the HDFS Kerberos Descriptor (from the top-level descriptor). 
> - Change references to "/hdfs" to be "/HDFS/hdfs"
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/kerberos.json 48a1280 
>   ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/kerberos.json 33443e6 
>   ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/kerberos.json ac5f49e 
>   ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/kerberos.json e743428 
>   ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json 7534bf9 
>   ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/kerberos.json 8998b98 
>   ambari-server/src/main/resources/common-services/OOZIE/4.2.0.2.3/kerberos.json 5d17a8f 
>   ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/kerberos.json fb8b04a 
>   ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/kerberos.json 1332ae9 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/kerberos.json 015da1f 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/kerberos.json ff8dc2c 
>   ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/ACCUMULO/kerberos.json f1939d6 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/ACCUMULO/kerberos.json 82d8336 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/kerberos.json 4926d65 
>   ambari-server/src/test/resources/stacks/HDP/2.0.8/services/HDFS/kerberos.json 2f2b861 
> 
> Diff: https://reviews.apache.org/r/35926/diff/
> 
> 
> Testing
> -------
> 
> Manual tested
> 
> # Local unit tests results
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 46:39.229s
> [INFO] Finished at: Fri Jun 26 10:55:00 EDT 2015
> [INFO] Final Memory: 65M/1343M
> [INFO] ------------------------------------------------------------------------
> 
> # Jenkins test results: PENDING
> 
> 
> Thanks,
> 
> Robert Levas
> 
>


Re: Review Request 35926: Kerberos: prompts for HDFS ambari principals w/o hdfs in cluster

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

(Updated June 26, 2015, 11:41 a.m.)


Review request for Ambari, Emil Anca, Mahadev Konar, Sumit Mohanty, and Tom Beerbower.


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


Repository: ambari


Description (updated)
-------

Installed HDP 2.2 cluster with only storm, zk, kafka, knox.

When enabling Kerberos, the _Configure Principals_ page of the _Kerberos Wizard_  prompts for the HDFS Ambari principal and keytab file although HDFS is not installed in cluster.

The HDFS Ambari principal and keytab file should also not display once enabled. (under Admin > Kerberos).

# Solution
- Move the HDFS identity to the HDFS Kerberos Descriptor (from the top-level descriptor). 
- Change references to "/hdfs" to be "/HDFS/hdfs"


Diffs
-----

  ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/kerberos.json 48a1280 
  ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/kerberos.json 33443e6 
  ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/kerberos.json ac5f49e 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/kerberos.json e743428 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json 7534bf9 
  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/kerberos.json 8998b98 
  ambari-server/src/main/resources/common-services/OOZIE/4.2.0.2.3/kerberos.json 5d17a8f 
  ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/kerberos.json fb8b04a 
  ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/kerberos.json 1332ae9 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/kerberos.json 015da1f 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/kerberos.json ff8dc2c 
  ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/ACCUMULO/kerberos.json f1939d6 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/ACCUMULO/kerberos.json 82d8336 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/kerberos.json 4926d65 
  ambari-server/src/test/resources/stacks/HDP/2.0.8/services/HDFS/kerberos.json 2f2b861 

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


Testing
-------

Manual tested

# Local unit tests results
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46:39.229s
[INFO] Finished at: Fri Jun 26 10:55:00 EDT 2015
[INFO] Final Memory: 65M/1343M
[INFO] ------------------------------------------------------------------------

# Jenkins test results: PENDING


Thanks,

Robert Levas