Return-Path: X-Original-To: apmail-drill-commits-archive@www.apache.org Delivered-To: apmail-drill-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1097D17AA5 for ; Sun, 10 May 2015 16:30:47 +0000 (UTC) Received: (qmail 25342 invoked by uid 500); 10 May 2015 16:30:47 -0000 Delivered-To: apmail-drill-commits-archive@drill.apache.org Received: (qmail 25250 invoked by uid 500); 10 May 2015 16:30:46 -0000 Mailing-List: contact commits-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commits@drill.apache.org Delivered-To: mailing list commits@drill.apache.org Received: (qmail 25143 invoked by uid 99); 10 May 2015 16:30:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 May 2015 16:30:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 93009E0544; Sun, 10 May 2015 16:30:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jacques@apache.org To: commits@drill.apache.org Date: Sun, 10 May 2015 16:30:48 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [03/12] drill git commit: DRILL-2981: Add queries log. Update profile to store normal and verbose exception as well as node and errorid. http://git-wip-us.apache.org/repos/asf/drill/blob/42d5f818/protocol/src/main/protobuf/UserBitShared.proto ---------------------------------------------------------------------- diff --git a/protocol/src/main/protobuf/UserBitShared.proto b/protocol/src/main/protobuf/UserBitShared.proto index a17dbc7..e3b6168 100644 --- a/protocol/src/main/protobuf/UserBitShared.proto +++ b/protocol/src/main/protobuf/UserBitShared.proto @@ -174,7 +174,7 @@ message QueryInfo { optional string query = 1; optional int64 start = 2; optional QueryResult.QueryState state = 3; - optional string user = 4; + optional string user = 4 [default = "-"]; optional DrillbitEndpoint foreman = 5; } @@ -191,6 +191,11 @@ message QueryProfile { optional int32 total_fragments = 9; optional int32 finished_fragments = 10; repeated MajorFragmentProfile fragment_profile = 11; + optional string user = 12 [default = "-"]; + optional string error = 13; + optional string verboseError = 14; + optional string error_id = 15; + optional string error_node = 16; } message MajorFragmentProfile {