You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2012/06/14 11:43:43 UTC

[jira] [Created] (BOOKKEEPER-295) Relative paths are not getting resolved in bookie

Brahma Reddy Battula created BOOKKEEPER-295:
-----------------------------------------------

             Summary: Relative paths are not getting resolved in bookie
                 Key: BOOKKEEPER-295
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-295
             Project: Bookkeeper
          Issue Type: Bug
    Affects Versions: 4.0.0
            Reporter: Brahma Reddy Battula


Scenario:
========
Configure journal dir like following ../journalDir

Start bookkeeper like following "/home/Brahma/BK/bookkeeper/bin/bookkeeper bookie"
Here bookie start up will fail like following..
{noformat}
HOST-*******:/home/JUNE12/install # /home/Brahma/BK/bookkeeper/bin/bookkeeper bookie
HOST-******:/home/JUNE12/install # Exception in thread "main" java.io.IOException: Directory(../journalDir) isn't a directory
	at org.apache.bookkeeper.bookie.Bookie.checkDirectoryLayoutVersion(Bookie.java:491)
	at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:255)
	at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:64)
	at org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:249)
Since journal dir will be configured like ../journaldir in bookie_conf...It's not able to resolve..But in zookeeper case,it'll work fine..
{noformat}

--
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] (BOOKKEEPER-295) Relative paths are not getting resolved in bookie

Posted by "Sijie Guo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294946#comment-13294946 ] 

Sijie Guo commented on BOOKKEEPER-295:
--------------------------------------

which version of bookkeeper you used? I checked in 4.1.0 and did not encounter the issue you mentioned.
                
> Relative paths are not getting resolved in bookie
> -------------------------------------------------
>
>                 Key: BOOKKEEPER-295
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-295
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Brahma Reddy Battula
>
> Scenario:
> ========
> Configure journal dir like following ../journalDir
> Start bookkeeper like following "/home/Brahma/BK/bookkeeper/bin/bookkeeper bookie"
> Here bookie start up will fail like following..
> {noformat}
> HOST-*******:/home/JUNE12/install # /home/Brahma/BK/bookkeeper/bin/bookkeeper bookie
> HOST-******:/home/JUNE12/install # Exception in thread "main" java.io.IOException: Directory(../journalDir) isn't a directory
> 	at org.apache.bookkeeper.bookie.Bookie.checkDirectoryLayoutVersion(Bookie.java:491)
> 	at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:255)
> 	at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:64)
> 	at org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:249)
> Since journal dir will be configured like ../journaldir in bookie_conf...It's not able to resolve..But in zookeeper case,it'll work fine..
> {noformat}

--
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] [Comment Edited] (BOOKKEEPER-295) Relative paths are not getting resolved in bookie

Posted by "Brahma Reddy Battula (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295564#comment-13295564 ] 

Brahma Reddy Battula edited comment on BOOKKEEPER-295 at 6/15/12 10:56 AM:
---------------------------------------------------------------------------

I verified in 4.1.0 version and bookie has started successfully(i.e relative paths are getting Resolved).
                
      was (Author: brahmareddy):
    I verified in 4.1.0,Bookie able start(i.e relative paths are getting Resolved).
                  
> Relative paths are not getting resolved in bookie
> -------------------------------------------------
>
>                 Key: BOOKKEEPER-295
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-295
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Brahma Reddy Battula
>
> Scenario:
> ========
> Configure journal dir like following ../journalDir
> Start bookkeeper like following "/home/Brahma/BK/bookkeeper/bin/bookkeeper bookie"
> Here bookie start up will fail like following..
> {noformat}
> HOST-*******:/home/JUNE12/install # /home/Brahma/BK/bookkeeper/bin/bookkeeper bookie
> HOST-******:/home/JUNE12/install # Exception in thread "main" java.io.IOException: Directory(../journalDir) isn't a directory
> 	at org.apache.bookkeeper.bookie.Bookie.checkDirectoryLayoutVersion(Bookie.java:491)
> 	at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:255)
> 	at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:64)
> 	at org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:249)
> Since journal dir will be configured like ../journaldir in bookie_conf...It's not able to resolve..But in zookeeper case,it'll work fine..
> {noformat}

--
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] (BOOKKEEPER-295) Relative paths are not getting resolved in bookie

Posted by "Brahma Reddy Battula (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295564#comment-13295564 ] 

Brahma Reddy Battula commented on BOOKKEEPER-295:
-------------------------------------------------

I verified in 4.1.0,Bookie able start(i.e relative paths are getting Resolved).
                
> Relative paths are not getting resolved in bookie
> -------------------------------------------------
>
>                 Key: BOOKKEEPER-295
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-295
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Brahma Reddy Battula
>
> Scenario:
> ========
> Configure journal dir like following ../journalDir
> Start bookkeeper like following "/home/Brahma/BK/bookkeeper/bin/bookkeeper bookie"
> Here bookie start up will fail like following..
> {noformat}
> HOST-*******:/home/JUNE12/install # /home/Brahma/BK/bookkeeper/bin/bookkeeper bookie
> HOST-******:/home/JUNE12/install # Exception in thread "main" java.io.IOException: Directory(../journalDir) isn't a directory
> 	at org.apache.bookkeeper.bookie.Bookie.checkDirectoryLayoutVersion(Bookie.java:491)
> 	at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:255)
> 	at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:64)
> 	at org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:249)
> Since journal dir will be configured like ../journaldir in bookie_conf...It's not able to resolve..But in zookeeper case,it'll work fine..
> {noformat}

--
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] (BOOKKEEPER-295) Relative paths are not getting resolved in bookie

Posted by "Sijie Guo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BOOKKEEPER-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sijie Guo resolved BOOKKEEPER-295.
----------------------------------

    Resolution: Not A Problem

since the issue doesn't exist in 4.1.0, close it.
                
> Relative paths are not getting resolved in bookie
> -------------------------------------------------
>
>                 Key: BOOKKEEPER-295
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-295
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Brahma Reddy Battula
>
> Scenario:
> ========
> Configure journal dir like following ../journalDir
> Start bookkeeper like following "/home/Brahma/BK/bookkeeper/bin/bookkeeper bookie"
> Here bookie start up will fail like following..
> {noformat}
> HOST-*******:/home/JUNE12/install # /home/Brahma/BK/bookkeeper/bin/bookkeeper bookie
> HOST-******:/home/JUNE12/install # Exception in thread "main" java.io.IOException: Directory(../journalDir) isn't a directory
> 	at org.apache.bookkeeper.bookie.Bookie.checkDirectoryLayoutVersion(Bookie.java:491)
> 	at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:255)
> 	at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:64)
> 	at org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:249)
> Since journal dir will be configured like ../journaldir in bookie_conf...It's not able to resolve..But in zookeeper case,it'll work fine..
> {noformat}

--
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] (BOOKKEEPER-295) Relative paths are not getting resolved in bookie

Posted by "Brahma Reddy Battula (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295011#comment-13295011 ] 

Brahma Reddy Battula commented on BOOKKEEPER-295:
-------------------------------------------------

HI Sijie,

Thanks for look..

I tried 4.0.0..Let me check this 4.1.0.
                
> Relative paths are not getting resolved in bookie
> -------------------------------------------------
>
>                 Key: BOOKKEEPER-295
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-295
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Brahma Reddy Battula
>
> Scenario:
> ========
> Configure journal dir like following ../journalDir
> Start bookkeeper like following "/home/Brahma/BK/bookkeeper/bin/bookkeeper bookie"
> Here bookie start up will fail like following..
> {noformat}
> HOST-*******:/home/JUNE12/install # /home/Brahma/BK/bookkeeper/bin/bookkeeper bookie
> HOST-******:/home/JUNE12/install # Exception in thread "main" java.io.IOException: Directory(../journalDir) isn't a directory
> 	at org.apache.bookkeeper.bookie.Bookie.checkDirectoryLayoutVersion(Bookie.java:491)
> 	at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:255)
> 	at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:64)
> 	at org.apache.bookkeeper.proto.BookieServer.main(BookieServer.java:249)
> Since journal dir will be configured like ../journaldir in bookie_conf...It's not able to resolve..But in zookeeper case,it'll work fine..
> {noformat}

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