Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-22938

Ambari server start fails with fresh Ambari installation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.0.0
    • trunk, 3.0.0
    • ambari-server
    • None

    Description

      On branch branch-feature-AMBARI-14714, after installation, Ambari server starts fails as following :

      /var/log/ambari-server/ambari-server.out
      An unexpected error occured during starting Ambari Server.
      Exception in thread "main" com.google.inject.internal.util.$ComputationException: java.lang.ArrayIndexOutOfBoundsException: 7786
       at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:553)
       at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:419)
       at com.google.inject.internal.util.$CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041)
       at com.google.inject.internal.util.$StackTraceElements.forMember(StackTraceElements.java:53)
       at com.google.inject.internal.Errors.formatSource(Errors.java:690)
       at com.google.inject.internal.Errors.formatInjectionPoint(Errors.java:720)
       at com.google.inject.internal.Errors.formatSource(Errors.java:684)
       at com.google.inject.internal.Errors.format(Errors.java:555)
       at com.google.inject.ProvisionException.getMessage(ProvisionException.java:59)
       at java.lang.Throwable.getLocalizedMessage(Throwable.java:391)
       at java.lang.Throwable.toString(Throwable.java:480)
       at java.lang.String.valueOf(String.java:2994)
       at java.io.PrintStream.println(PrintStream.java:821)
       at java.lang.Throwable$WrappedPrintStream.println(Throwable.java:748)
       at java.lang.Throwable.printStackTrace(Throwable.java:655)
       at java.lang.Throwable.printStackTrace(Throwable.java:643)
       at java.lang.Throwable.printStackTrace(Throwable.java:634)
       at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1118)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 7786
       at com.google.inject.internal.asm.$ClassReader.readClass(Unknown Source)
       at com.google.inject.internal.asm.$ClassReader.accept(Unknown Source)
       at com.google.inject.internal.asm.$ClassReader.accept(Unknown Source)
       at com.google.inject.internal.util.$LineNumbers.<init>(LineNumbers.java:62)
       at com.google.inject.internal.util.$StackTraceElements$1.apply(StackTraceElements.java:36)
       at com.google.inject.internal.util.$StackTraceElements$1.apply(StackTraceElements.java:33)
       at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:549)
       ... 17 more
      
      

       

       

      Stack trace while debugging gives the following:

       

      Error preallocating sequence numbers. The sequence table information is not complete.
      
      

      CC jluniya | mradhakrishnan

      Attachments

        Activity

          People

            swapanshridhar Swapan Shridhar
            swapanshridhar Swapan Shridhar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: