forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-35974][e2e] Use docker compose v2 for E2E tests
GitHub CI image dropped support of Docker Compose v1 (with syntax `docker-compose`). The new v2 version (`docker compose`) should be used for E2E scripts
- Loading branch information
1 parent
18c8fa2
commit 7a7a257
Showing
5 changed files
with
16 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,8 +25,8 @@ Run image | |
``` | ||
cd flink-end-to-end-tests/test-scripts/docker-hadoop-secure-cluster | ||
wget -O hadoop/hadoop.tar.gz https://archive.apache.org/dist/hadoop/common/hadoop-2.10.2/hadoop-2.10.2.tar.gz | ||
docker-compose build | ||
docker-compose up | ||
docker compose build | ||
docker compose up | ||
``` | ||
|
||
Usage | ||
|
@@ -56,15 +56,15 @@ Known issues | |
### Unable to obtain Kerberos password | ||
|
||
#### Error | ||
docker-compose up fails for the first time with the error | ||
docker compose up fails for the first time with the error | ||
|
||
``` | ||
Login failure for nn/[email protected] from keytab /etc/security/keytabs/nn.service.keytab: javax.security.auth.login.LoginException: Unable to obtain password from user | ||
``` | ||
|
||
#### Solution | ||
|
||
Stop the containers with `docker-compose down` and start again with `docker-compose up -d`. | ||
Stop the containers with `docker compose down` and start again with `docker compose up -d`. | ||
|
||
### Java Keystore | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters