diff --git a/docker/test/integration/runner/compose/docker_compose_kerberized_hdfs.yml b/docker/test/integration/runner/compose/docker_compose_kerberized_hdfs.yml index a74476613f385674e943d98722805d9540de54b8..f2a659bce5849b7965327a1a360ac5d79e004588 100644 --- a/docker/test/integration/runner/compose/docker_compose_kerberized_hdfs.yml +++ b/docker/test/integration/runner/compose/docker_compose_kerberized_hdfs.yml @@ -14,7 +14,7 @@ services: ports: - 1006:1006 - 50070:50070 - - 9000:9000 + - 9010:9010 depends_on: - hdfskerberos entrypoint: /etc/bootstrap.sh -d diff --git a/tests/integration/helpers/cluster.py b/tests/integration/helpers/cluster.py index 64f7e5dd8895391d46aa72301c5f837272c41ad6..a04c1b7bf7d5c7748d81e84e419cae9d09df7e15 100644 --- a/tests/integration/helpers/cluster.py +++ b/tests/integration/helpers/cluster.py @@ -48,9 +48,9 @@ def run_and_check(args, env=None, shell=False): res = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, shell=shell) if res.returncode != 0: # check_call(...) from subprocess does not print stderr, so we do it manually - print('Stderr:\n{}\n'.format(res.stderr)) - print('Stdout:\n{}\n'.format(res.stdout)) - raise Exception('Command {} return non-zero code {}: {}'.format(args, res.returncode, res.stderr)) + print('Stderr:\n{}\n'.format(res.stderr.decode('utf-8'))) + print('Stdout:\n{}\n'.format(res.stdout.decode('utf-8'))) + raise Exception('Command {} return non-zero code {}: {}'.format(args, res.returncode, res.stderr.decode('utf-8'))) def subprocess_check_call(args): diff --git a/tests/integration/test_storage_kerberized_hdfs/hdfs_configs/bootstrap.sh b/tests/integration/test_storage_kerberized_hdfs/hdfs_configs/bootstrap.sh index 38f098ae1e17afb2a79a14a5350f02378e75aeac..971491d4053bc5a9ad01c7750de238f08b1b20d6 100755 --- a/tests/integration/test_storage_kerberized_hdfs/hdfs_configs/bootstrap.sh +++ b/tests/integration/test_storage_kerberized_hdfs/hdfs_configs/bootstrap.sh @@ -34,11 +34,11 @@ cat >> /usr/local/hadoop/etc/hadoop/core-site.xml << EOF fs.defaultFS - hdfs://kerberizedhdfs1:9000 + hdfs://kerberizedhdfs1:9010 fs.default.name - hdfs://kerberizedhdfs1:9000 + hdfs://kerberizedhdfs1:9010