[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tom Pijl updated ZOOKEEPER-2645:
--------------------------------
    Priority: Major  (was: Blocker)

> If embedded QuorumPeerMain is started with Properties no backupOldConfig 
> should be done
> ---------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2645
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2645
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.2
>            Reporter: Tom Pijl
>
> When starting an embedded _QuorumPeerMain_ by executing the _runFromConfig()_ 
> and providing _QuorumPeerConfig_ properties:
> {code}standaloneEnabled=false
> initLimit=5
> syncLimit=2
> clientPort=4101
> server.1=nlbantpijl01.infor.com:2101:3101:participant;4101
> dataDir=/Storage/zookeeper/server001{code}
> an NullPointerException is thrown in the _QuorumPeerConfig_ class in the 
> method _backupOldConfig()_ because the property configFileStr is null.
> A check must be made at the start of the method _backupOldConfig()_ if the 
> property _configFileStr_ is null. If so just exit the method. In the embedded 
> mode there is no config file, so no need to create a backup.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to