[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271222#comment-13271222
 ] 

Hudson commented on BOOKKEEPER-234:
-----------------------------------

Integrated in bookkeeper-trunk #498 (See 
[https://builds.apache.org/job/bookkeeper-trunk/498/])
    BOOKKEEPER-234: EntryLogger will throw NPE, if any dir does not exist or IO 
Errors. (umamaheswararao via ivank) (Revision 1335996)

     Result = UNSTABLE
ivank : 
Files : 
* /zookeeper/bookkeeper/trunk/CHANGES.txt
* 
/zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/EntryLogger.java
* 
/zookeeper/bookkeeper/trunk/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/EntryLogTest.java

                
> EntryLogger will throw NPE, if any dir does not exist or IO Errors.
> -------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-234
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-234
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: bookkeeper-server
>    Affects Versions: 4.1.0
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>             Fix For: 4.1.0
>
>         Attachments: BOOKKEEPER-234.patch, BOOKKEEPER-234.patch
>
>
> I think, Entry log should check the exitance of directories, before going to 
> get the last Log entries. Because, listFiles will retunr null on non existant 
> directories or any IO Errors. We have to add the check for directory 
> existnace check and null checks in side getLastLogID api in EntryLogger.
> We may need to handle in LedgerCacheImpl also.
> Do we need to add them in bad disks list? and others will refer this list 
> before they use the dirs.

--
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

        

Reply via email to