java.lang.Exception: Service failed while running

Google Groups | ron cai | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Ugrade from CDAP 3.4.3 to 3.5.0 failed.

    Google Groups | 6 months ago | ron cai
    java.lang.Exception: Service failed while running

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Version 3 of snapshot encoding is not supported

      at org.apache.tephra.snapshot.SnapshotCodecProvider.getCodecForVersion()
    2. org.apache.tephra
      TransactionManager.doStart
      1. org.apache.tephra.snapshot.SnapshotCodecProvider.getCodecForVersion(SnapshotCodecProvider.java:98)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      2. org.apache.tephra.snapshot.SnapshotCodecProvider.getCodec(SnapshotCodecProvider.java:125)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      3. org.apache.tephra.snapshot.SnapshotCodecProvider.decode(SnapshotCodecProvider.java:135)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      4. org.apache.tephra.persist.HDFSTransactionStateStorage.readSnapshotInputStream(HDFSTransactionStateStorage.java:177)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      5. org.apache.tephra.persist.HDFSTransactionStateStorage.getLatestSnapshot(HDFSTransactionStateStorage.java:144)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      6. org.apache.tephra.TransactionManager.recoverState(TransactionManager.java:470)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      7. org.apache.tephra.TransactionManager.doStart(TransactionManager.java:225)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      7 frames
    3. Guava
      AbstractService.startAndWait
      1. com.google.common.util.concurrent.AbstractService.start(AbstractService.java:170)[com.google.guava.guava-13.0.1.jar:na]
      2. com.google.common.util.concurrent.AbstractService.startAndWait(AbstractService.java:220)[com.google.guava.guava-13.0.1.jar:na]
      2 frames
    4. org.apache.tephra
      ThriftRPCServer.startUp
      1. org.apache.tephra.distributed.TransactionServiceThriftHandler.init(TransactionServiceThriftHandler.java:177)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      2. org.apache.tephra.rpc.ThriftRPCServer.startUp(ThriftRPCServer.java:177)[org.apache.tephra.tephra-core-0.8.0-incubating.jar:0.8.0-incubating]
      2 frames
    5. Guava
      AbstractExecutionThreadService$1$1.run
      1. com.google.common.util.concurrent.AbstractExecutionThreadService$1$1.run(AbstractExecutionThreadService.java:47)[com.google.guava.guava-13.0.1.jar:na]
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_60]
      1 frame