There is a 'run' option provided with the script to achieve this, ignore my
previous mail.

  # Use this when launching Drill from your own script that manages the
  # process, such as (roll-your-own) YARN, Mesos, supervisord, etc.

- Rahul

On Sun, May 13, 2018 at 10:53 PM, Rahul Raj <rahul....@option3consulting.com
> wrote:

> Is it possible to run drill in foreground?
> With "drillbit.sh start" command, the exec command sends drill process to
> background. It requires some modification to the start scripts to get drill
> running in foreground. Will it not be a good idea to add a 'foreground'
> option to the start scripts to make containerizing drill easy?
>
> I am not sure how to handle a graceful shutdown within a container
> possible in such a scenario. Let me know your thoughts on this.
>
> Regards,
> Rahul
>
> On Fri, Apr 20, 2018 at 10:09 PM, Timothy Farkas <tfar...@mapr.com> wrote:
>
>> Thanks everyone,
>>
>> I made a ticket here https://issues.apache.org/jira/browse/DRILL-6346 .
>> Please follow it to get the latest info.
>>
>> Tim
>>
>>
>>
>> ________________________________
>> From: Chris Cunningham <cunningham...@gmail.com>
>> Sent: Friday, April 20, 2018 7:41:48 AM
>> To: user@drill.apache.org
>> Subject: Re: Drill on Windows
>>
>> Hi Tim,
>> I would appreciate this as well.  Thank you for offering.
>> -Chris
>>
>> On Fri, Apr 20, 2018 at 4:54 AM, Rahul Raj <rahul.raj@option3consulting.c
>> om>
>> wrote:
>>
>> > Thanks for the inputs.
>> >
>> > Tim, would really appreciate if you could get the docker image done.
>> >
>> > Regards,
>> > Rahul
>> >
>> > On Fri, Apr 20, 2018 at 9:43 AM, scott <tcots8...@gmail.com> wrote:
>> >
>> > > Tim,
>> > >
>> > > As it turns out, I was just out there looking for an official docker
>> > image
>> > > today, and was a little disappointed there wasn't one. It's not that
>> hard
>> > > to make my own, but always preferable to me to use an official image
>> > where
>> > > I can just control it using parameters.
>> > >
>> > > Would be much appreciated if you built one.
>> > >
>> > >
>> > > Scott
>> > >
>> > >
>> > >
>> > > On 04/19/2018 11:21 AM, Timothy Farkas wrote:
>> > >
>> > >> Rahul / Chris,
>> > >>
>> > >> The easiest way to do this would be to create a docker container for
>> > >> Drill. Also it looks like Docker leverage's Windows 10's linux
>> > subsystem so
>> > >> docker images don't run in a VM https://urldefense.proofpoint.
>> com/v2/url?u=https-3A__www.hanselman.com_blog&d=DwIBaQ&c=csk
>> dkSMqhcnjZxdQVpwTXg&r=4eQVr8zB8ZBff-yxTimdOQ&m=DIQzoSbv5xeat
>> vKHpNj9ly2AxFYhVDfJTqqfPZksg6w&s=3egN79Un6ZdskTbq_OKxqdFG9Gc
>> XJNpspPLGbtV0pj8&e=
>> > >> /DockerAndLinuxContainersOnWindowsWithOrWithoutHyperVVirtualM
>> > achines.aspx.
>> > >> So you get support for running on Windows 10 for free with no
>> > performance
>> > >> penalty. Plus everyone expects software to be package in docker
>> images
>> > >> these days anyway.
>> > >>
>> > >> Currently, there is no official drill docker image. If you're
>> > interested,
>> > >> let me know, and I can create a Jira and make one. I'm pretty bored
>> > right
>> > >> now and need something to do anyway :).
>> > >>
>> > >> Thanks,
>> > >> Tim
>> > >>
>> > >> ___
>> >
>> <cut>
>>
>
>

-- 
_*** This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom it is 
addressed. If you are not the named addressee then you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately and delete this e-mail from your system.***_

Reply via email to