Discussion:
Caused by: org.apache.drill.exec.exception.DrillbitStartupException: Drillbit is disallowed to bind to loopback address in distributed mode.
Alaa Salmo
2018-12-01 14:09:31 UTC
Permalink
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
Alaa Salmo
2018-12-08 00:10:49 UTC
Permalink
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"
}
Post by Alaa Salmo
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)
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
Khurram Faraaz
2018-12-08 16:37:39 UTC
Permalink
Try using port number 5181 instead of port 2181.

Regards,
Khurram
Post by Alaa Salmo
Hi All,
I am trying to install Hadoop/Zookeeper with Apache Drill (distributed
mode). I am facing the following error
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"
}
Post by Alaa Salmo
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
*******************************************************************************
Post by Alaa Salmo
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)
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)
*******************************************************************************
Post by Alaa Salmo
- 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
Arina Yelchiyeva
2018-12-08 17:22:39 UTC
Permalink
Please refer to this answer on the stackoverflow:

https://stackoverflow.com/questions/40506221/how-to-start-drillbit-locally-in-distributed-mode
Post by Alaa Salmo
Hi All,
I am trying to install Hadoop/Zookeeper with Apache Drill (distributed
mode). I am facing the following error
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"
}
Post by Alaa Salmo
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)
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
Alaa Salmo
2018-12-08 18:08:03 UTC
Permalink
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.
Post by Arina Yelchiyeva
https://stackoverflow.com/questions/40506221/how-to-start-drillbit-locally-in-distributed-mode
Post by Alaa Salmo
Hi All,
I am trying to install Hadoop/Zookeeper with Apache Drill (distributed
mode). I am facing the following error
Drillbit is disallowed to bind to loopback address in distributed
mode.". I
Post by Alaa Salmo
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
Post by Alaa Salmo
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"
}
Post by Alaa Salmo
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
*******************************************************************************
Post by Alaa Salmo
Post by Alaa Salmo
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)
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)
*******************************************************************************
Post by Alaa Salmo
Post by Alaa Salmo
- 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
Arina Yelchiyeva
2018-12-08 18:38:59 UTC
Permalink
Yes, this option helps but is not recommended for the production, only for testing purposes.

Kind regards,
Arina
Post by Alaa Salmo
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.
Post by Arina Yelchiyeva
https://stackoverflow.com/questions/40506221/how-to-start-drillbit-locally-in-distributed-mode
Post by Alaa Salmo
Hi All,
I am trying to install Hadoop/Zookeeper with Apache Drill (distributed
mode). I am facing the following error
Drillbit is disallowed to bind to loopback address in distributed
mode.". I
Post by Alaa Salmo
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
Post by Alaa Salmo
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"
}
Post by Alaa Salmo
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
*******************************************************************************
Post by Alaa Salmo
Post by Alaa Salmo
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)
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)
*******************************************************************************
Post by Alaa Salmo
Post by Alaa Salmo
- 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
Herman Tan
2018-12-08 18:58:41 UTC
Permalink
Post by Arina Yelchiyeva
Yes, this option helps but is not recommended for the production, only for
testing purposes.
Kind regards,
Arina
Post by Alaa Salmo
I found the solution. When we run drill & Zookeeper on the same
machine(we
Post by Alaa Salmo
run drill under distributed mode), we need to add
allow_loopback_address_binding under drill.exec in Drill configuration
file
Post by Alaa Salmo
(drill-override.conf). We need to set allow_loopback_address_binding to
true.
On Sat, Dec 8, 2018 at 12:22 PM Arina Yelchiyeva <
https://stackoverflow.com/questions/40506221/how-to-start-drillbit-locally-in-distributed-mode
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
Hi All,
I am trying to install Hadoop/Zookeeper with Apache Drill (distributed
mode). I am facing the following error
Drillbit is disallowed to bind to loopback address in distributed
mode.". I
Post by Alaa Salmo
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
Post by Alaa Salmo
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"
}
Post by Alaa Salmo
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
*******************************************************************************
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
Exception in thread "main"
org.apache.drill.exec.exception.DrillbitStartupException: Failure
during
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
initial startup of Drillbit.
at
org.apache.drill.exec.server.Drillbit.start(Drillbit.java:428)
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
at
org.apache.drill.exec.server.Drillbit.start(Drillbit.java:394)
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:390)
Drillbit is disallowed to bind to loopback address in distributed
mode.
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
at
org.apache.drill.exec.service.ServiceEngine.start(ServiceEngine.java:97)
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:191)
at
org.apache.drill.exec.server.Drillbit.start(Drillbit.java:424)
*******************************************************************************
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
- 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
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
Post by Alaa Salmo
same issue
Please can you provide me the right answer?
Regards,
Alaa
Loading...