You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Sid Wagle <sw...@hortonworks.com> on 2014/11/06 04:00:39 UTC

Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

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

Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, and Mahadev Konar.


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


Repository: ambari


Description
-------

Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.

2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 25c1067 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 158dfc0 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 

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


Testing
-------

----------------------------------------------------------------------
Ran 242 tests in 3.666s

OK
----------------------------------------------------------------------
Total run:683
Total errors:0
Total failures:0
OK


Thanks,

Sid Wagle


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

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

Ship it!


Ship It!

- Alejandro Fernandez


On Nov. 6, 2014, 3 a.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27663/
> -----------------------------------------------------------
> 
> (Updated Nov. 6, 2014, 3 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, and Mahadev Konar.
> 
> 
> Bugs: AMBARI-8174
>     https://issues.apache.org/jira/browse/AMBARI-8174
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.
> 
> 2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
> java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
> at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 25c1067 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 158dfc0 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 
> 
> Diff: https://reviews.apache.org/r/27663/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 242 tests in 3.666s
> 
> OK
> ----------------------------------------------------------------------
> Total run:683
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27663/#review60135
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On Nov. 6, 2014, 3 a.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27663/
> -----------------------------------------------------------
> 
> (Updated Nov. 6, 2014, 3 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, and Mahadev Konar.
> 
> 
> Bugs: AMBARI-8174
>     https://issues.apache.org/jira/browse/AMBARI-8174
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.
> 
> 2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
> java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
> at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 25c1067 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 158dfc0 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 
> 
> Diff: https://reviews.apache.org/r/27663/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 242 tests in 3.666s
> 
> OK
> ----------------------------------------------------------------------
> Total run:683
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27663/#review60177
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On Nov. 6, 2014, 4:27 p.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27663/
> -----------------------------------------------------------
> 
> (Updated Nov. 6, 2014, 4:27 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.
> 
> 
> Bugs: AMBARI-8174
>     https://issues.apache.org/jira/browse/AMBARI-8174
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.
> 
> 2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
> java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
> at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 25c1067 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 158dfc0 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 
> 
> Diff: https://reviews.apache.org/r/27663/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 242 tests in 3.666s
> 
> OK
> ----------------------------------------------------------------------
> Total run:683
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27663/#review60179
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Nov. 6, 2014, 4:27 p.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27663/
> -----------------------------------------------------------
> 
> (Updated Nov. 6, 2014, 4:27 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.
> 
> 
> Bugs: AMBARI-8174
>     https://issues.apache.org/jira/browse/AMBARI-8174
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.
> 
> 2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
> java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
> at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 25c1067 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 158dfc0 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 
> 
> Diff: https://reviews.apache.org/r/27663/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 242 tests in 3.666s
> 
> OK
> ----------------------------------------------------------------------
> Total run:683
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

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

Ship it!


Ship It!

- Alejandro Fernandez


On Nov. 6, 2014, 4:59 p.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27663/
> -----------------------------------------------------------
> 
> (Updated Nov. 6, 2014, 4:59 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.
> 
> 
> Bugs: AMBARI-8174
>     https://issues.apache.org/jira/browse/AMBARI-8174
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.
> 
> 2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
> java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
> at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 25c1067 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 158dfc0 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 
> 
> Diff: https://reviews.apache.org/r/27663/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 242 tests in 3.666s
> 
> OK
> ----------------------------------------------------------------------
> Total run:683
> Total errors:0
> Total failures:0
> OK
> 
> 
> File Attachments
> ----------------
> 
> AMBARI-8174-fix.patch
>   https://reviews.apache.org/media/uploaded/files/2014/11/06/7d375ad8-3feb-4d5b-9097-a5ab5b26cda7__AMBARI-8174-fix.patch
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

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

Ship it!


Ship It!

- Alejandro Fernandez


On Nov. 7, 2014, 3:05 a.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27663/
> -----------------------------------------------------------
> 
> (Updated Nov. 7, 2014, 3:05 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.
> 
> 
> Bugs: AMBARI-8174
>     https://issues.apache.org/jira/browse/AMBARI-8174
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.
> 
> 2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
> java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
> at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/core/source.py 22e1c6d 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py c192682 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py c177d9c 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml d186922 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py 7f6c43b 
> 
> Diff: https://reviews.apache.org/r/27663/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 242 tests in 3.666s
> 
> OK
> ----------------------------------------------------------------------
> Total run:683
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

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

Ship it!


Ship It!

- Alejandro Fernandez


On Nov. 7, 2014, 7:45 p.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27663/
> -----------------------------------------------------------
> 
> (Updated Nov. 7, 2014, 7:45 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.
> 
> 
> Bugs: AMBARI-8174
>     https://issues.apache.org/jira/browse/AMBARI-8174
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.
> 
> 2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
> java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
> at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HDFS/configuration/hadoop-env.xml b187b38 
>   ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hadoop-env.xml c06ed20 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/GLUSTERFS/configuration/hadoop-env.xml e2bda1e 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hadoop-env.xml 316407a 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
>   ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/GLUSTERFS/configuration/hadoop-env.xml e2bda1e 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 4c60fb2 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 
> 
> Diff: https://reviews.apache.org/r/27663/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 242 tests in 3.666s
> 
> OK
> ----------------------------------------------------------------------
> Total run:683
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

Posted by Sid Wagle <sw...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27663/
-----------------------------------------------------------

(Updated Nov. 7, 2014, 7:45 p.m.)


Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.


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


Repository: ambari


Description
-------

Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.

2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)


Diffs (updated)
-----

  ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HDFS/configuration/hadoop-env.xml b187b38 
  ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hadoop-env.xml c06ed20 
  ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/GLUSTERFS/configuration/hadoop-env.xml e2bda1e 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hadoop-env.xml 316407a 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
  ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/GLUSTERFS/configuration/hadoop-env.xml e2bda1e 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 4c60fb2 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 

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


Testing
-------

----------------------------------------------------------------------
Ran 242 tests in 3.666s

OK
----------------------------------------------------------------------
Total run:683
Total errors:0
Total failures:0
OK


Thanks,

Sid Wagle


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27663/#review60329
-----------------------------------------------------------



ambari-common/src/main/python/resource_management/core/source.py
<https://reviews.apache.org/r/27663/#comment101691>

    Plese you minus { -%}, where you need. trimming blocks everywhere will lead to a unability to tabulate where we need.


- Andrew Onischuk


On Nov. 7, 2014, 3:05 a.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27663/
> -----------------------------------------------------------
> 
> (Updated Nov. 7, 2014, 3:05 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.
> 
> 
> Bugs: AMBARI-8174
>     https://issues.apache.org/jira/browse/AMBARI-8174
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.
> 
> 2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
> java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
> at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/core/source.py 22e1c6d 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py c192682 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py c177d9c 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml d186922 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py 7f6c43b 
> 
> Diff: https://reviews.apache.org/r/27663/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 242 tests in 3.666s
> 
> OK
> ----------------------------------------------------------------------
> Total run:683
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

Posted by Sid Wagle <sw...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27663/
-----------------------------------------------------------

(Updated Nov. 7, 2014, 3:05 a.m.)


Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.


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


Repository: ambari


Description
-------

Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.

2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)


Diffs (updated)
-----

  ambari-common/src/main/python/resource_management/core/source.py 22e1c6d 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py c192682 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py c177d9c 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml d186922 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py 7f6c43b 

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


Testing
-------

----------------------------------------------------------------------
Ran 242 tests in 3.666s

OK
----------------------------------------------------------------------
Total run:683
Total errors:0
Total failures:0
OK


Thanks,

Sid Wagle


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27663/#review60187
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Nov. 6, 2014, 4:59 p.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27663/
> -----------------------------------------------------------
> 
> (Updated Nov. 6, 2014, 4:59 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.
> 
> 
> Bugs: AMBARI-8174
>     https://issues.apache.org/jira/browse/AMBARI-8174
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.
> 
> 2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
> java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
> at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
> at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 25c1067 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 158dfc0 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 
> 
> Diff: https://reviews.apache.org/r/27663/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 242 tests in 3.666s
> 
> OK
> ----------------------------------------------------------------------
> Total run:683
> Total errors:0
> Total failures:0
> OK
> 
> 
> File Attachments
> ----------------
> 
> AMBARI-8174-fix.patch
>   https://reviews.apache.org/media/uploaded/files/2014/11/06/7d375ad8-3feb-4d5b-9097-a5ab5b26cda7__AMBARI-8174-fix.patch
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

Posted by Sid Wagle <sw...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27663/
-----------------------------------------------------------

(Updated Nov. 6, 2014, 4:59 p.m.)


Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.


Changes
-------

Initialize dn_proc_user=hdf_user, so hadoop-env.xml always has a value for HDFS_DN_PROC_USER and does the right thing.


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


Repository: ambari


Description
-------

Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.

2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 25c1067 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 158dfc0 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 

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


Testing
-------

----------------------------------------------------------------------
Ran 242 tests in 3.666s

OK
----------------------------------------------------------------------
Total run:683
Total errors:0
Total failures:0
OK


File Attachments (updated)
----------------

AMBARI-8174-fix.patch
  https://reviews.apache.org/media/uploaded/files/2014/11/06/7d375ad8-3feb-4d5b-9097-a5ab5b26cda7__AMBARI-8174-fix.patch


Thanks,

Sid Wagle


Re: Review Request 27663: Ambari-deployed cluster can't start datanode as root from command line

Posted by Sid Wagle <sw...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27663/
-----------------------------------------------------------

(Updated Nov. 6, 2014, 4:27 p.m.)


Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Dmitro Lisnichenko, and Mahadev Konar.


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


Repository: ambari


Description
-------

Issue found during HDFS system test installed with ambari with Kerberos on, no wire encryption and no argus.

2014-11-03 12:48:07,890 FATAL datanode.DataNode (DataNode.java:secureMain(2385)) - Exception in secureMain
java.lang.RuntimeException: Cannot start secure DataNode without configuring either privileged resources or SASL RPC data transfer protection and SSL for HTTP. Using privileged resources in combination with SASL RPC data transfer protection is not supported.
at org.apache.hadoop.hdfs.server.datanode.DataNode.checkSecureConfig(DataNode.java:1122)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1023)


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py fa3b118 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/hdfs.py 25c1067 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py 22ce519 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/utils.py 14251cd 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 158dfc0 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_datanode.py b5b230d 

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


Testing
-------

----------------------------------------------------------------------
Ran 242 tests in 3.666s

OK
----------------------------------------------------------------------
Total run:683
Total errors:0
Total failures:0
OK


Thanks,

Sid Wagle