You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by srdo <gi...@git.apache.org> on 2017/12/15 23:08:26 UTC

[GitHub] storm pull request #2462: STORM-2858: Fix worker-launcher build by erroring ...

GitHub user srdo opened a pull request:

    https://github.com/apache/storm/pull/2462

    STORM-2858: Fix worker-launcher build by erroring out if asprintf fai…

    …ls to allocate memory. Replace make-maven-plugin with a build shell script.
    
    This is part of making the build run on the new Travis Ubuntu image. 
    
    I got an error when building storm-core with -Pnative because GCC has marked asprintf as a function where you shouldn't ignore the return value. I've put in return value handling that exits the worker-launcher process if asprintf fails to allocate memory. As part of this I replaced make-maven-plugin, because it's fairly old (last release in 2009, there doesn't seem to be a page for the plugin anymore) and opaque (had to decompile the jar to figure out what it was doing). I think a build script + exec-maven-plugin is less magical. The make process output now also goes in the terminal when building, which it didn't with make-maven-plugin.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/srdo/storm STORM-2858

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/2462.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2462
    
----
commit 25a2f337a629ed55fde772052ea8ce7015b69462
Author: Stig Rohde Døssing <sr...@apache.org>
Date:   2017-12-13T15:47:31Z

    STORM-2858: Fix worker-launcher build by erroring out if asprintf fails to allocate memory. Replace make-maven-plugin with a build shell script.

----


---

[GitHub] storm issue #2462: STORM-2858: Fix worker-launcher build by erroring out if ...

Posted by ptgoetz <gi...@git.apache.org>.
Github user ptgoetz commented on the issue:

    https://github.com/apache/storm/pull/2462
  
    +1


---

[GitHub] storm issue #2462: STORM-2858: Fix worker-launcher build by erroring out if ...

Posted by srdo <gi...@git.apache.org>.
Github user srdo commented on the issue:

    https://github.com/apache/storm/pull/2462
  
    Here's the run from a branch that contains this branch, STORM-2859 and some minor travis.yml changes. https://travis-ci.org/srdo/storm/builds/317153261


---

[GitHub] storm pull request #2462: STORM-2858: Fix worker-launcher build by erroring ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/storm/pull/2462


---