You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by ar...@apache.org on 2020/07/16 03:57:05 UTC

[fluo-muchos] branch master updated: Default to using HDFS nameservice_id for hdfs_root (#358)

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

arvindsh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo-muchos.git


The following commit(s) were added to refs/heads/master by this push:
     new a6a0a38  Default to using HDFS nameservice_id for hdfs_root (#358)
a6a0a38 is described below

commit a6a0a38522b957b36d39f884d39ff415b0095046
Author: Arvind Shyamsundar <ar...@apache.org>
AuthorDate: Wed Jul 15 20:56:56 2020 -0700

    Default to using HDFS nameservice_id for hdfs_root (#358)
    
    Simplifies hdfs_root to point to the nameservice_id URL. This was
    enabled by underlying changes in #356. Further, the Fluo role was also
    fixed to work correctly with HDFS nameservice URLs in #357.
---
 lib/muchos/config/base.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/muchos/config/base.py b/lib/muchos/config/base.py
index 7780d87..4849cad 100644
--- a/lib/muchos/config/base.py
+++ b/lib/muchos/config/base.py
@@ -80,10 +80,7 @@ _HOST_VAR_DEFAULTS = {
     "hadoop_tarball": "hadoop-{{ hadoop_version }}.tar.gz",
     "hadoop_version": None,
     "hadoop_major_version": "{{ hadoop_version.split('.')[0] }}",
-    "hdfs_root": (
-        "{% if hdfs_ha %}hdfs://{{ nameservice_id }}{% else %}"
-        "hdfs://{{ groups['namenode'][0] }}:8020{% endif %}"
-    ),
+    "hdfs_root": "hdfs://{{ nameservice_id }}",
     "hdfs_ha": None,
     "nameservice_id": None,
     "num_tservers": 1,