code: def disable_hdfs_ha(self, active_name, secondary_name,
        start_dependent_services=True, deploy_client_configs=True,
                        disable_quorum_storage=False):
      
      args = dict(
        activeName = active_name,
        secondaryName = secondary_name,
        startDependentServices = start_dependent_services,
        deployClientConfigs = deploy_client_configs,
      )
  
      version = self._get_resource_root().version
      if version < 2:
        if disable_quorum_storage:
          raise AttributeError("Quorum-based Storage requires at least API version 2 available in Cloudera Manager 4.1.")
      else:
        args['disableQuorumStorage'] = disable_quorum_storage
  
      return self._cmd('hdfsDisableHa', data=args)
docs: Disable high availability for an HDFS NameNode.
      This command is no longer supported with API v6 onwards. Use disable_nn_ha instead.
  
      @param active_name: Name of the NameNode to keep.
      @param secondary_name: Name of (existing) SecondaryNameNode to link to
                             remaining NameNode.
      @param start_dependent_services: whether to re-start dependent services.
      @param deploy_client_configs: whether to re-deploy client configurations.
      @param disable_quorum_storage: whether to disable Quorum-based Storage. Available since API v2.
                                     Quorum-based Storage will be disabled for all
                                     nameservices that have Quorum-based Storage
                                     enabled.
      @return: Reference to the submitted command.