You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2014/10/22 14:33:28 UTC

Review Request 27030: Missing /usr/hdp/current dir when Knox is installed

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

Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Using Ambari 1.7 to install Knox results in a installation error. The error is due to the missing directory /usr/hdp/current/. Knox is installed in /usr/hdp/2.2.0.0-913/knox/ but has no links in the directory /usr/hdp/current.
When other components like HDFS, Yarn etc are installed at the same time, the installation of knox works fine since the directory /usr/hdp/current is indeed created.


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox.py abd38bd 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox_gateway.py ccb5450 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/params.py 5c5abe4 
  ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py e61e787 

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


Testing
-------

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


Thanks,

Dmytro Sen


Re: Review Request 27030: Missing /usr/hdp/current dir when Knox is installed

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27030/
-----------------------------------------------------------

(Updated Окт. 22, 2014, 3:09 п.п.)


Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Using Ambari 1.7 to install Knox results in a installation error. The error is due to the missing directory /usr/hdp/current/. Knox is installed in /usr/hdp/2.2.0.0-913/knox/ but has no links in the directory /usr/hdp/current.
When other components like HDFS, Yarn etc are installed at the same time, the installation of knox works fine since the directory /usr/hdp/current is indeed created.


Diffs
-----

  ambari-agent/src/test/python/resource_management/TestExecuteResource.py 93d7064 
  ambari-common/src/main/python/resource_management/core/providers/system.py 61194bb 
  ambari-common/src/main/python/resource_management/core/shell.py ce3ae97 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox.py abd38bd 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox_gateway.py ccb5450 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/params.py 5c5abe4 
  ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py e61e787 

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


Testing (updated)
-------

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Main ....................................... SUCCESS [7.794s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.317s]
[INFO] Ambari Web ........................................ SUCCESS [1:15.378s]
[INFO] Ambari Views ...................................... SUCCESS [9.696s]
[INFO] Ambari Admin View ................................. SUCCESS [15.176s]
[INFO] Ambari Server ..................................... SUCCESS [20:42.457s]
[INFO] Ambari Agent ...................................... SUCCESS [10.346s]
[INFO] Ambari Client ..................................... SUCCESS [0.052s]
[INFO] Ambari Python Client .............................. SUCCESS [0.650s]
[INFO] Ambari Groovy Client .............................. SUCCESS [16.326s]
[INFO] Ambari Shell ...................................... SUCCESS [0.031s]
[INFO] Ambari Python Shell ............................... SUCCESS [0.040s]
[INFO] Ambari Groovy Shell ............................... SUCCESS [13.934s]


Thanks,

Dmytro Sen


Re: Review Request 27030: Missing /usr/hdp/current dir when Knox is installed

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

Ship it!


Ship It!

- Andrew Onischuk


On Oct. 22, 2014, 1:20 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27030/
> -----------------------------------------------------------
> 
> (Updated Oct. 22, 2014, 1:20 p.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-7898
>     https://issues.apache.org/jira/browse/AMBARI-7898
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Using Ambari 1.7 to install Knox results in a installation error. The error is due to the missing directory /usr/hdp/current/. Knox is installed in /usr/hdp/2.2.0.0-913/knox/ but has no links in the directory /usr/hdp/current.
> When other components like HDFS, Yarn etc are installed at the same time, the installation of knox works fine since the directory /usr/hdp/current is indeed created.
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/test/python/resource_management/TestExecuteResource.py 93d7064 
>   ambari-common/src/main/python/resource_management/core/providers/system.py 61194bb 
>   ambari-common/src/main/python/resource_management/core/shell.py ce3ae97 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox.py abd38bd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox_gateway.py ccb5450 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/params.py 5c5abe4 
>   ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py e61e787 
> 
> Diff: https://reviews.apache.org/r/27030/diff/
> 
> 
> Testing
> -------
> 
> OK
> ----------------------------------------------------------------------
> Total run:667
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Re: Review Request 27030: Missing /usr/hdp/current dir when Knox is installed

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27030/
-----------------------------------------------------------

(Updated Окт. 22, 2014, 1:20 п.п.)


Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Using Ambari 1.7 to install Knox results in a installation error. The error is due to the missing directory /usr/hdp/current/. Knox is installed in /usr/hdp/2.2.0.0-913/knox/ but has no links in the directory /usr/hdp/current.
When other components like HDFS, Yarn etc are installed at the same time, the installation of knox works fine since the directory /usr/hdp/current is indeed created.


Diffs (updated)
-----

  ambari-agent/src/test/python/resource_management/TestExecuteResource.py 93d7064 
  ambari-common/src/main/python/resource_management/core/providers/system.py 61194bb 
  ambari-common/src/main/python/resource_management/core/shell.py ce3ae97 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox.py abd38bd 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox_gateway.py ccb5450 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/params.py 5c5abe4 
  ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py e61e787 

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


Testing
-------

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


Thanks,

Dmytro Sen


Re: Review Request 27030: Missing /usr/hdp/current dir when Knox is installed

Posted by Dmytro Sen <ds...@hortonworks.com>.

> On Окт. 22, 2014, 1:05 п.п., Andrew Onischuk wrote:
> > I see we don't use path attribute now. Let's remove it in that case / or use it
> > 
> > path = ForcedListArgument(default=[])

It's still used in scripts for other services. Lets not to do that before release


- Dmytro


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


On Окт. 22, 2014, 1:02 п.п., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27030/
> -----------------------------------------------------------
> 
> (Updated Окт. 22, 2014, 1:02 п.п.)
> 
> 
> Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-7898
>     https://issues.apache.org/jira/browse/AMBARI-7898
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Using Ambari 1.7 to install Knox results in a installation error. The error is due to the missing directory /usr/hdp/current/. Knox is installed in /usr/hdp/2.2.0.0-913/knox/ but has no links in the directory /usr/hdp/current.
> When other components like HDFS, Yarn etc are installed at the same time, the installation of knox works fine since the directory /usr/hdp/current is indeed created.
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/core/providers/system.py 61194bb 
>   ambari-common/src/main/python/resource_management/core/shell.py ce3ae97 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox.py abd38bd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox_gateway.py ccb5450 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/params.py 5c5abe4 
>   ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py e61e787 
> 
> Diff: https://reviews.apache.org/r/27030/diff/
> 
> 
> Testing
> -------
> 
> OK
> ----------------------------------------------------------------------
> Total run:667
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Re: Review Request 27030: Missing /usr/hdp/current dir when Knox is installed

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


I see we don't use path attribute now. Let's remove it in that case / or use it

path = ForcedListArgument(default=[])

- Andrew Onischuk


On Oct. 22, 2014, 1:02 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27030/
> -----------------------------------------------------------
> 
> (Updated Oct. 22, 2014, 1:02 p.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-7898
>     https://issues.apache.org/jira/browse/AMBARI-7898
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Using Ambari 1.7 to install Knox results in a installation error. The error is due to the missing directory /usr/hdp/current/. Knox is installed in /usr/hdp/2.2.0.0-913/knox/ but has no links in the directory /usr/hdp/current.
> When other components like HDFS, Yarn etc are installed at the same time, the installation of knox works fine since the directory /usr/hdp/current is indeed created.
> 
> 
> Diffs
> -----
> 
>   ambari-common/src/main/python/resource_management/core/providers/system.py 61194bb 
>   ambari-common/src/main/python/resource_management/core/shell.py ce3ae97 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox.py abd38bd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox_gateway.py ccb5450 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/params.py 5c5abe4 
>   ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py e61e787 
> 
> Diff: https://reviews.apache.org/r/27030/diff/
> 
> 
> Testing
> -------
> 
> OK
> ----------------------------------------------------------------------
> Total run:667
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Re: Review Request 27030: Missing /usr/hdp/current dir when Knox is installed

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27030/
-----------------------------------------------------------

(Updated Окт. 22, 2014, 1:02 п.п.)


Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Using Ambari 1.7 to install Knox results in a installation error. The error is due to the missing directory /usr/hdp/current/. Knox is installed in /usr/hdp/2.2.0.0-913/knox/ but has no links in the directory /usr/hdp/current.
When other components like HDFS, Yarn etc are installed at the same time, the installation of knox works fine since the directory /usr/hdp/current is indeed created.


Diffs (updated)
-----

  ambari-common/src/main/python/resource_management/core/providers/system.py 61194bb 
  ambari-common/src/main/python/resource_management/core/shell.py ce3ae97 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox.py abd38bd 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox_gateway.py ccb5450 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/params.py 5c5abe4 
  ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py e61e787 

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


Testing
-------

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


Thanks,

Dmytro Sen


Re: Review Request 27030: Missing /usr/hdp/current dir when Knox is installed

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27030/#review57774
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Жов. 22, 2014, 12:33 після полудня, Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27030/
> -----------------------------------------------------------
> 
> (Updated Жов. 22, 2014, 12:33 після полудня)
> 
> 
> Review request for Ambari, Andrew Onischuk and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-7898
>     https://issues.apache.org/jira/browse/AMBARI-7898
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Using Ambari 1.7 to install Knox results in a installation error. The error is due to the missing directory /usr/hdp/current/. Knox is installed in /usr/hdp/2.2.0.0-913/knox/ but has no links in the directory /usr/hdp/current.
> When other components like HDFS, Yarn etc are installed at the same time, the installation of knox works fine since the directory /usr/hdp/current is indeed created.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox.py abd38bd 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/knox_gateway.py ccb5450 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/KNOX/package/scripts/params.py 5c5abe4 
>   ambari-server/src/test/python/stacks/2.2/KNOX/test_knox_gateway.py e61e787 
> 
> Diff: https://reviews.apache.org/r/27030/diff/
> 
> 
> Testing
> -------
> 
> OK
> ----------------------------------------------------------------------
> Total run:667
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>