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

HiveServer2 Interactive start failed after WE enable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • stacks
    • None

    Description

      hive --service llapstatus -w -r 0.8 -i 2 -t 200
      ######## Hortonworks #############
      This is MOTD message, added for testing in qe infra
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/grid/0/hdp/2.6.0.0-572/hive2/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/grid/0/hdp/2.6.0.0-572/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
      WARN conf.HiveConf: HiveConf hive.llap.daemon.vcpus.per.instance expects INT type value
      
      LLAPSTATUS WatchMode with timeout=200 s
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001.
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      LLAP Starting up with AppId=application_1488363522091_0001. Started 0/1 instances
      --------------------------------------------------------------------------------
      
      
      
      
      {
        "amInfo" : {
          "appName" : "llap0",
          "appType" : "org-apache-slider",
          "appId" : "application_1488363522091_0001",
          "containerId" : "container_e01_1488363522091_0001_01_000001",
          "hostname" : "ctr-e129-1487033772569-30632-01-000004.hwx.site",
          "amWebUrl" : "http://ctr-e129-1487033772569-30632-01-000004.hwx.site:32864/"
        },
        "state" : "LAUNCHING",
        "originalConfigurationPath" : "hdfs://ctr-e129-1487033772569-30632-01-000002.hwx.site:8020/user/cstm-hive/.slider/cluster/llap0/snapshot",
        "generatedConfigurationPath" : "hdfs://ctr-e129-1487033772569-30632-01-000002.hwx.site:8020/user/cstm-hive/.slider/cluster/llap0/generated",
        "desiredInstances" : 1,
        "liveInstances" : 0,
        "appStartTime" : 1488363931836,
        "runningThresholdAchieved" : false
      }
      WARN cli.LlapStatusServiceDriver: Watch timeout 200s exhausted before desired state RUNNING is attained.
      2017-03-01 10:28:51,909 - LLAP app 'llap0' current state is LAUNCHING.
      2017-03-01 10:28:51,909 - LLAP app 'llap0' current state is LAUNCHING.
      2017-03-01 10:28:51,909 - LLAP app 'llap0' deployment unsuccessful.
      
      Command failed after 1 tries
      

      Need to increase the retry count and hence the total_timeout value used for llapstatus check.

      Attachments

        1. AMBARI-20264.patch
          2 kB
          Jayush Luniya

        Issue Links

          Activity

            People

              jluniya Jayush Luniya
              jluniya Jayush Luniya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: