Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4689

Expiration computes last active timestamp wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 2.7.0
    • Impala 2.9.0
    • Backend
    • None

    Description

      The last active time in impala-server.cc#L1806 is in milliseconds, but the TimestampValue c'tor expects seconds.

                VLOG_QUERY << "Expiring query due to client inactivity: "
                           << expiration_event->second << ", last activity was at: "
                           << TimestampValue(query_state->last_active()).DebugString();
                const string& err_msg = Substitute(
                    "Query $0 expired due to client inactivity (timeout is $1)",
                    PrintId(expiration_event->second),
                    PrettyPrinter::Print(timeout_s * 1000000000L, TUnit::TIME_NS));
      

      Attachments

        Activity

          People

            lv Lars Volker
            lv Lars Volker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: