You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Hao Hao (Code Review)" <ge...@cloudera.org> on 2018/08/13 04:43:31 UTC

[kudu-CR] [hms] disable direct SQL in MiniHms

Hao Hao has uploaded this change for review. ( http://gerrit.cloudera.org:8080/11198


Change subject: [hms] disable direct SQL in MiniHms
......................................................................

[hms] disable direct SQL in MiniHms

This commit explictly disables direct SQL specificlly in Hive
configuration to avoid annoying warning in the logs of certain Hive
versions, e.g. "DirectSql: Self-test query [select "DB_ID" from "DBS"]
failed; direct SQL is disabled" when runing tests with mini hms.

Change-Id: If48fb2551fae739e2f1548bb5ca2187364064703
---
M src/kudu/hms/mini_hms.cc
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/98/11198/1
-- 
To view, visit http://gerrit.cloudera.org:8080/11198
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If48fb2551fae739e2f1548bb5ca2187364064703
Gerrit-Change-Number: 11198
Gerrit-PatchSet: 1
Gerrit-Owner: Hao Hao <ha...@cloudera.com>

[kudu-CR] [hms] disable direct SQL in MiniHms

Posted by "Dan Burkert (Code Review)" <ge...@cloudera.org>.
Dan Burkert has posted comments on this change. ( http://gerrit.cloudera.org:8080/11198 )

Change subject: [hms] disable direct SQL in MiniHms
......................................................................


Patch Set 1:

+1 on the premise of this patch, but the test failures look worrying.


-- 
To view, visit http://gerrit.cloudera.org:8080/11198
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If48fb2551fae739e2f1548bb5ca2187364064703
Gerrit-Change-Number: 11198
Gerrit-PatchSet: 1
Gerrit-Owner: Hao Hao <ha...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Dan Burkert <da...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Comment-Date: Tue, 14 Aug 2018 20:54:27 +0000
Gerrit-HasComments: No

[kudu-CR] [hms] disable direct SQL in MiniHms

Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/11198 )

Change subject: [hms] disable direct SQL in MiniHms
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/11198/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/11198/1//COMMIT_MSG@7
PS1, Line 7: [hms] disable direct SQL in MiniHms
Why was direct SQL enabled in the first place? What advantages does it confer, if any?


http://gerrit.cloudera.org:8080/#/c/11198/1//COMMIT_MSG@12
PS1, Line 12: runing
running



-- 
To view, visit http://gerrit.cloudera.org:8080/11198
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If48fb2551fae739e2f1548bb5ca2187364064703
Gerrit-Change-Number: 11198
Gerrit-PatchSet: 1
Gerrit-Owner: Hao Hao <ha...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Dan Burkert <da...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Comment-Date: Mon, 13 Aug 2018 22:34:21 +0000
Gerrit-HasComments: Yes

[kudu-CR] [hms] disable direct SQL in MiniHms

Posted by "Dan Burkert (Code Review)" <ge...@cloudera.org>.
Dan Burkert has posted comments on this change. ( http://gerrit.cloudera.org:8080/11198 )

Change subject: [hms] disable direct SQL in MiniHms
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/11198/1/src/kudu/hms/mini_hms.cc
File src/kudu/hms/mini_hms.cc:

http://gerrit.cloudera.org:8080/#/c/11198/1/src/kudu/hms/mini_hms.cc@256
PS1, Line 256:     <name>hive.metastore.try.direct.sql</name>
I think the idea here is that direct SQL never works with derby, right?  If so, it would be good to add a note to the comment above to that effect, ideally with a link to supporting Hive documentation if that exists.



-- 
To view, visit http://gerrit.cloudera.org:8080/11198
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If48fb2551fae739e2f1548bb5ca2187364064703
Gerrit-Change-Number: 11198
Gerrit-PatchSet: 1
Gerrit-Owner: Hao Hao <ha...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Dan Burkert <da...@apache.org>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Comment-Date: Tue, 14 Aug 2018 20:55:13 +0000
Gerrit-HasComments: Yes

[kudu-CR] [hms] disable direct SQL in MiniHms

Posted by "Hao Hao (Code Review)" <ge...@cloudera.org>.
Hao Hao has abandoned this change. ( http://gerrit.cloudera.org:8080/11198 )

Change subject: [hms] disable direct SQL in MiniHms
......................................................................


Abandoned
-- 
To view, visit http://gerrit.cloudera.org:8080/11198
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: abandon
Gerrit-Change-Id: If48fb2551fae739e2f1548bb5ca2187364064703
Gerrit-Change-Number: 11198
Gerrit-PatchSet: 2
Gerrit-Owner: Hao Hao <ha...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Dan Burkert <da...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)