Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-15029

CDAP master fails to start up on Ambari (HDP 2.6.5.0)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0
    • Component/s: Master
    • Labels:
    • Rank:
      1|i00lv3:

      Description

      Seeing this in master logs, as it fails to start up. This has been noticed since ~2/26/19.

      2019-03-02 02:58:24,715 - WARN  [leader-election-election-master.services:o.a.t.i.z.LeaderElection@236] - Exception thrown when calling leader() method. Withdraw from the leader election process.
      java.lang.NoSuchMethodError: org.codehaus.jackson.map.ObjectMapper.setSerializationInclusion(Lorg/codehaus/jackson/map/annotate/JsonSerialize$Inclusion;)Lorg/codehaus/jackson/map/ObjectMapper;
              at org.apache.hadoop.yarn.webapp.YarnJacksonJaxbJsonProvider.configObjectMapper(YarnJacksonJaxbJsonProvider.java:59) ~[hadoop-yarn-common-2.7.3.2.6.5.0-292.jar:na]
              at org.apache.hadoop.yarn.util.timeline.TimelineUtils.<clinit>(TimelineUtils.java:50) ~[hadoop-yarn-common-2.7.3.2.6.5.0-292.jar:na]
              at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.serviceInit(YarnClientImpl.java:163) ~[hadoop-yarn-client-2.7.3.2.6.5.0-292.jar:na]
              at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163) ~[hadoop-common-2.7.3.2.6.5.0-292.jar:na]
              at co.cask.cdap.common.security.YarnTokenUtils.obtainToken(YarnTokenUtils.java:60) ~[na:na]
              at co.cask.cdap.security.TokenSecureStoreRenewer.createCredentials(TokenSecureStoreRenewer.java:116) ~[na:na]
              at co.cask.cdap.data.runtime.main.MasterServiceMain$MasterLeaderElectionHandler.startTwillApplication(MasterServiceMain.java:951) ~[na:na]
              at co.cask.cdap.data.runtime.main.MasterServiceMain$MasterLeaderElectionHandler.monitorTwillApplication(MasterServiceMain.java:808) ~[na:na]
              at co.cask.cdap.data.runtime.main.MasterServiceMain$MasterLeaderElectionHandler.leader(MasterServiceMain.java:682) ~[na:na]
              at org.apache.twill.internal.zookeeper.LeaderElection.becomeLeader(LeaderElection.java:234) [org.apache.twill.twill-zookeeper-0.13.0.jar:0.13.0]
              at org.apache.twill.internal.zookeeper.LeaderElection.access$1900(LeaderElection.java:54) [org.apache.twill.twill-zookeeper-0.13.0.jar:0.13.0]
              at org.apache.twill.internal.zookeeper.LeaderElection$5.onSuccess(LeaderElection.java:212) [org.apache.twill.twill-zookeeper-0.13.0.jar:0.13.0]
              at org.apache.twill.internal.zookeeper.LeaderElection$5.onSuccess(LeaderElection.java:191) [org.apache.twill.twill-zookeeper-0.13.0.jar:0.13.0]
              at com.google.common.util.concurrent.Futures$6.run(Futures.java:799) [com.google.guava.guava-13.0.1.jar:na]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_112]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_112]
              at java.lang.Thread.run(Thread.java:745) [na:1.8.0_112] 

        Attachments

          Activity

            People

            • Assignee:
              terence Terence Yim
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: