Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-9247

Unnecessarily verbose logging in Explore Metadata Handler

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.1
    • Component/s: Explore, Log
    • Labels:
    • Release Notes:
      Removed a misleading error log message in the CDAP Explore service.
    • Rank:
      1|hzzz1z:

      Description

      This is the HTTP handler that implements the getTableInfo() for the remote explore client. This method is used both for getting the schema of a table, and for determining whether the table exists. In the second case, it really is not an error if the table does not exist. But it is always logged as an ERROR with full stack trace, which makes logs very noisy, also this can be confusing to a user because it looks as if something is wrong.

      https://github.com/caskdata/cdap/blob/release/4.1/cdap-explore/src/main/java/co/cask/cdap/explore/executor/NamespacedExploreMetadataHttpHandler.java#L99

        Attachments

          Activity

            People

            • Assignee:
              andreas Andreas Neumann
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: