code: def disable_nn_ha(self, active_name, snn_host_id, snn_check_point_dir_list,
        snn_name=None):
      
      args = dict(
        activeNnName = active_name,
        snnHostId = snn_host_id,
        snnCheckpointDirList = snn_check_point_dir_list,
        snnName = snn_name
      )
      return self._cmd('hdfsDisableNnHa', data=args, api_version=6)
docs: Disable high availability with automatic failover for an HDFS NameNode.
  
      @param active_name: Name of the NamdeNode role that is going to be active after
                          High Availability is disabled.
      @param snn_host_id: Id of the host where the new SecondaryNameNode will be created.
      @param snn_check_point_dir_list : List of directories used for checkpointing
                                        by the new SecondaryNameNode.
      @param snn_name: Name of the new SecondaryNameNode role (Optional).
      @return: Reference to the submitted command.
      @since: API v6