I found the solution. When we run drill & Zookeeper on the same machine(we
run drill under distributed mode), we need to add
allow_loopback_address_binding under drill.exec in Drill configuration file
(drill-override.conf). We need to set  allow_loopback_address_binding to
true.



On Sat, Dec 8, 2018 at 12:22 PM Arina Yelchiyeva <[email protected]>
wrote:

> Please refer to this answer on the stackoverflow:
>
>
> https://stackoverflow.com/questions/40506221/how-to-start-drillbit-locally-in-distributed-mode
>
> > On Dec 8, 2018, at 2:10 AM, Alaa Salmo <[email protected]> wrote:
> >
> > Hi All,
> >
> > I am trying to install Hadoop/Zookeeper with Apache Drill (distributed
> > mode). I am facing the following error
> > "org.apache.drill.exec.exception.DrillbitStartupException:
> > Drillbit is disallowed to bind to loopback address in distributed
> mode.". I
> > tried to google, the answer was change  drill-override.conf. I am still
> > facing the same problem. Did anybody has same issue? Does Drill work in
> the
> > local machine with Zookeeper?
> >
> > drill.exec: {
> >  cluster-id: "drillbits1",
> >  zk.connect: "mgelbana-machine:2181"
> > }
> >
> > OR
> >
> > drill.exec: {
> >  cluster-id: "drillbits1",
> >  zk.connect: "127.0.0.1:2181"
> > }
> >
> >
> >
> > On Sat, Dec 1, 2018 at 9:09 AM Alaa Salmo <[email protected]> wrote:
> >
> >> Hi,
> >>
> >> I am installing Drill on my virtual machine (Centos). I am facing one
> >> issue. I tried to google but I could not solve it
> >>
> >> bin/drillbit.sh start
> >> cat /usr/local/apache-drill-1.14.0/log/drillbit.out
> >>
> >>
> *******************************************************************************
> >> Exception in thread "main"
> >> org.apache.drill.exec.exception.DrillbitStartupException: Failure during
> >> initial startup of Drillbit.
> >>        at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:428)
> >>        at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:394)
> >>        at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:390)
> >> Caused by: org.apache.drill.exec.exception.DrillbitStartupException:
> >> Drillbit is disallowed to bind to loopback address in distributed mode.
> >>        at
> >> org.apache.drill.exec.service.ServiceEngine.start(ServiceEngine.java:97)
> >>        at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:191)
> >>        at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:424)
> >>
> >>
> *******************************************************************************
> >>
> >> - I tried to chnage the hostname but I still facing same issue
> >> - I tried to change Java 8 JDK from OpenJDK to Oracle but I still facing
> >> same issue
> >>
> >> Please can you provide me the right answer?
> >>
> >> Regards,
> >> Alaa
> >>
> >>
>
>

Reply via email to