You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2017/01/19 12:28:46 UTC

Review Request 55716: LLAP Startup: slider dependencies are not deployed by Ambari

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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

Ambari slider install does not upload the dependencies as part of the client
deploy.

    
    
    
    2016-10-28 19:52:20,596 [main] INFO  tools.SliderUtils - Loading all dependencies from /usr/hdp/2.5.0.0-1245/slider/lib
    2016-10-28 19:52:34,812 [main] INFO  agent.AgentClientProvider - Automatically uploading the agent tarball at hdfs://cn105-10.l42scl.hortonworks.com:8020/user/gopal/.slider/cluster/llap0/tmp/application_1477340478603_0266/at
    2016-10-28 19:52:35,118 [main] INFO  agent.AgentClientProvider - Validating app definition .slider/package/LLAP/llap-29Sep2016.zip
    2016-10-28 19:52:35,124 [main] INFO  tools.SliderUtils - For faster submission of apps, upload dependencies using cmd dependency --upload
    
    
    
    
    sudo -u hdfs $(which slider) dependency --upload
    

This would upload the slider packages once, so that they can be reused by
every restart of LLAP instead of being uploaded for each restart & downloaded
on each node again.


Diffs
-----

  ambari-server/src/main/resources/scripts/Ambaripreupload.py bedf859 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 55716: LLAP Startup: slider dependencies are not deployed by Ambari

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


Ship it!




Ship It!

- Dmitro Lisnichenko


On Jan. 19, 2017, 2:28 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55716/
> -----------------------------------------------------------
> 
> (Updated Jan. 19, 2017, 2:28 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-19626
>     https://issues.apache.org/jira/browse/AMBARI-19626
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Ambari slider install does not upload the dependencies as part of the client
> deploy.
> 
>     
>     
>     
>     2016-10-28 19:52:20,596 [main] INFO  tools.SliderUtils - Loading all dependencies from /usr/hdp/2.5.0.0-1245/slider/lib
>     2016-10-28 19:52:34,812 [main] INFO  agent.AgentClientProvider - Automatically uploading the agent tarball at hdfs://cn105-10.l42scl.hortonworks.com:8020/user/gopal/.slider/cluster/llap0/tmp/application_1477340478603_0266/at
>     2016-10-28 19:52:35,118 [main] INFO  agent.AgentClientProvider - Validating app definition .slider/package/LLAP/llap-29Sep2016.zip
>     2016-10-28 19:52:35,124 [main] INFO  tools.SliderUtils - For faster submission of apps, upload dependencies using cmd dependency --upload
>     
>     
>     
>     
>     sudo -u hdfs $(which slider) dependency --upload
>     
> 
> This would upload the slider packages once, so that they can be reused by
> every restart of LLAP instead of being uploaded for each restart & downloaded
> on each node again.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/scripts/Ambaripreupload.py bedf859 
> 
> Diff: https://reviews.apache.org/r/55716/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>