You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by mi...@apache.org on 2026/05/21 16:31:46 UTC

(impala) 01/02: IMPALA-15015: Update minicluster config for Ozone 2.0

This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 08adb6a6d2b2e6dded3e650d0087df068fc84670
Author: Michael Smith <mi...@cloudera.com>
AuthorDate: Mon May 11 16:36:55 2026 -0700

    IMPALA-15015: Update minicluster config for Ozone 2.0
    
    Adds new config options for Ozone 2.0 to avoid SCM and datanodes using
    the same directories. Fixes Ozone startup in the minicluster when
    testing Ozone 2.0+.
    
    Ran dataload and core tests on Ozone.
    
    Change-Id: I4e32f03efed043557733ae60325296376d07e538
    Reviewed-on: http://gerrit.cloudera.org:8080/24332
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Reviewed-by: Jason Fehr <jf...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 .../cluster/node_templates/common/etc/hadoop/conf/ozone-site.xml.py    | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/testdata/cluster/node_templates/common/etc/hadoop/conf/ozone-site.xml.py b/testdata/cluster/node_templates/common/etc/hadoop/conf/ozone-site.xml.py
index 23e31d5cd..bd96d988c 100644
--- a/testdata/cluster/node_templates/common/etc/hadoop/conf/ozone-site.xml.py
+++ b/testdata/cluster/node_templates/common/etc/hadoop/conf/ozone-site.xml.py
@@ -29,6 +29,7 @@ CONFIG = {
   'dfs.container.ipc': '${DATANODE_PORT}',
   'ozone.scm.block.client.address': '${INTERNAL_LISTEN_HOST}',
   'ozone.scm.client.address': '${INTERNAL_LISTEN_HOST}',
+  'ozone.scm.datanode.address': '${INTERNAL_LISTEN_HOST}',
   'ozone.scm.names': '${INTERNAL_LISTEN_HOST}',
   'ozone.om.address': '${INTERNAL_LISTEN_HOST}',
   # Select a random available port
@@ -39,7 +40,9 @@ CONFIG = {
   # Directories
   'ozone.metadata.dirs': '${NODE_DIR}/data/ozone',
   'hdds.datanode.dir': '${NODE_DIR}/data/ozone/dn',
+  'hdds.datanode.container.db.dir': '${NODE_DIR}/data/ozone/dn-container-db',
   'ozone.om.ratis.storage.dir': '${NODE_DIR}/data/ozone/om-ratis',
+  'ozone.scm.ha.ratis.storage.dir': '${NODE_DIR}/data/ozone/scm-ratis',
   'dfs.container.ratis.datanode.storage.dir': '${NODE_DIR}/data/ozone/ratis',
 }