Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1114

Improve ConfVars (SessionVar) to take a validator interface to check its input.

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • None

    Description

      Each task uses session variables from client or configs from tajo-site.xml. The session variables and configs are used in task during query processing.

      If invalid configs or invalid session variables are used for a query, the error will be caused in a runtime instead of query init phase. It's bad situation. Invalid values must be detected at the initialization phase.

      Because each session variable or config varies in its value type and value range, It would be great if each ConfigKey takes a validator for its value and Tajo uses validators for it.

      Attachments

        Activity

          People

            ykrips Jihun Kang
            hyunsik Hyunsik Choi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment