You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Alexey Serbin (Code Review)" <ge...@cloudera.org> on 2018/02/14 19:53:06 UTC

[kudu-CR] [catalog manager] check re-replication scheme upon table creation

Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/9321


Change subject: [catalog_manager] check re-replication scheme upon table creation
......................................................................

[catalog_manager] check re-replication scheme upon table creation

Output actionable warning message upon creation of a new table when
the number of alive tablet servers is not enough to re-replicate
tablet replicas in case of a failure.

Since the 3-4-3 replication scheme is now enabled by default, this might
be useful in case if running a cluster with just N tablet servers when
newly created tables have replication factor of N
(e.g., imagine running with just 3 tablet servers total and creating
tables with the default replication factor of 3).

This is a follow-up for c40e0587bf6a6aa55e5bd72dd2dd9356b1507f2e.

Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
---
M src/kudu/master/catalog_manager.cc
1 file changed, 36 insertions(+), 16 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
Gerrit-Change-Number: 9321
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>

[kudu-CR] [catalog manager] check re-replication scheme upon table creation

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Mike Percy, Kudu Jenkins, 

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#3).

Change subject: [catalog_manager] check re-replication scheme upon table creation
......................................................................

[catalog_manager] check re-replication scheme upon table creation

Output actionable warning message upon creation of a new table when
the number of live tablet servers is not enough to re-replicate
tablet replicas in case of a failure.

Since the 3-4-3 replication scheme is now enabled by default, this might
be useful in case if running a cluster with just N tablet servers when
newly created tables have replication factor of N
(e.g., imagine running with just 3 tablet servers total and creating
tables with the default replication factor of 3).

This is a follow-up for c40e0587bf6a6aa55e5bd72dd2dd9356b1507f2e.

Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
---
M src/kudu/master/catalog_manager.cc
1 file changed, 36 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/21/9321/3
-- 
To view, visit http://gerrit.cloudera.org:8080/9321
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
Gerrit-Change-Number: 9321
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>

[kudu-CR] [catalog manager] check re-replication scheme upon table creation

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

Change subject: [catalog_manager] check re-replication scheme upon table creation
......................................................................

[catalog_manager] check re-replication scheme upon table creation

Output actionable warning message upon creation of a new table when
the number of live tablet servers is not enough to re-replicate
tablet replicas in case of a failure.

Since the 3-4-3 replication scheme is now enabled by default, this might
be useful in case if running a cluster with just N tablet servers when
newly created tables have replication factor of N
(e.g., imagine running with just 3 tablet servers total and creating
tables with the default replication factor of 3).

This is a follow-up for c40e0587bf6a6aa55e5bd72dd2dd9356b1507f2e.

Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
Reviewed-on: http://gerrit.cloudera.org:8080/9321
Tested-by: Kudu Jenkins
Reviewed-by: Mike Percy <mp...@apache.org>
---
M src/kudu/master/catalog_manager.cc
1 file changed, 36 insertions(+), 16 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Mike Percy: Looks good to me, approved

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
Gerrit-Change-Number: 9321
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>

[kudu-CR] [catalog manager] check re-replication scheme upon table creation

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

Change subject: [catalog_manager] check re-replication scheme upon table creation
......................................................................


Patch Set 2:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/9321/1/src/kudu/master/catalog_manager.cc
File src/kudu/master/catalog_manager.cc:

http://gerrit.cloudera.org:8080/#/c/9321/1/src/kudu/master/catalog_manager.cc@1386
PS1, Line 1386: live 
> nit: s/alive/live/
Done


http://gerrit.cloudera.org:8080/#/c/9321/1/src/kudu/master/catalog_manager.cc@1401
PS1, Line 1401:  
> add: (not recommended)
Done



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
Gerrit-Change-Number: 9321
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Tue, 20 Feb 2018 23:13:11 +0000
Gerrit-HasComments: Yes

[kudu-CR] [catalog manager] check re-replication scheme upon table creation

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Mike Percy, 

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#2).

Change subject: [catalog_manager] check re-replication scheme upon table creation
......................................................................

[catalog_manager] check re-replication scheme upon table creation

Output actionable warning message upon creation of a new table when
the number of alive tablet servers is not enough to re-replicate
tablet replicas in case of a failure.

Since the 3-4-3 replication scheme is now enabled by default, this might
be useful in case if running a cluster with just N tablet servers when
newly created tables have replication factor of N
(e.g., imagine running with just 3 tablet servers total and creating
tables with the default replication factor of 3).

This is a follow-up for c40e0587bf6a6aa55e5bd72dd2dd9356b1507f2e.

Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
---
M src/kudu/master/catalog_manager.cc
1 file changed, 36 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/21/9321/2
-- 
To view, visit http://gerrit.cloudera.org:8080/9321
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
Gerrit-Change-Number: 9321
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Mike Percy <mp...@apache.org>

[kudu-CR] [catalog manager] check re-replication scheme upon table creation

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

Change subject: [catalog_manager] check re-replication scheme upon table creation
......................................................................


Patch Set 3: Code-Review+2


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
Gerrit-Change-Number: 9321
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Wed, 21 Feb 2018 01:40:32 +0000
Gerrit-HasComments: No

[kudu-CR] [catalog manager] check re-replication scheme upon table creation

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

Change subject: [catalog_manager] check re-replication scheme upon table creation
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/9321/1/src/kudu/master/catalog_manager.cc
File src/kudu/master/catalog_manager.cc:

http://gerrit.cloudera.org:8080/#/c/9321/1/src/kudu/master/catalog_manager.cc@1386
PS1, Line 1386: alive
nit: s/alive/live/


http://gerrit.cloudera.org:8080/#/c/9321/1/src/kudu/master/catalog_manager.cc@1401
PS1, Line 1401: .
add: (not recommended)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
Gerrit-Change-Number: 9321
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Tue, 20 Feb 2018 23:08:21 +0000
Gerrit-HasComments: Yes

[kudu-CR] [catalog manager] check re-replication scheme upon table creation

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

Change subject: [catalog_manager] check re-replication scheme upon table creation
......................................................................


Patch Set 1: Verified+1

Unrelated fake in AdminCliTest.TestMoveTablet_KUDU_1097:

Illegal state: Leader has not yet committed an operation in its own term        
/home/jenkins-slave/workspace/kudu-master/2/src/kudu/tools/kudu-admin-test.cc:290: Failure
Failed                                                                          
Bad status: Runtime error: /tmp/dist-test-taskHH2URb/build/asan/bin/kudu: process exited with non-zero status 1


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
Gerrit-Change-Number: 9321
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Wed, 14 Feb 2018 22:20:48 +0000
Gerrit-HasComments: No

[kudu-CR] [catalog manager] check re-replication scheme upon table creation

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

Change subject: [catalog_manager] check re-replication scheme upon table creation
......................................................................


Removed reviewer Kudu Jenkins with the following votes:

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: deleteReviewer
Gerrit-Change-Id: I5a59451ad876d9864a90607187a05f8526cd8cbf
Gerrit-Change-Number: 9321
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Mike Percy <mp...@apache.org>