You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by Douglas Service <ds...@gmail.com> on 2016/12/02 03:10:45 UTC

Fwd: Linux Build Issues

I have added a section to the development Wiki that gives instructions to
both temporarily and permanently increase the number of open files allowed
on Ubuntu so the REEF unit tests will complete.

    https://cwiki.apache.org/confluence/display/REEF/Compiling+REEF

Doug
---------- Forwarded message ----------
From: Douglas Service <ds...@gmail.com>
Date: Wed, Jul 20, 2016 at 7:44 PM
Subject: Linux Build Issues
To: dev@reef.apache.org


Hello,

My name is Doug Service and I would like to contribute to the project. My
JIRA id is dougservice. I have setup Ubuntu 16.04 and Windows 10 build
machines. When I first did a build on Linux with tests enabled, "mvn clean
install", the tests were failing due to a low limit on the number of open
files in the bash shell, "ulimit -n", (Shravan identified the error from
the logs). When I increased the limit, all of the tests were successful.
There seems to be a lot of disagreement in the online community about the
best way to permanently increase the number of open files allowed by a
single user. Just to test the issue I used

sudo bash
ulimit -n 40000
sudo -u dougse bash

Is there a common solution for this problem on the reef project?

Doug Service

Re: Linux Build Issues

Posted by Byung-Gon Chun <bg...@gmail.com>.
Thanks!
-Gon

On Thu, Dec 1, 2016 at 7:10 PM, Douglas Service <ds...@gmail.com> wrote:

> I have added a section to the development Wiki that gives instructions to
> both temporarily and permanently increase the number of open files allowed
> on Ubuntu so the REEF unit tests will complete.
>
>     https://cwiki.apache.org/confluence/display/REEF/Compiling+REEF
>
> Doug
> ---------- Forwarded message ----------
> From: Douglas Service <ds...@gmail.com>
> Date: Wed, Jul 20, 2016 at 7:44 PM
> Subject: Linux Build Issues
> To: dev@reef.apache.org
>
>
> Hello,
>
> My name is Doug Service and I would like to contribute to the project. My
> JIRA id is dougservice. I have setup Ubuntu 16.04 and Windows 10 build
> machines. When I first did a build on Linux with tests enabled, "mvn clean
> install", the tests were failing due to a low limit on the number of open
> files in the bash shell, "ulimit -n", (Shravan identified the error from
> the logs). When I increased the limit, all of the tests were successful.
> There seems to be a lot of disagreement in the online community about the
> best way to permanently increase the number of open files allowed by a
> single user. Just to test the issue I used
>
> sudo bash
> ulimit -n 40000
> sudo -u dougse bash
>
> Is there a common solution for this problem on the reef project?
>
> Doug Service
>



-- 
Byung-Gon Chun