[fb] Overwriting default_hdfs_superuser in configuration does not take effect
@@ -149,6 +149,9 @@ class WebHdfs(Hdfs):
@property
def superuser(self):
if self._superuser is None:
+ if DEFAULT_HDFS_SUPERUSER != desktop.conf.DEFAULT_HDFS_SUPERUSER.config.default_value:
+ self._superuser = DEFAULT_HDFS_SUPERUSER
+ else:
try:
# The owner of '/' is usually the superuser
sb = self.stats('/')
