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

In UpgradeCatalog250.java, (1). Fix value for config "hive.llap.daemon.rpc.port" to be updated as "0" and (2). Remove update for config 'hive.llap.execution.mode'.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-server
    • None

    Description

      From llap-daemon logs:

      2017-02-07T19:59:39,800 INFO  [main ()] org.apache.hadoop.hive.conf.HiveConf: Found configuration file file:/grid/0/hadoop/yarn/local/usercache/hive/appcache/application_1486481006089_0004/container_e10_1486481006089_0004_01_000007/app/install/conf/hive-site.xml
      2017-02-07T19:59:40,392 INFO  [main ()] org.apache.hadoop.hive.llap.LlapUtil: Using local dirs from environment: /grid/0/hadoop/yarn/local/usercache/hive/appcache/application_1486481006089_0004
      2017-02-07T19:59:40,394 WARN  [main ()] org.apache.hadoop.hive.llap.daemon.impl.LlapDaemon: Failed to start LLAP Daemon with exception
      java.lang.NumberFormatException: For input string: "only"
              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.7.0_67]
              at java.lang.Integer.parseInt(Integer.java:492) ~[?:1.7.0_67]
              at java.lang.Integer.parseInt(Integer.java:527) ~[?:1.7.0_67]
              at org.apache.hadoop.conf.Configuration.getInt(Configuration.java:1258) ~[hadoop-common-2.7.3.2.5.0.0-1245.jar:?]
              at org.apache.hadoop.hive.conf.HiveConf.getIntVar(HiveConf.java:3378) ~[hive-exec-2.1.0.2.5.0.0-1245.jar:2.1.0.2.5.0.0-1245]
              at org.apache.hadoop.hive.llap.daemon.impl.LlapDaemon.main(LlapDaemon.java:442) [hive-llap-server-2.1.0.2.5.0.0-1245.jar:2.1.0.2.5.0.0-1245]
      

      Reason: "hive.llap.daemon.rpc.port" has been updated as "only" as part of the upgrade code as part of fix in AMBARI-19719.

      Fix: Set the config value as "0".

      Attachments

        1. AMBARI-19903.01.patch
          2 kB
          Swapan Shridhar

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: