(I answer to User Kylin Maillist)

Check this references, please:

http://kylin.apache.org/blog/2016/08/01/count-distinct-in-kylin/  there is
an exemple

"builder": "org.apache.kylin.dict.GlobalDictionaryBuilder"

and Kylin 1904 <https://issues.apache.org/jira/browse/KYLIN-1904>

BR, Alb

2017-01-05 16:21 GMT+01:00 446463...@qq.com <446463...@qq.com>:

> Hi all :
>    I wan't to kown where kylin global dictionary stroe?
> I found my cube infomation in HBase kylin table.for example:
>
> in HBase console shell
> get "kylin_metadata","/cube/dmp_user_info_cube.json"
> i Get this (this data is formated )
> -----------------------------------------------------------
> {
>     "uuid": "f5db317d-32a9-4b14-8c56-837d3f9a3fae",
>     "last_modified": 1483607960443,
>     "version": "1.6.0",
>     "name": "dmp_user_info",
>     "owner": "ADMIN",
>     "descriptor": "dmp_user_info",
>     "cost": 50,
>     "status": "DISABLED",
>     "segments": [
>         {
>             "uuid": "9b187fdb-28ca-48f0-a0df-fe68cef05981",
>             "name": "20161001000000_20161220000000",
>             "storage_location_identifier": "KYLIN_3WV3VKHD99",
>             "date_range_start": 1475280000000,
>             "date_range_end": 1482192000000,
>             "source_offset_start": 0,
>             "source_offset_end": 0,
>             "status": "NEW",
>             "size_kb": 0,
>             "input_records": 0,
>             "input_records_size": 0,
>             "last_build_time": 0,
>             "last_build_job_id": null,
>             "create_time_utc": 1483607736083,
>             "cuboid_shard_nums": { },
>             "total_shards": 0,
>             "blackout_cuboids": [ ],
>             "binary_signature": null,
>             "dictionaries": {
>                 "KYLINLABEL.USER_INFO/SEX": "/dict/
> KYLINLABEL.USER_INFO/SEX/e01c7973-7dd7-411a-9e6d-79613e4fb2c9.dict",
>                 "KYLINLABEL.USER_INFO/BIRTHDAY": "/dict/
> KYLINLABEL.USER_INFO/BIRTHDAY/39270014-1c39-4d18-905d-43935d658a41.dict",
>                 "KYLINLABEL.USER_INFO/NATIVE_PLACE": "/
> dict/KYLINLABEL.USER_INFO/NATIVE_PLACE/c964fe32-66e9-
> 4fa3-9902-fad28167b46d.dict",
>                 "KYLINLABEL.USER_INFO/LOCATION": "/dict/
> KYLINLABEL.USER_INFO/LOCATION/2155116f-6bd0-44cb-b14c- .dict"
>             },
>             "snapshots": null,
>             "index_path": null,
>             "rowkey_stats": [
>                 [
>                     "SEX",
>                     3,
>                     1
>                 ],
>                 [
>                     "BIRTHDAY",
>                     9193,
>                     2
>                 ],
>                 [
>                     "NATIVE_PLACE",
>                     2268,
>                     2
>                 ],
>                 [
>                     "LOCATION",
>                     15,
>                     1
>                 ]
>             ]
>         }
>     ],
>     "create_time_utc": 1483605652669,
>     "size_kb": 0,
>     "input_records_count": 0,
>     "input_records_size": 0
> }
> -------------------------------------
> I find all thing begin with /cube or /cube_desc or /model_desc or /table
> or /table_ext related to my cube and I can't find anything with Global
> Dictionary with my cube
> Help me !
>
> ------------------------------
> 446463...@qq.com
>

Reply via email to