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

Starting job from updated description behaves differently than a new job submission #568

Closed
kstaken opened this issue Sep 25, 2017 · 0 comments

Comments

@kstaken
Copy link
Member

kstaken commented Sep 25, 2017

This was on a persistent job. Submitting as a completely new job record the job would run successfully. Updating an old job record with the same job spec and then calling _start resulted in the job failing. I verified the spec was updated and looked correct however it failed with the following error every time I tried to start it.

Error: the time descriptor for the interval is malformed
    at dateOptions (/app/config/assets/b7de7567ac59e9c712bf3cb921863fcdb4d2337a/node_modules/teraslice/lib/utils/date_utils.js:21:15)
    at newSlicer (/app/config/assets/b7de7567ac59e9c712bf3cb921863fcdb4d2337a/node_modules/teraslice/lib/readers/elasticsearch_date_range/slicer.js:18:27)
    at Object.newSlicer (/app/config/assets/b7de7567ac59e9c712bf3cb921863fcdb4d2337a/simple_api_reader.js:183:69)
    at slicerInit (/app/source/node_modules/teraslice/lib/cluster/slicer.js:421:23)
    at retry (/app/source/node_modules/teraslice/lib/cluster/slicer.js:432:17)
    at /app/source/node_modules/teraslice/lib/cluster/slicer.js:449:13
    at tryCatcher (/app/source/node_modules/teraslice/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._resolveFromResolver (/app/source/node_modules/teraslice/node_modules/bluebird/js/main/promise.js:483:31)
    at new Promise (/app/source/node_modules/teraslice/node_modules/bluebird/js/main/promise.js:71:37)
    at slicerInitRetry (/app/source/node_modules/teraslice/lib/cluster/slicer.js:429:16)
    at bound (domain.js:287:14)
    at runBound (domain.js:300:12)
    at tryCatcher (/app/source/node_modules/teraslice/node_modules/bluebird/js/main/util.js:26:23)
    at Promise._settlePromiseFromHandler (/app/source/node_modules/teraslice/node_modules/bluebird/js/main/promise.js:510:31)
    at Promise._settlePromiseAt (/app/source/node_modules/teraslice/node_modules/bluebird/js/main/promise.js:584:18)
    at Promise._settlePromises (/app/source/node_modules/teraslice/node_modules/bluebird/js/main/promise.js:700:14)
    at Async._drainQueue (/app/source/node_modules/teraslice/node_modules/bluebird/js/main/async.js:123:16)
    at Async._drainQueues (/app/source/node_modules/teraslice/node_modules/bluebird/js/main/async.js:133:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/app/source/node_modules/teraslice/node_modules/bluebird/js/main/async.js:15:14)
    at processImmediate [as _immediateCallback] (timers.js:396:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant