Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 when task type is index #19

Open
ktong opened this issue Mar 20, 2018 · 0 comments
Open

404 when task type is index #19

ktong opened this issue Mar 20, 2018 · 0 comments

Comments

@ktong
Copy link

ktong commented Mar 20, 2018

Error when index id likes index_{datasource_name}_2018-03-20T17:39:09.499Z:
druid.js:138 TypeError: Cannot read property '3' of null
at Object.parseTaskId (druid.js:13739)
at Object.decorateTask (druid.js:13752)
at tasks.reduce.all (druid.js:13778)
at Array.reduce ()
at Object.processTasks (druid.js:13775)
at druid.js:13856
at druid.js:118
at J (druid.js:147)
at J (druid.js:147)
at druid.js:148

The root cause is regex for taskId parsing does not support index type task. Code is at

m = taskId.match /^((hadoop_convert_segment)|index_(hadoop|realtime|spark)|(archive))_(.+)_(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z)/

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

No branches or pull requests

1 participant