change StreamLoadException from NonFatal to Fatal#301
change StreamLoadException from NonFatal to Fatal#301zhaorongsheng wants to merge 1 commit intoapache:masterfrom
Conversation
|
Here we should just check whether the status of commit and abort is success? |
Spark class |
|
It's a supplementary PR of #206 |
Does this mean that even if commit throws an exception, the spark program will not exit? |
Yep. Spark |
|
@zhaorongsheng Thanks for reply, But I tried it locally, after commit throws an exception, it will go to abort, and then the spark task will stop. Can you provide a case that can be reproduced? |
Proposed changes
Issue Number: close #205
Problem Summary:
Throw exception when commit unsuccessfully. And change the exception from NonFatal to Fatal exception to make spark application throw Fatal exception and make the job failed eventually.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...