You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Fengling Wang (Code Review)" <ge...@cloudera.org> on 2018/05/15 21:48:22 UTC

[kudu-CR] KUDU-1867 Improve the "Failed to load FS layout" error log

Fengling Wang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/10419


Change subject: KUDU-1867 Improve the "Failed to load FS layout" error log
......................................................................

KUDU-1867 Improve the "Failed to load FS layout" error log

Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
---
M src/kudu/server/server_base.cc
1 file changed, 2 insertions(+), 1 deletion(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 1
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

Posted by "Fengling Wang (Code Review)" <ge...@cloudera.org>.
Hello Will Berkeley, Kudu Jenkins, Andrew Wong, 

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

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

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................

KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log

This improvement removes the double "Could not lock.." and the
double file paths and adds a descriptive message for the cause
of the error.

Before:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock /private/tmp/kudu/data/master/0/1/data/
block_manager_instance: Could not lock /private/tmp/kudu/data/
master/0/1/data/block_manager_instance: lock /private/tmp/kudu/
data/master/0/1/data/block_manager_instance: Resource temporarily
unavailable (error 35)

After:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock block_manager_instance file. Make sure
that Kudu is not already running and you are not trying to run
Kudu with a different user than before: lock /private/tmp/kudu/
data/master/0/1/data/block_manager_instance: Resource temporarily
unavailable (error 35)

Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
---
M src/kudu/fs/block_manager_util.cc
M src/kudu/fs/data_dirs.cc
2 files changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/19/10419/7
-- 
To view, visit http://gerrit.cloudera.org:8080/10419
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 7
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>

[kudu-CR] KUDU-1867 Improve the "Failed to load FS layout" error log

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

Change subject: KUDU-1867 Improve the "Failed to load FS layout" error log
......................................................................


Patch Set 1:

> Hi Will. Could you tell me how to do "trying to start up a tserver
 > on top of the files of a running tservers"?

NVM. Just found out it comes with the ./runkudu..


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 1
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Wed, 16 May 2018 17:03:02 +0000
Gerrit-HasComments: No

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 7: Verified+1 Code-Review+2

Pre-commit failure appears to be KUDU-2444


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 7
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Mon, 21 May 2018 23:13:11 +0000
Gerrit-HasComments: No

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 6:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10419/5//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/5//COMMIT_MSG@22
PS5, Line 22:  a
> Maybe I'm too picky, but this bugs me. Can you rephrase as a statement rath
Done



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 6
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Fri, 18 May 2018 20:23:31 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Failed to load FS layout" error log

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

Change subject: KUDU-1867 Improve the "Failed to load FS layout" error log
......................................................................


Patch Set 1:

Hi Will. Could you tell me how to do "trying to start up a tserver on top of the files of a running tservers"?


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 1
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Wed, 16 May 2018 16:58:50 +0000
Gerrit-HasComments: No

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

Posted by "Fengling Wang (Code Review)" <ge...@cloudera.org>.
Hello Will Berkeley, Kudu Jenkins, Andrew Wong, 

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

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

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................

KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log

This improvement removes the double "Could not lock.." and adds
a descriptive message for the cause of the error.

Before:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock block_manager_instance file: Could not
lock block_manager_instance file: lock block_manager_instance
file: Resource temporarily unavailable (error 35)

After:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock block_manager_instance file. Is Kudu
already running or are you trying to run Kudu with a different
user than before?: lock block_manager_instance file: Resource
temporarily unavailable (error 35)

Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
---
M src/kudu/fs/block_manager_util.cc
M src/kudu/fs/data_dirs.cc
2 files changed, 6 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/19/10419/5
-- 
To view, visit http://gerrit.cloudera.org:8080/10419
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 5
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

Posted by "Andrew Wong (Code Review)" <ge...@cloudera.org>.
Andrew Wong has removed a vote on this change.

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: deleteVote
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 7
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>

[kudu-CR] KUDU-1867 Improve the "Failed to load FS layout" error log

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

Change subject: KUDU-1867 Improve the "Failed to load FS layout" error log
......................................................................


Patch Set 1:

It's there for both masters and tservers, since it's the same code path for both.

If you run that runkudu script once, let it succeed and start 3 masters, 3 tservers, then run it again, you should see those FATALs on stderr in your shell, one per server, unless you've changed the configuration.


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 1
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Wed, 16 May 2018 17:26:34 +0000
Gerrit-HasComments: No

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10419/2/src/kudu/fs/block_manager_util.cc
File src/kudu/fs/block_manager_util.cc:

http://gerrit.cloudera.org:8080/#/c/10419/2/src/kudu/fs/block_manager_util.cc@155
PS2, Line 155: PathInstanceMetadataFile::Lock
It seems to me this is only used by DataDirManager::LoadInstances



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 2
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Wed, 16 May 2018 21:41:05 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG@22
PS4, Line 22: Could not lock /private/tmp/kudu/data/master/0/2/data/
            : block_manager_instance
Seems the filename is already a part of the status at an even lower level (seems like in env_posix.cc during the call to LockFile()). Since that's the case, let's just change this to "could not lock block_manager_instance file" or something.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 4
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Fri, 18 May 2018 00:32:37 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10419/2//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/2//COMMIT_MSG@8
PS2, Line 8: 
> nit: I think it'd be helpful (if anything, just as a sanity check) to see a
Good point. Thanks.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 4
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Thu, 17 May 2018 21:18:12 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Failed to load FS layout" error log

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

Change subject: KUDU-1867 Improve the "Failed to load FS layout" error log
......................................................................


Patch Set 1:

> > Hi Will. Could you tell me how to do "trying to start up a
 > tserver
 > > on top of the files of a running tservers"? I only saw the double "Could not lock.." on master_main.cc when I ran ./runkudu


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 1
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Wed, 16 May 2018 17:23:19 +0000
Gerrit-HasComments: No

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 5:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG@22
PS4, Line 22: n before?: lock block_manager_instance file: Resource
            : temporarily unavailabl
> Oops sorry, I misunderstood your previous comment. So do you mean we don't 
Yup.


http://gerrit.cloudera.org:8080/#/c/10419/5//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/5//COMMIT_MSG@14
PS5, Line 14: Could not
            : lock block_manager_instance file: lock block_manager_instance
            : file: Resource temporarily unavailable (error 35)
Yeah the filename should be in here.


http://gerrit.cloudera.org:8080/#/c/10419/5//COMMIT_MSG@22
PS5, Line 22: ?:
Maybe I'm too picky, but this bugs me. Can you rephrase as a statement rather than a question, i.e. Make sure that...



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 5
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Fri, 18 May 2018 16:27:46 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Failed to load FS layout" error log

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

Change subject: KUDU-1867 Improve the "Failed to load FS layout" error log
......................................................................


Patch Set 1:

(1 comment)

I noticed another funny thing about the fatal log when trying to start up a tserver on top of the files of a running tservers:

    F0516 08:58:17.725335 2979312512 tablet_server_main.cc:86] Check failed: _s.ok() Bad status: IO error: Failed to load FS layout: Could not lock /private/tmp/kudu/data/tserver/0/data/block_manager_instance: Could not lock /private/tmp/kudu/data/tserver/0/data/block_manager_instance: lock /private/tmp/kudu/data/tserver/0/data/block_manager_instance: Resource temporarily unavailable (error 35)

See how the part "Could not lock /private/tmp/kudu/data/tserver/0/data/block_manager_instance" is repeated twice? Could you see if that's easy to fix as well?

http://gerrit.cloudera.org:8080/#/c/10419/1/src/kudu/server/server_base.cc
File src/kudu/server/server_base.cc:

http://gerrit.cloudera.org:8080/#/c/10419/1/src/kudu/server/server_base.cc@449
PS1, Line 449: Is Kudu already running or are you trying "
             :                            "to run Kudu with a different user than before?
The Status s comes from fs_manager_->Open, and could be any Status that function returns. If you look at FsManager::Open, there's a lot of things that can go wrong besides being unable to lock an instance file. The "Can not lock" message comes from DataDirManager::Open(), so we either need to adjust the message there or detect the error here and adjust the error just in that case.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 1
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Wed, 16 May 2018 16:08:01 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................

KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log

This improvement removes the double "Could not lock.." and the
double file paths and adds a descriptive message for the cause
of the error.

Before:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock /private/tmp/kudu/data/master/0/1/data/
block_manager_instance: Could not lock /private/tmp/kudu/data/
master/0/1/data/block_manager_instance: lock /private/tmp/kudu/
data/master/0/1/data/block_manager_instance: Resource temporarily
unavailable (error 35)

After:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock block_manager_instance file. Make sure
that Kudu is not already running and you are not trying to run
Kudu with a different user than before: lock /private/tmp/kudu/
data/master/0/1/data/block_manager_instance: Resource temporarily
unavailable (error 35)

Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Reviewed-on: http://gerrit.cloudera.org:8080/10419
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Tested-by: Andrew Wong <aw...@cloudera.com>
---
M src/kudu/fs/block_manager_util.cc
M src/kudu/fs/data_dirs.cc
2 files changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Andrew Wong: Looks good to me, approved; Verified

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 8
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

Posted by "Fengling Wang (Code Review)" <ge...@cloudera.org>.
Hello Will Berkeley, Kudu Jenkins, Andrew Wong, 

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

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

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................

KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log

This improvement removes the double "Could not lock.." and the
double file paths and adds a descriptive message for the cause
of the error.

Before:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock block_manager_instance file: Could not
lock block_manager_instance file: lock block_manager_instance
file: Resource temporarily unavailable (error 35)

After:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock block_manager_instance file. Make sure
that Kudu is not already running and you are not trying to run
Kudu with a different user than before: lock /private/tmp/kudu/
data/master/0/1/data/block_manager_instance: Resource temporarily
unavailable (error 35)

Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
---
M src/kudu/fs/block_manager_util.cc
M src/kudu/fs/data_dirs.cc
2 files changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/19/10419/6
-- 
To view, visit http://gerrit.cloudera.org:8080/10419
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 6
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

Posted by "Fengling Wang (Code Review)" <ge...@cloudera.org>.
Hello Will Berkeley, Kudu Jenkins, Andrew Wong, 

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

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

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................

KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log

Before:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock /private/tmp/kudu/data/master/0/1/data/
block_manager_instance: Could not lock /private/tmp/kudu/data/
master/0/1/data/block_manager_instance: lock /private/tmp/kudu/
data/master/0/1/data/block_manager_instance: Resource temporarily
unavailable (error 35)

After:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock /private/tmp/kudu/data/master/0/2/data/
block_manager_instance. Is Kudu already running or are you trying
to run Kudu with a different user than before?: lock /private/tmp/
kudu/data/master/0/2/data/block_manager_instance: Resource
temporarily unavailable (error 35)

This improvement removes the double "Could not lock.." and adds
a descriptive message for the cause of the error.

Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
---
M src/kudu/fs/block_manager_util.cc
M src/kudu/fs/data_dirs.cc
2 files changed, 6 insertions(+), 5 deletions(-)


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 3
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 7:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10419/6//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/6//COMMIT_MSG@14
PS6, Line 14: Check failed: _s.ok() Bad status: IO error: Failed to load FS
            : layout: Could not lock /private/tmp/kudu/data/master/0/1/data/
            : block_manager_instance: Could not lock /private/tmp/kudu/data/
            : master/0/1/data/block_manager_instance: lock /pri
> This should be what it was in PS4 I think
Opps sorry. Changed it back.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 7
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Mon, 21 May 2018 22:23:17 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 5:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG@22
PS4, Line 22: n before?: lock block_manager_instance file: Resource
            : temporarily unavailabl
> Oops sorry, I misunderstood your previous comment. So do you mean we don't 
Yep, exactly! Sorry I wasn't clearer.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 5
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Fri, 18 May 2018 16:27:35 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 6:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10419/6//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/6//COMMIT_MSG@14
PS6, Line 14: Check failed: _s.ok() Bad status: IO error: Failed to load FS
            : layout: Could not lock block_manager_instance file: Could not
            : lock block_manager_instance file: lock block_manager_instance
            : file: Resource temporarily unavailable (error 35)
This should be what it was in PS4 I think



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 6
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Sat, 19 May 2018 01:35:02 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 2:

Looks pretty good to me. Andrew, do you want to look it over quickly?


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 2
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Thu, 17 May 2018 17:28:42 +0000
Gerrit-HasComments: No

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

Posted by "Fengling Wang (Code Review)" <ge...@cloudera.org>.
Hello Will Berkeley, Kudu Jenkins, Andrew Wong, 

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

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

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................

KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log

This improvement removes the double "Could not lock.." and adds
a descriptive message for the cause of the error.

Before:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock /private/tmp/kudu/data/master/0/1/data/
block_manager_instance: Could not lock /private/tmp/kudu/data/
master/0/1/data/block_manager_instance: lock /private/tmp/kudu/
data/master/0/1/data/block_manager_instance: Resource temporarily
unavailable (error 35)

After:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock /private/tmp/kudu/data/master/0/2/data/
block_manager_instance. Is Kudu already running or are you trying
to run Kudu with a different user than before?: lock /private/tmp/
kudu/data/master/0/2/data/block_manager_instance: Resource
temporarily unavailable (error 35)

Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
---
M src/kudu/fs/block_manager_util.cc
M src/kudu/fs/data_dirs.cc
2 files changed, 6 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/19/10419/4
-- 
To view, visit http://gerrit.cloudera.org:8080/10419
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 4
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG@22
PS4, Line 22: Could not lock /private/tmp/kudu/data/master/0/2/data/
            : block_manager_instance
> I don't see the changes in PS5. Also from PS5's commit message, it seems li
Oops sorry, I misunderstood your previous comment. So do you mean we don't need to expose the filename in upper log layer cuz there's lower level log that also prints out this filename?

So will the log be like:
Check failed: _s.ok() Bad status: IO error: Failed to load FS
layout: Could not lock the block_manager_instance. Is Kudu already running or are you trying to run Kudu with a different user than before?: lock /private/tmp/kudu/data/master/0/2/data/block_manager_instance: Resourcetemporarily unavailable (error 35)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 4
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Fri, 18 May 2018 16:18:41 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG@22
PS4, Line 22: Could not lock /private/tmp/kudu/data/master/0/2/data/
            : block_manager_instance
> Seems the filename is already a part of the status at an even lower level (
Done



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 4
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Fri, 18 May 2018 00:42:57 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 2: Code-Review+1

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10419/2//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/2//COMMIT_MSG@8
PS2, Line 8: 
nit: I think it'd be helpful (if anything, just as a sanity check) to see a before and after of the output being changed.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 2
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Thu, 17 May 2018 17:37:31 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 5:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/4//COMMIT_MSG@22
PS4, Line 22: n before?: lock block_manager_instance file: Resource
            : temporarily unavailabl
> Done
I don't see the changes in PS5. Also from PS5's commit message, it seems like you're thinking of also getting rid of the filename reported in env_posix.cc? Returning the filename in env_posix.cc seems fine to me, but because we're doing that, we don't need to add it further in the other layers.


http://gerrit.cloudera.org:8080/#/c/10419/5//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/10419/5//COMMIT_MSG@13
PS5, Line 13: Check failed: _s.ok() Bad status: IO error: Failed to load FS
            : layout: Could not lock block_manager_instance file: Could not
            : lock block_manager_instance file: lock block_manager_instance
            : file: Resource temporarily unavailable (error 35)
Mmm this should probably stay as it was :)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 5
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Fri, 18 May 2018 04:04:07 +0000
Gerrit-HasComments: Yes

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

Posted by "Fengling Wang (Code Review)" <ge...@cloudera.org>.
Hello Will Berkeley, Kudu Jenkins, 

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

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

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................

KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log

Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
---
M src/kudu/fs/block_manager_util.cc
M src/kudu/fs/data_dirs.cc
2 files changed, 6 insertions(+), 5 deletions(-)


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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 2
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>

[kudu-CR] KUDU-1867 Improve the "Could not lock .../block manager instance" error log

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

Change subject: KUDU-1867 Improve the "Could not lock .../block_manager_instance" error log
......................................................................


Patch Set 1:

(1 comment)

After a few ack-greps, I think maybe it's safe to remove the outer "Could not lock.." (in data_dirs.cc) and improve the inner "Could not lock.." (in block_manager_util.cc). Cuz the these two always come together.

http://gerrit.cloudera.org:8080/#/c/10419/1/src/kudu/server/server_base.cc
File src/kudu/server/server_base.cc:

http://gerrit.cloudera.org:8080/#/c/10419/1/src/kudu/server/server_base.cc@449
PS1, Line 449: Is Kudu already running or are you trying "
             :                            "to run Kudu with a different user than before?
> The Status s comes from fs_manager_->Open, and could be any Status that fun
I see. Thanks.



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I1c6f078f95b3295e31047b9fe9a5dd643a402ba0
Gerrit-Change-Number: 10419
Gerrit-PatchSet: 1
Gerrit-Owner: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Fengling Wang <fw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Will Berkeley <wd...@gmail.com>
Gerrit-Comment-Date: Wed, 16 May 2018 21:38:30 +0000
Gerrit-HasComments: Yes