Hadoop Security Guide
Also available as:
PDF
loading table of contents...
Search Services
API NameSearch Services
Request TypeGET
Request URLservice/public/v2/api/service
Request Params

Query Parameters:

pageSize int The page size required

startIndex int The startrecord index

serviceName stringThe service name

serviceNamePartial string Partial service name

serviceType string The service types(such as "hdfs","hive","hbase","knox","storm")

isEnabled boolean The enabled status (true/false): true is enabled, false otherwise

Example :

pageSize=25&startIndex=0

Response
[
    {
        "configs": {
            "fs.default.name": "hdfs://akulkarni-etp-real-final-1.novalocal:8020",
            "hadoop.security.auth_to_local": "DEFAULT",
            "hadoop.security.authentication": "simple",
            "hadoop.security.authorization": "false",
            "password": "*****",
            "username": "hadoop"
        },
        "createTime": 1450757397000,
        "createdBy": "amb_ranger_admin",
        "description": "hdfs repo",
        "guid": "ec082eea-0c22-43b8-84e0-129422f689b9",
        "id": 1,
        "isEnabled": true,
        "name": "cl1_hadoop",
        "policyUpdateTime": 1450757398000,
        "policyVersion": 2,
        "tagVersion": 1,
        "type": "hdfs",
        "updateTime": 1450757398000,
        "updatedBy": "amb_ranger_admin",
        "version": 3
    },
    {
        "configs": {
            "password": "*****",
            "username": "yarn",
            "yarn.url": "http://akulkarni-etp-real-final-1.novalocal:8088"
        },
        "createTime": 1450757747000,
        "createdBy": "amb_ranger_admin",
        "description": "yarn repo",
        "guid": "080970a9-2216-4660-962e-2b48046bf87e",
        "id": 2,
        "isEnabled": true,
        "name": "cl1_yarn",
        "policyUpdateTime": 1450757747000,
        "policyVersion": 1,
        "tagVersion": 1,
        "type": "yarn",
        "updateTime": 1450757747000,
        "updatedBy": "amb_ranger_admin",
        "version": 2
    },
    {
        "configs": {
            "jdbc.driverClassName": "org.apache.hive.jdbc.HiveDriver",
            "jdbc.url": "jdbc:hive2://akulkarni-etp-real-final-1.novalocal:10000",
            "password": "*****",
            "username": "hive"
        },
        "createTime": 1450757992000,
        "createdBy": "amb_ranger_admin",
        "description": "hive repo",
        "guid": "2bca8f98-4859-43c3-a8f4-d31a15f28793",
        "id": 3,
        "isEnabled": true,
        "name": "cl1_hive",
        "policyUpdateTime": 1450757995000,
        "policyVersion": 4,
        "tagUpdateTime": 1450916660000,
        "tagVersion": 74,
        "type": "hive",
        "updateTime": 1450757995000,
        "updatedBy": "amb_ranger_admin",
        "version": 78
    },
    {
        "configs": {
            "hadoop.security.authentication": "simple",
            "hbase.security.authentication": "simple",
            "hbase.zookeeper.property.clientPort": "2181",
            "hbase.zookeeper.quorum": "akulkarni-etp-real-final-1.novalocal",
            "password": "*****",
            "username": "hbase",
            "zookeeper.znode.parent": "/hbase-unsecure"
        },
        "createTime": 1450758200000,
        "createdBy": "amb_ranger_admin",
        "description": "hbase repo",
        "guid": "6495d4c9-cd1b-4bdf-a023-bdc82806186f",
        "id": 4,
        "isEnabled": true,
        "name": "cl1_hbase",
        "policyUpdateTime": 1450758202000,
        "policyVersion": 2,
        "tagVersion": 1,
        "type": "hbase",
        "updateTime": 1450758202000,
        "updatedBy": "amb_ranger_admin",
        "version": 3
    },
    {
        "configs": {
            "password": "*****",
            "username": "kafka",
            "zookeeper.connect": "akulkarni-etp-real-final-1.novalocal:2181"
        },
        "createTime": 1450758481000,
        "createdBy": "amb_ranger_admin",
        "description": "kafka repo",
        "guid": "bd25a697-7c45-4c75-b23d-bb02071c98c2",
        "id": 5,
        "isEnabled": true,
        "name": "cl1_kafka",
        "policyUpdateTime": 1450805416000,
        "policyVersion": 2,
        "tagVersion": 1,
        "type": "kafka",
        "updateTime": 1450805416000,
        "updatedBy": "amb_ranger_admin",
        "version": 3
    },
    {
        "configs": {
            "password": "*****",
            "username": "admin"
        },
        "createTime": 1451348710000,
        "createdBy": "Admin",
        "description": "test service",
        "guid": "e72cb64d-66d7-4632-b5ae-c6966cb52105",
        "id": 6,
        "isEnabled": true,
        "name": "cl1_test",
        "policyUpdateTime": 1451352708000,
        "policyVersion": 4,
        "tagVersion": 1,
        "type": "test",
        "updateTime": 1451352708000,
        "updatedBy": "Admin",
        "version": 6
    }
]