You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "surendra singh lilhore (JIRA)" <ji...@apache.org> on 2012/05/09 07:45:36 UTC
[jira] [Created] (HDFS-3392) BookKeeper Journal Manager is not
retrying to connect to BK when BookKeeper is not available for write.
surendra singh lilhore created HDFS-3392:
--------------------------------------------
Summary: BookKeeper Journal Manager is not retrying to connect to BK when BookKeeper is not available for write.
Key: HDFS-3392
URL: https://issues.apache.org/jira/browse/HDFS-3392
Project: Hadoop HDFS
Issue Type: Bug
Reporter: surendra singh lilhore
Scenario:
1. Start 3 bookKeeper and 3 zookeeper.
2. Start one NN as active & second NN as standby.
3. Write some file.
4. Stop all BookKeepers.
Issue:
Bookkeeper Journal Manager is not retrying to connect to BK when Bookkeeper is not available for write and Active namenode is shutdown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HDFS-3392) BookKeeper Journal Manager is not
retrying to connect to BK when BookKeeper is not available for write.
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uma Maheswara Rao G resolved HDFS-3392.
---------------------------------------
Resolution: Invalid
> BookKeeper Journal Manager is not retrying to connect to BK when BookKeeper is not available for write.
> -------------------------------------------------------------------------------------------------------
>
> Key: HDFS-3392
> URL: https://issues.apache.org/jira/browse/HDFS-3392
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: surendra singh lilhore
>
> Scenario:
> 1. Start 3 bookKeeper and 3 zookeeper.
> 2. Start one NN as active & second NN as standby.
> 3. Write some file.
> 4. Stop all BookKeepers.
> Issue:
> Bookkeeper Journal Manager is not retrying to connect to BK when Bookkeeper is not available for write and Active namenode is shutdown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HDFS-3392) BookKeeper Journal Manager is not
retrying to connect to BK when BookKeeper is not available for write.
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uma Maheswara Rao G updated HDFS-3392:
--------------------------------------
Issue Type: Sub-task (was: Bug)
Parent: HDFS-3399
> BookKeeper Journal Manager is not retrying to connect to BK when BookKeeper is not available for write.
> -------------------------------------------------------------------------------------------------------
>
> Key: HDFS-3392
> URL: https://issues.apache.org/jira/browse/HDFS-3392
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: surendra singh lilhore
>
> Scenario:
> 1. Start 3 bookKeeper and 3 zookeeper.
> 2. Start one NN as active & second NN as standby.
> 3. Write some file.
> 4. Stop all BookKeepers.
> Issue:
> Bookkeeper Journal Manager is not retrying to connect to BK when Bookkeeper is not available for write and Active namenode is shutdown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3392) BookKeeper Journal Manager is not
retrying to connect to BK when BookKeeper is not available for write.
Posted by "Ivan Kelly (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13272411#comment-13272411 ]
Ivan Kelly commented on HDFS-3392:
----------------------------------
I don't understand the description here. If the BK cluster is down, then there's no way to connect to it. What do you think the behaviour should be?
> BookKeeper Journal Manager is not retrying to connect to BK when BookKeeper is not available for write.
> -------------------------------------------------------------------------------------------------------
>
> Key: HDFS-3392
> URL: https://issues.apache.org/jira/browse/HDFS-3392
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: surendra singh lilhore
>
> Scenario:
> 1. Start 3 bookKeeper and 3 zookeeper.
> 2. Start one NN as active & second NN as standby.
> 3. Write some file.
> 4. Stop all BookKeepers.
> Issue:
> Bookkeeper Journal Manager is not retrying to connect to BK when Bookkeeper is not available for write and Active namenode is shutdown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3392) BookKeeper Journal Manager is not
retrying to connect to BK when BookKeeper is not available for write.
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271148#comment-13271148 ]
Uma Maheswara Rao G commented on HDFS-3392:
-------------------------------------------
Since all BKs stopped, client will throw the exception. Here expectation is, at least quoram of servers will be available in cluster. Otherwise shutting down is fine.I don't think retrying silently from BKJM layer is correct. If other servers available in cluster still your write can suceed with other servers by reforming ensemble.
> BookKeeper Journal Manager is not retrying to connect to BK when BookKeeper is not available for write.
> -------------------------------------------------------------------------------------------------------
>
> Key: HDFS-3392
> URL: https://issues.apache.org/jira/browse/HDFS-3392
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: surendra singh lilhore
>
> Scenario:
> 1. Start 3 bookKeeper and 3 zookeeper.
> 2. Start one NN as active & second NN as standby.
> 3. Write some file.
> 4. Stop all BookKeepers.
> Issue:
> Bookkeeper Journal Manager is not retrying to connect to BK when Bookkeeper is not available for write and Active namenode is shutdown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-3392) BookKeeper Journal Manager is not
retrying to connect to BK when BookKeeper is not available for write.
Posted by "Uma Maheswara Rao G (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277699#comment-13277699 ]
Uma Maheswara Rao G commented on HDFS-3392:
-------------------------------------------
IMHO, If there is no BK cluster running, NN should shutdown.
Marking it as Invalid.
@Surendra, If you feel, it should behave differently, feel free to reopen and provide your expectation.
> BookKeeper Journal Manager is not retrying to connect to BK when BookKeeper is not available for write.
> -------------------------------------------------------------------------------------------------------
>
> Key: HDFS-3392
> URL: https://issues.apache.org/jira/browse/HDFS-3392
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: surendra singh lilhore
>
> Scenario:
> 1. Start 3 bookKeeper and 3 zookeeper.
> 2. Start one NN as active & second NN as standby.
> 3. Write some file.
> 4. Stop all BookKeepers.
> Issue:
> Bookkeeper Journal Manager is not retrying to connect to BK when Bookkeeper is not available for write and Active namenode is shutdown.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira