Resource URL: /platform/<<version=3>>/protocols/hdfs/settings

    Overview: This resource applies the global HDFS settings.

     Methods: GET, PUT

********************************************************************************

Method GET: Retrieve HDFS properties.

       URL: GET /platform/<<version=3>>/protocols/hdfs/settings

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "properties": {
    "settings": {
      "type": "object", 
      "description": "This is schema that contains HDFS protocol properties.", 
      "properties": {
        "webhdfs_enabled": {
          "type": "boolean", 
          "description": "Enable or disable WebHDFS"
        }, 
        "default_checksum_type": {
          "enum": [
            "none", 
            "crc32", 
            "crc32c"
          ], 
          "type": "string", 
          "description": "Checksum type reported by HDFS server."
        }, 
        "ambari_server": {
          "type": "string", 
          "description": "Ambari server"
        }, 
        "service": {
          "type": "boolean", 
          "description": "Enable or disable the HDFS service."
        }, 
        "default_block_size": {
          "type": "integer", 
          "description": "Block size (size=2**value) reported by HDFS server."
        }, 
        "root_directory": {
          "type": "string", 
          "description": "HDFS root directory"
        }, 
        "odp_version": {
          "type": "string", 
          "description": "ODP stack repository version number"
        }, 
        "authentication_mode": {
          "enum": [
            "all", 
            "simple_only", 
            "kerberos_only"
          ], 
          "type": "string", 
          "description": "Type of authentication for HDFS protocol."
        }, 
        "ambari_namenode": {
          "type": "string", 
          "description": "NameNode of Ambari server"
        }
      }
    }
  }
}

********************************************************************************

Method PUT: Modify HDFS properties.

       URL: PUT /platform/<<version=3>>/protocols/hdfs/settings

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "description": "This is schema that contains HDFS protocol properties.", 
  "properties": {
    "webhdfs_enabled": {
      "type": "boolean", 
      "description": "Enable or disable WebHDFS"
    }, 
    "default_checksum_type": {
      "enum": [
        "none", 
        "crc32", 
        "crc32c"
      ], 
      "type": "string", 
      "description": "Checksum type reported by HDFS server."
    }, 
    "ambari_server": {
      "type": "string", 
      "description": "Ambari server"
    }, 
    "service": {
      "type": "boolean", 
      "description": "Enable or disable the HDFS service."
    }, 
    "default_block_size": {
      "type": "integer", 
      "description": "Block size (size=2**value) reported by HDFS server."
    }, 
    "root_directory": {
      "type": "string", 
      "description": "HDFS root directory"
    }, 
    "odp_version": {
      "type": "string", 
      "description": "ODP stack repository version number"
    }, 
    "authentication_mode": {
      "enum": [
        "all", 
        "simple_only", 
        "kerberos_only"
      ], 
      "type": "string", 
      "description": "Type of authentication for HDFS protocol."
    }, 
    "ambari_namenode": {
      "type": "string", 
      "description": "NameNode of Ambari server"
    }
  }
}

There is no response body for this method.
