Uh oh!
There was an error while loading. Please reload this page.
Refactor alter job process - #1613
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| } | ||
| protected void runPendingJob() { | ||
| throw new NotImplementedException(); |
There was a problem hiding this comment.
Making the AlterJobV2 to a abstract class is more reasonable?
There was a problem hiding this comment.
Yes, I will change it after all test are done
| // send all tasks and wait them finished | ||
| AgentTaskQueue.addBatchTask(batchTask); | ||
| AgentTaskExecutor.submit(batchTask); | ||
| // max timeout is 30 seconds |
There was a problem hiding this comment.
30 seconds is certainly enough? if the table has 1000 partitions and each partition has 100 buckets and only 10 BE.
There was a problem hiding this comment.
Maybe I should change it to a configuration. And default value is 30 sec.
Because I don't want to stuck in here for a long time if error happens. But for
the extreme case like you said, user can always modify the config to satisfy their case.
There was a problem hiding this comment.
Yes. configuration is OK, like create table logic.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ec102bd to
609b0faCompare572e44d to
cf70586Compare
ISSUE: #1429