Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-387

Query is hanging when errors occurs in Query or SubQuery class

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: QueryMaster
    • Labels:
      None

      Description

      Currently, Query is hanging when errors occur in Query or SubQuery. This is a critical bug.

      Primarily, this patch fixes many bugs that cause infinite query hanging. In detail, this patch does as follows:

      • When there is no result file, Query::buildOrUpdateResultTableDesc causes NPE. This patch fixes this bug.
      • A table can be either a file or directory.
        • Before this patch, a table must be a directory.
      • Add ERROR state to Query
      • Allow Query to avoid hanging when errors occur
      • Enable Query to accumulate diagnostic messages.
      • Add ERROR state to SubQuery
      • Allow SubQuery to avoid hanging and retrieve resources when errors occur
      • Enable SubQuery to accumulate diagnostic messages.
      • Enable TajoCli to get proper error messages (e.g., Query Failed! or Internal Error!) when a query is failed or faces internal errors.

        Attachments

        1. TAJO-387.patch
          37 kB
          Hyunsik Choi

          Activity

            People

            • Assignee:
              hyunsik Hyunsik Choi
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: