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

Siddharth Wagle edited comment on AMBARI-13157 at 9/18/15 11:37 PM:
--------------------------------------------------------------------

Patch leave the znode alone.


was (Author: swagle):
Patch deletes the log / snapshot files, leaving dir structure intact.

> AMS Restart All fails after moving from embedded to distributed
> ---------------------------------------------------------------
>
>                 Key: AMBARI-13157
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13157
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.1.2
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>            Priority: Critical
>             Fix For: 2.1.2
>
>         Attachments: AMBARI-13157.patch
>
>
> - Deleting zookeeper directories result in ZK start failure:
> {code}
> 2015-09-18 20:09:25,665 ERROR [SyncThread:0] server.SyncRequestProcessor: 
> Severe unrecoverable error, exiting
> java.io.FileNotFoundException: 
> /var/lib/ambari-metrics-collector/hbase-tmp/zookeeper/version-2/log.1 (No 
> such file or directory)
>         at java.io.FileOutputStream.open0(Native Method)
> {code}
> - Restarting ZK works without writing log / snapshots



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

Reply via email to