Skip to content
This repository has been archived by the owner on Oct 5, 2018. It is now read-only.

Duplicate dimension name error when introspecting druid #20

Open
l15k4 opened this issue Oct 29, 2017 · 0 comments
Open

Duplicate dimension name error when introspecting druid #20

l15k4 opened this issue Oct 29, 2017 · 0 comments

Comments

@l15k4
Copy link

l15k4 commented Oct 29, 2017

Hey,

we have several dimensions like d_a & d_A or d_key & d_Key which is considered duplicate and Swiv errors out, would it be possible to filter out the duplicates and log error instead of crashing?

Fatal settings load error: duplicate dimension name 'd_a' found in data cube: 'gwiq-daily-p'
Error: duplicate dimension name 'd_a' found in data cube: 'gwiq-daily-p'
    at /usr/local/lib/node_modules/yahoo-swiv/build/common/models/data-cube/data-cube.js:39:23
    at List.__iterate (/usr/local/lib/node_modules/yahoo-swiv/node_modules/immutable/dist/immutable.js:2208:13)
    at List.forEach (/usr/local/lib/node_modules/yahoo-swiv/node_modules/immutable/dist/immutable.js:4383:19)
    at checkUnique (/usr/local/lib/node_modules/yahoo-swiv/build/common/models/data-cube/data-cube.js:36:20)
    at new DataCube (/usr/local/lib/node_modules/yahoo-swiv/build/common/models/data-cube/data-cube.js:137:9)
    at DataCube.addAttributes (/usr/local/lib/node_modules/yahoo-swiv/build/common/models/data-cube/data-cube.js:728:16)
    at DataCube.updateWithExternal (/usr/local/lib/node_modules/yahoo-swiv/build/common/models/data-cube/data-cube.js:497:21)
    at Function.DataCube.fromClusterAndExternal (/usr/local/lib/node_modules/yahoo-swiv/build/common/models/data-cube/data-cube.js:164:48)
    at SettingsManager.onExternalChange (/usr/local/lib/node_modules/yahoo-swiv/build/server/utils/settings-manager/settings-manager.js:237:41)
    at ClusterManager.updateManagedExternal (/usr/local/lib/node_modules/yahoo-swiv/build/server/utils/cluster-manager/cluster-manager.js:75:23)

I don't know swiv much, so I cannot really tell why it is trying to avoid duplicate dimensions and metrics and as I've never used JS or TS, I'd have hard times to submit a fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant