首页 > 代码库 > format ZKFC失败
format ZKFC失败
at org.apache.hadoop.ha.ActiveStandbyElector$WatcherWithClientRef.waitForZKConnectionEvent(ActiveStandbyElector.java:1051)
at org.apache.hadoop.ha.ActiveStandbyElector$WatcherWithClientRef.access$400(ActiveStandbyElector.java:1018)
at org.apache.hadoop.ha.ActiveStandbyElector.getNewZooKeeper(ActiveStandbyElector.java:633)
at org.apache.hadoop.ha.ActiveStandbyElector.createConnection(ActiveStandbyElector.java:767)
at org.apache.hadoop.ha.ActiveStandbyElector.<init>(ActiveStandbyElector.java:227)
at org.apache.hadoop.ha.ZKFailoverController.initZK(ZKFailoverController.java:348)
at org.apache.hadoop.ha.ZKFailoverController.doRun(ZKFailoverController.java:189)
at org.apache.hadoop.ha.ZKFailoverController.access$000(ZKFailoverController.java:61)
at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:170)
at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:166)
at org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal(SecurityUtil.java:412)
at org.apache.hadoop.ha.ZKFailoverController.run(ZKFailoverController.java:166)
at io.transwarp.manager.master.manager.operation.FormatZKTaskLocalRunner.run(FormatZKTaskLocalRunner.scala:25)
at io.transwarp.manager.master.manager.operation.OperationActor$$anon$2$$anonfun$run$1.apply$mcV$sp(OperationActor.scala:92)
at io.transwarp.manager.master.manager.operation.OperationActor$$anon$2$$anonfun$run$1.apply(OperationActor.scala:86)
at io.transwarp.manager.master.manager.operation.OperationActor$$anon$2$$anonfun$run$1.apply(OperationActor.scala:86)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
at io.transwarp.manager.master.persistence.repository.DbTxHelper$$anonfun$3.apply(TransactionHelper.scala:28)
at io.transwarp.manager.master.persistence.repository.DbTxHelper$$anonfun$3.apply(TransactionHelper.scala:28)
at scalikejdbc.DBConnection$class.autoCommit(DBConnection.scala:222)
at scalikejdbc.DB.autoCommit(DB.scala:60)
at scalikejdbc.DB$$anonfun$autoCommit$1.apply(DB.scala:215)
at scalikejdbc.DB$$anonfun$autoCommit$1.apply(DB.scala:214)
at scalikejdbc.LoanPattern$class.using(LoanPattern.scala:18)
at scalikejdbc.DB$.using(DB.scala:138)
at scalikejdbc.DB$.autoCommit(DB.scala:214)
at io.transwarp.manager.master.persistence.repository.DbTxHelper$class.autoCommit(TransactionHelper.scala:28)
at io.transwarp.manager.master.manager.operation.OperationActor$OperationActorWithDb.autoCommit(OperationActor.scala:467)
at io.transwarp.manager.master.manager.operation.OperationActor$$anon$2.run(OperationActor.scala:86)
Caused by: java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1325)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:282)
at org.apache.hadoop.ha.ActiveStandbyElector$WatcherWithClientRef.waitForZKConnectionEvent(ActiveStandbyElector.java:1043)
... 28 more
因为有zkfc进程在运行
format ZKFC失败