TAJO-1114: Improve ConfVars (SessionVar) to take a validator interface to check its input.#206
TAJO-1114: Improve ConfVars (SessionVar) to take a validator interface to check its input.#206ykrips wants to merge 18 commits intoapache:masterfrom
Conversation
…e to check its input.
…e to check its input.
…e to check its input.
…e to check its input.
…e to check its input.
|
Even through it needs rebase, it was easy to merge the patch against the latest revision. I'm reviewing this patch. I'll leave comments soon. |
There was a problem hiding this comment.
Shell variable (i.e., ```${user.name}) is translated in Hadoop's Configuration. Actually, this config is just a string.
|
Hi @ykrips, I greatly appreciate your contribution. The patch looks really great. I love your design. Actually, I didn't mention how we validate each config key. Of course, it is out of scope of this issue. Now, I just share it with you. In my plan, Tajo will validate configs in two ways. The first way is that TajoMaster validates each config when it starts up. If TajoMaster finds invalid config which probably will cause query runtime errors, TajoMaster will shutdown immediately and prints out detailed error messages. If so, we can earlier prohibit some kind of query runtime errors. The second one is that TajoMaster checks each session setting action by client. If a client sets an invalid session variable, it will show some errors and prohibit putting the invalid variable into session variables. If you fix the validator for Best regards, |
|
Hello @hyunsik , |
…e to check its input.
…e to check its input.
…e to check its input.
…e to check its input.
…e to check its input.
…e to check its input.
…e to check its input.
|
Hello @hyunsik , |
No description provided.