You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Adar Dembo (Code Review)" <ge...@cloudera.org> on 2017/10/17 01:43:57 UTC

[kudu-CR] fs: move IsDirectoryEmpty to env util

Hello David Ribeiro Alves, Andrew Wong (DEPRECATED: please use awong@cloudera.com),

I'd like you to do a code review. Please visit

    http://gerrit.cloudera.org:8080/8289

to review the following change.


Change subject: fs: move IsDirectoryEmpty to env_util
......................................................................

fs: move IsDirectoryEmpty to env_util

I thought I'd need this in a follow-on patch. I didn't, but I still had the
unit tests written, and I think env_util is a better home for this.

Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
---
M src/kudu/fs/fs_manager.cc
M src/kudu/fs/fs_manager.h
M src/kudu/util/env_util-test.cc
M src/kudu/util/env_util.cc
M src/kudu/util/env_util.h
5 files changed, 37 insertions(+), 22 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
Gerrit-Change-Number: 8289
Gerrit-PatchSet: 1
Gerrit-Owner: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong (DEPRECATED: please use awong@cloudera.com) <an...@cloudera.com>
Gerrit-Reviewer: David Ribeiro Alves <da...@gmail.com>

[kudu-CR] fs: move IsDirectoryEmpty to env util

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

Change subject: fs: move IsDirectoryEmpty to env_util
......................................................................


Patch Set 1: Code-Review+1


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
Gerrit-Change-Number: 8289
Gerrit-PatchSet: 1
Gerrit-Owner: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: David Ribeiro Alves <da...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>
Gerrit-Comment-Date: Tue, 17 Oct 2017 14:57:32 +0000
Gerrit-HasComments: No

[kudu-CR] fs: move IsDirectoryEmpty to env util

Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has removed Kudu Jenkins from this change.  ( http://gerrit.cloudera.org:8080/8289 )

Change subject: fs: move IsDirectoryEmpty to env_util
......................................................................


Removed reviewer Kudu Jenkins with the following votes:

* Verified-1 by Kudu Jenkins (120)
-- 
To view, visit http://gerrit.cloudera.org:8080/8289
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: deleteReviewer
Gerrit-Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
Gerrit-Change-Number: 8289
Gerrit-PatchSet: 2
Gerrit-Owner: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: David Ribeiro Alves <da...@gmail.com>
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>

[kudu-CR] fs: move IsDirectoryEmpty to env util

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

Change subject: fs: move IsDirectoryEmpty to env_util
......................................................................


Patch Set 2: Verified+1

Overriding Jenkins, one dist test failed to set up.


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
Gerrit-Change-Number: 8289
Gerrit-PatchSet: 2
Gerrit-Owner: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: David Ribeiro Alves <da...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>
Gerrit-Comment-Date: Tue, 17 Oct 2017 21:00:46 +0000
Gerrit-HasComments: No

[kudu-CR] fs: move IsDirectoryEmpty to env util

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

Change subject: fs: move IsDirectoryEmpty to env_util
......................................................................


Patch Set 2: Code-Review+2


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
Gerrit-Change-Number: 8289
Gerrit-PatchSet: 2
Gerrit-Owner: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: David Ribeiro Alves <da...@gmail.com>
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>
Gerrit-Comment-Date: Wed, 18 Oct 2017 19:33:52 +0000
Gerrit-HasComments: No

[kudu-CR] fs: move IsDirectoryEmpty to env util

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

Change subject: fs: move IsDirectoryEmpty to env_util
......................................................................


Patch Set 1: Code-Review+2


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
Gerrit-Change-Number: 8289
Gerrit-PatchSet: 1
Gerrit-Owner: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: David Ribeiro Alves <da...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>
Gerrit-Comment-Date: Tue, 17 Oct 2017 04:59:28 +0000
Gerrit-HasComments: No

[kudu-CR] fs: move IsDirectoryEmpty to env util

Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has removed Andrew Wong (DEPRECATED: please use awong@cloudera.com) from this change.  ( http://gerrit.cloudera.org:8080/8289 )

Change subject: fs: move IsDirectoryEmpty to env_util
......................................................................


Removed reviewer Andrew Wong (DEPRECATED: please use awong@cloudera.com).
-- 
To view, visit http://gerrit.cloudera.org:8080/8289
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: deleteReviewer
Gerrit-Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
Gerrit-Change-Number: 8289
Gerrit-PatchSet: 1
Gerrit-Owner: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: David Ribeiro Alves <da...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins

[kudu-CR] fs: move IsDirectoryEmpty to env util

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

Change subject: fs: move IsDirectoryEmpty to env_util
......................................................................


Patch Set 2: Code-Review+1


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
Gerrit-Change-Number: 8289
Gerrit-PatchSet: 2
Gerrit-Owner: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: David Ribeiro Alves <da...@gmail.com>
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>
Gerrit-Comment-Date: Wed, 18 Oct 2017 18:38:01 +0000
Gerrit-HasComments: No

[kudu-CR] fs: move IsDirectoryEmpty to env util

Posted by "Todd Lipcon (Code Review)" <ge...@cloudera.org>.
Todd Lipcon has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/8289 )

Change subject: fs: move IsDirectoryEmpty to env_util
......................................................................

fs: move IsDirectoryEmpty to env_util

I thought I'd need this in a follow-on patch. I didn't, but I still had the
unit tests written, and I think env_util is a better home for this.

Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
Reviewed-on: http://gerrit.cloudera.org:8080/8289
Tested-by: Adar Dembo <ad...@cloudera.com>
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Reviewed-by: Todd Lipcon <to...@apache.org>
---
M src/kudu/fs/fs_manager.cc
M src/kudu/fs/fs_manager.h
M src/kudu/util/env_util-test.cc
M src/kudu/util/env_util.cc
M src/kudu/util/env_util.h
5 files changed, 37 insertions(+), 22 deletions(-)

Approvals:
  Adar Dembo: Verified
  Andrew Wong: Looks good to me, but someone else must approve
  Todd Lipcon: Looks good to me, approved

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I6f6324ac7507801e5ba8c6ed87c9bb3a3a9ffc1a
Gerrit-Change-Number: 8289
Gerrit-PatchSet: 3
Gerrit-Owner: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: David Ribeiro Alves <da...@gmail.com>
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>