1020-fs_model.json 6.41 KB
Newer Older
1 2 3 4 5
{
    "enumDefs": [
        {
            "name": "file_action",
            "typeVersion": "1.0",
6
            "serviceType": "file_system",
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
            "elementDefs": [
                {
                    "ordinal": 0,
                    "value": "NONE"
                },
                {
                    "ordinal": 1,
                    "value": "EXECUTE"
                },
                {
                    "ordinal": 2,
                    "value": "WRITE"
                },
                {
                    "ordinal": 3,
                    "value": "WRITE_EXECUTE"
                },
                {
                    "ordinal": 4,
                    "value": "READ"
                },
                {
                    "ordinal": 5,
                    "value": "READ_EXECUTE"
                },
                {
                    "ordinal": 6,
                    "value": "READ_WRITE"
                },
                {
                    "ordinal": 7,
                    "value": "ALL"
                }
            ]
        }
    ],
    "structDefs": [
        {
            "name": "fs_permissions",
46
            "serviceType": "file_system",
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
            "typeVersion": "1.0",
            "attributeDefs": [
                {
                    "name": "group",
                    "typeName": "file_action",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                },
                {
                    "name": "user",
                    "typeName": "file_action",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                },
                {
                    "name": "sticky",
                    "typeName": "boolean",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                },
                {
                    "name": "others",
                    "typeName": "file_action",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
                    "isUnique": false
                }
            ]
        }
    ],
    "classificationDefs": [],
    "entityDefs": [
        {
            "name": "fs_path",
            "superTypes": [
                "DataSet"
            ],
91
            "serviceType": "file_system",
92 93 94 95 96 97 98 99
            "typeVersion": "1.0",
            "attributeDefs": [
                {
                    "name": "path",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": false,
100
                    "includeInNotification": true,
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
                    "isUnique": false
                },
                {
                    "name": "createTime",
                    "typeName": "date",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "modifiedTime",
                    "typeName": "date",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "isFile",
                    "typeName": "boolean",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "isSymlink",
                    "typeName": "boolean",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "fileSize",
                    "typeName": "long",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "group",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "posixPermissions",
                    "typeName": "fs_permissions",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                }
            ]
        },
        {
            "name": "hdfs_path",
            "superTypes": [
                "fs_path"
            ],
166
            "serviceType": "file_system",
167
            "typeVersion": "1.1",
168 169 170 171 172 173 174
            "attributeDefs": [
                {
                    "name": "clusterName",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
175
                    "includeInNotification": true,
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
                    "isUnique": false
                },
                {
                    "name": "numberOfReplicas",
                    "typeName": "int",
                    "cardinality": "SINGLE",
                    "isIndexable": true,
                    "isOptional": true,
                    "isUnique": false
                },
                {
                    "name": "extendedAttributes",
                    "typeName": "map<string,string>",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": true,
                    "isUnique": false
193 194 195 196 197 198 199
                },
                {
                    "name": "nameServiceId",
                    "typeName": "string",
                    "cardinality": "SINGLE",
                    "isIndexable": false,
                    "isOptional": true,
200
                    "includeInNotification": true,
201
                    "isUnique": false
202 203 204 205 206
                }
            ]
        }
    ]
}