Comments (4)
change 50070:50070 to 40070:50070 and 50075:50075 to 40075:50075 in docker-compose.yml
from docker-hive.
from docker-hive.
@wise-coders @ezgoesit247 I am having the same issue. Were you able to resolve this problem?
I tried different solutions from StackOverflow but no resolution.
OS: Windows 10 latest updated version
I ran following command
docker-compose up -d
Resultant error
Removing docker-hive_datanode_1
Starting docker-hive_hive-metastore-postgresql_1 ...
Starting docker-hive_presto-coordinator_1 ...
Recreating 56d87462a6dd_docker-hive_datanode_1 ...
Starting docker-hive_namenode_1 ... error Starting docker-hive_hive-server_1 ...
Recreating 56d87462a6dd_docker-hive_datanode_1 ... error Starting docker-hive_hive-metastore-postgresql_1 ... done Starting docker-hive_presto-coordinator_1 ... done d: An attempt was made to access a socket in a way forbidden by its access permissions.
Starting docker-hive_hive-server_1 ... done Starting docker-hive_hive-metastore_1 ... done
ERROR: for namenode Cannot start service namenode: Ports are not available: listen tcp 0.0.0.0:50070: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: for datanode Cannot start service datanode: Ports are not available: listen tcp 0.0.0.0:50075: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
ERROR: Encountered errors while bringing up the project.
cc: @gmouchakis @martint @earthquakesan @shawnzhu
from docker-hive.
Solution:
I resolved the issue.
If you have tried every solution out there and wasn't able to resolve it.
Try this.
Simply, change port numbers in docker-compose.yml
file
save it.
now run docker-compose up -d
and guess what your container is up
PS C:\docker-hive> docker-compose up -d
Starting docker-hive_hive-metastore_1 ... done
Starting docker-hive_hive-metastore-postgresql_1 ... done
Starting docker-hive_namenode_1 ... done
Starting docker-hive_datanode_1 ... done
Starting docker-hive_presto-coordinator_1 ... done
Starting docker-hive_hive-server_1 ... done
To shutdown docker container
run this command
docker-compose down
from docker-hive.
Related Issues (20)
- Presto cannot find the hive tables
- not listening on 10000/10002 when i upgrade to 3.1.2 HOT 3
- Compatible version for hadoop 3.2.0 HOT 2
- How can I use beeline to solve Chinese garbled HOT 1
- Presto connector version
- Spark not able to connect to hive metastore HOT 2
- how to add hive container to docker-hadoop
- Is there an updated version of "docker-hive" ...
- Getting qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault HOT 8
- how can i post text file to HDFS
- How can I access Yarn Web UI
- Any plans to support newer versions of Hive and Hadoop?
- Error when starting run hive with docker-compose
- How to connect hive remotely? HOT 1
- why i get in hive-server container ,The cursor blinks,do nothing ?
- Not able to start hive metastore postgresql container HOT 3
- Cannot connect to hive metastore using dbeaver HOT 1
- Fails on Apple Silicon M2
- Is there a way to (use) create table from CSV that is located on AWS S3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-hive.