[ https://issues.apache.org/jira/browse/ZOOKEEPER-1490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404447#comment-13404447 ]
Hudson commented on ZOOKEEPER-1490: ----------------------------------- Integrated in ZooKeeper-trunk #1600 (See [https://builds.apache.org/job/ZooKeeper-trunk/1600/]) ZOOKEEPER-1490. If the configured log directory does not exist zookeeper will not start. Better to create the directory and start (suja s via phunt) (Revision 1355641) Result = SUCCESS phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1355641 Files : * /zookeeper/trunk/CHANGES.txt * /zookeeper/trunk/bin/zkServer.sh > If the configured log directory does not exist zookeeper will not start. > Better to create the directory and start > ------------------------------------------------------------------------------------------------------------------ > > Key: ZOOKEEPER-1490 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1490 > Project: ZooKeeper > Issue Type: Bug > Components: scripts > Reporter: suja s > Assignee: suja s > Priority: Minor > Fix For: 3.4.4, 3.5.0 > > Attachments: ZOOKEEPER_1490.patch, ZOOKEEPER_1490.patch, > ZOOKEEPER_1490_updated.patch > > > if the configured log directory does not exists zookeeper will not start. > Better to create the directory and start > in zkEnv.sh we can change as follows > if [ "x${ZOO_LOG_DIR}" = "x" ] > then > ZOO_LOG_DIR="." > else > if [ ! -w "$ZOO_LOG_DIR" ] ; then > mkdir -p "$ZOO_LOG_DIR" > fi > fi > -- 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