You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by Alaa Salmo <al...@gmail.com> on 2018/12/01 14:09:31 UTC
Caused by: org.apache.drill.exec.exception.DrillbitStartupException:
Drillbit is disallowed to bind to loopback address in distributed mode.
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
Re: Caused by: org.apache.drill.exec.exception.DrillbitStartupException:
Drillbit is disallowed to bind to loopback address in distributed mode.
Posted by Khurram Faraaz <kf...@mapr.com>.
Try using port number 5181 instead of port 2181.
Regards,
Khurram
On Fri, Dec 7, 2018 at 4:19 PM Alaa Salmo <al...@gmail.com> 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 <al...@gmail.com> 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
> >
> >
>
Re: Caused by: org.apache.drill.exec.exception.DrillbitStartupException:
Drillbit is disallowed to bind to loopback address in distributed mode.
Posted by Herman Tan <he...@redcubesg.com>.
On Sun, 9 Dec 2018, 2:39 AM Arina Yelchiyeva <arina.yelchiyeva@gmail.com
wrote:
> Yes, this option helps but is not recommended for the production, only for
> testing purposes.
>
> Kind regards,
> Arina
>
> > On Dec 8, 2018, at 8:08 PM, Alaa Salmo <al...@gmail.com> wrote:
> >
> > 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 <
> arina.yelchiyeva@gmail.com>
> > 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 <al...@gmail.com> 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 <al...@gmail.com>
> 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
> >>>>
> >>>>
> >>
> >>
>
Re: Caused by: org.apache.drill.exec.exception.DrillbitStartupException: Drillbit is disallowed to bind to loopback address in distributed mode.
Posted by Arina Yelchiyeva <ar...@gmail.com>.
Yes, this option helps but is not recommended for the production, only for testing purposes.
Kind regards,
Arina
> On Dec 8, 2018, at 8:08 PM, Alaa Salmo <al...@gmail.com> wrote:
>
> 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 <ar...@gmail.com>
> 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 <al...@gmail.com> 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 <al...@gmail.com> 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
>>>>
>>>>
>>
>>
Re: Caused by: org.apache.drill.exec.exception.DrillbitStartupException:
Drillbit is disallowed to bind to loopback address in distributed mode.
Posted by Alaa Salmo <al...@gmail.com>.
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 <ar...@gmail.com>
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 <al...@gmail.com> 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 <al...@gmail.com> 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
> >>
> >>
>
>
Re: Caused by:
org.apache.drill.exec.exception.DrillbitStartupException: Drillbit is
disallowed to bind to loopback address in distributed mode.
Posted by Arina Yelchiyeva <ar...@gmail.com>.
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 <al...@gmail.com> 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 <al...@gmail.com> 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
>>
>>
Re: Caused by: org.apache.drill.exec.exception.DrillbitStartupException:
Drillbit is disallowed to bind to loopback address in distributed mode.
Posted by Alaa Salmo <al...@gmail.com>.
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 <al...@gmail.com> 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
>
>