question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pravega docker image unusable on Windows

See original GitHub issue

Describe the bug When using the Pravega docker image on Windows, Pravega client cannot connect to segment store.

To Reproduce Steps to reproduce the behavior:

  1. Run docker image: docker run -it -p 9090:9090 -p 12345:12345 pravega/pravega:latest standalone
  2. Run pravega-cli from outside of docker: ./bin/pravega-cli
  3. Notice you can create scopes and streams, but you can cannot append to a stream

Additional information Docker for Windows forces the container to run on an internal Hyper-V subnet, causing Pravega to hand out invalid connection settings for the segment store. Pravega needs to be able to distinguish between internal and external connection settings.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
shridscommented, Jun 2, 2021

~The segment store starts on port 6000 by default on the standalone.~

2021-05-31 10:17:44,320 715  [main] INFO  i.p.local.LocalPravegaEmulator - Starting Pravega Emulator with ports: ZK port 4000, Controller port 9090, SegmentStore port 6000, Admin Gateway port 9999

This issue is releated to WSL2 and docker on windows.

0reactions
chelebcommented, Aug 31, 2021

I have the intuition that this issue also forbid MacOS X development 😢

Running in docker-compose or with testcontainer lead to the same situation where scope and stream can be created, but stream cannot be appended (hangs).

Same code works smoothly if Pravaga runs outside docker.

Any chance to see a fix ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

pravega/pravega - Docker Image - Docker Hub
Pravega - Streaming as a new software defined storage primitive. ... you can run a standalone Pravega in a docker container, the command...
Read more >
Running Locally - Exploring Pravega
The below command will download and run Pravega from the container image on docker hub. Note: We must replace the <ip> with the...
Read more >
Incredibly slow (near unusable) on Docker container #1395
I'm using the command jest specs/unit ; which I got from another Jest issue suggesting that supplying the test folder could speed up...
Read more >
Docker images provided by CodeBuild - AWS Documentation
AWS CodeBuild manages the following Docker images that are available in the CodeBuild and AWS CodePipeline consoles. ... The base image of the...
Read more >
Troubleshoot common issues - Azure Container Instances
This error is most often encountered when deploying Windows images that are based on Semi-Annual Channel release 1709 or 1803, which are not ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found