Skip to content

PHOENIX-7868 : Docker setup for phoenix-adapters#6

Merged
palashc merged 2 commits into
mainfrom
PHOENIX-7868
May 27, 2026
Merged

PHOENIX-7868 : Docker setup for phoenix-adapters#6
palashc merged 2 commits into
mainfrom
PHOENIX-7868

Conversation

@palashc

@palashc palashc commented May 27, 2026

Copy link
Copy Markdown
Contributor

Provides a self-contained Docker stack so contributors can spin up the full dependency tree (Hadoop, ZooKeeper, HBase, Phoenix) and the phoenix-adapters REST server with one command, plus a smoke-test script that validates CRUD and Streams DynamoDB API against it.

# 1. Bring up the full stack at the versions pinned in pom.xml and BLOCK
#    until every container reports healthy (REST is ~30-60s on cold start).
#    First time: ~8-12 min total; subsequent runs are cached.

docker compose -f docker/docker-compose.yml up -d --build --wait

# 2. Validate it works end-to-end (CRUD + UpdateItem + BatchWriteItem + streams).
bash docker/scripts/smoke.sh

# -> "Result: 20 checks PASSED across 18 API calls"

# 3. Use it. The DynamoDB-compatible endpoint is at http://localhost:8842 .
#    Point any AWS SDK at it, or hit it directly:

curl -s -X POST http://localhost:8842/ \
    -H 'Content-Type: application/x-amz-json-1.0' \
    -H 'X-Amz-Target: DynamoDB_20120810.ListTables' -d '{}'

# 4. Tear down when you're done.

docker compose -f docker/docker-compose.yml down -v

Generated-by: Cursor (Claude Opus 4.7)

@palashc palashc requested a review from virajjasani May 27, 2026 04:57
@palashc palashc merged commit 0bce23f into main May 27, 2026
2 checks passed
@palashc palashc deleted the PHOENIX-7868 branch May 27, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants