It's a little bit of a shot in the dark, but your CPU/memory ratio may be
significantly different than what most folks are using. I've seen gcc and
friends fail kind of opaquely when you're out of memory. (Or out of disk
space, for that matter.)

I've been personally following the Docker instructions successfully on an
Ubuntu16 host in Google Compute Engine. I've run into
https://issues.apache.org/jira/browse/IMPALA-5765, but not reliably.

-- Philip

On Fri, Sep 8, 2017 at 9:44 AM, Jim Apple <[email protected]> wrote:

> Hm. Haven't seen this before. Does "MBP" stand for "Mac Book Pro"?
> This could be an issue with the Docker instructions in
> bootstrap_development.sh not accounting for some transparency in
> Docker exposing the host to the container.
>
> If possible, can you send the full stdout and stderr from that last
> command?
>
> On Fri, Sep 8, 2017 at 8:57 AM, Manaswini Maharana
> <[email protected]> wrote:
> > Here you go -
> >
> >
> > 1. The command you used to start the docker container
> > mmaharana-MBP:~ mmaharana$ *docker pull ubuntu:16.04*
> > mmaharana-MBP:~ mmaharana$ *docker run --privileged --interactive --tty
> > --name impala-dev ubuntu:16.04 bash*
> >
> > 2. The output of gcc --version inside your docker container
> > impdev@ea385187b032:~$ *gcc --version*
> > *gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609*
> > *Copyright (C) 2015 Free Software Foundation, Inc.*
> > *This is free software; see the source for copying conditions.  There is
> NO*
> > *warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> > PURPOSE.*
> >
> >
> > 3. The output of lsb_release -a both in the host and inside the docker
> > container
> > On Host:
> > mmaharana-MBP:~ mmaharana$* lsb_release -a*
> > *-bash: lsb_release: command not found*
> >
> > On Container:
> > *impdev@ea385187b032:~$ lsb_release -a *
> > *No LSB modules are available.*
> > *Distributor ID: Ubuntu*
> > *Description: Ubuntu 16.04.3 LTS*
> > *Release: 16.04*
> > *Codename: xenial*
> >
> > 4. The commands you ran inside the container
> > root@ea385187b032:/# *apt-get update*
> > root@ea385187b032:/# *apt-get install sudo*
> > root@ea385187b032:/# *adduser --disabled-password --gecos '' impdev*
> > root@ea385187b032:/# *echo 'impdev ALL=(ALL) NOPASSWD:ALL' >>
> /etc/sudoers*
> > root@ea385187b032:/#* su - impdev*
> > impdev@ea385187b032:~$ *sudo apt-get --yes install git*
> > impdev@ea385187b032:~$* git clone
> > https://git-wip-us.apache.org/repos/asf/incubator-impala.git
> > <https://git-wip-us.apache.org/repos/asf/incubator-impala.git> ~/Impala*
> > impdev@ea385187b032:~$ *source ~/Impala/bin/bootstrap_development.sh*
> >
> >
> > Thanks!
> > Mansi
> >
> >
> >
> >
> >
> > On Fri, Sep 8, 2017 at 10:11 AM, Jim Apple <[email protected]> wrote:
> >
> >> Can you provide:
> >>
> >> 1. The command you used to start the docker container
> >>
> >> 2. The output of gcc --version inside your docker container
> >>
> >> 3. The output of lsb_release -a both in the host and inside the docker
> >> container
> >>
> >> 4. The commands you ran inside the container
> >>
> >> Thank you!
> >>
> >> On Fri, Sep 8, 2017 at 7:58 AM, Manaswini Maharana
> >> <[email protected]> wrote:
> >> > Hello team,
> >> >
> >> > I'm trying to setup docker for development and encountering the below
> >> issue
> >> > during bootstrap_development.sh sourcing. Any pointers on how to
> resolve
> >> > this? If you need more stack trace to backtrack or any other kind of
> >> > information to debug let me know.
> >> >
> >> >
> >> > *Please submit a full bug report,*
> >> >
> >> > *with preprocessed source if appropriate.*
> >> >
> >> > *Please include the complete backtrace with any bug report.*
> >> >
> >> > *See <http://gcc.gnu.org/bugs.html <http://gcc.gnu.org/bugs.html>>
> for
> >> > instructions.*
> >> >
> >> > *be/src/service/CMakeFiles/Service.dir/build.make:123: recipe for
> target
> >> > 'be/src/service/CMakeFiles/Service.dir/impala-server.cc.o' failed*
> >> >
> >> > *make[2]: *** [be/src/service/CMakeFiles/
> Service.dir/impala-server.cc.o]
> >> > Error 4*
> >> >
> >> > *CMakeFiles/Makefile2:5694: recipe for target
> >> > 'be/src/service/CMakeFiles/Service.dir/all' failed*
> >> >
> >> > *make[1]: *** [be/src/service/CMakeFiles/Service.dir/all] Error 2*
> >> >
> >> > *Linking CXX static library ../../build/debug/testutil/libTestUtil.a*
> >> >
> >> > *[ 23%] Built target TestUtil*
> >> >
> >> > *Makefile:85: recipe for target 'all' failed*
> >> >
> >> > *make: *** [all] Error 2*
> >> >
> >> > *Error in /home/impdev/Impala/bin/make_impala.sh at line 178:
> >> ${MAKE_CMD}
> >> > ${MAKE_ARGS}*
> >> >
> >> > Thanks!
> >> >
> >> > Mansi
> >>
>

Reply via email to