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

Fail to install hive client with error: Fail: Execution of '/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -kf --retry 5 http://hadoop1:8080/resources/DBConnectionVerification.jar -o DBConnectionVerification.jar'' returned 22.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • ambari-server, test
    • None

    Description

      PROBLEM: Fresh install of HDP 2.1, when deploying hive client it fail with error: Execution of '/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -kf --retry 5 http://hadoop1:8080/resources/DBConnectionVerification.jar -o DBConnectionVerification.jar'' returned 22.

      Steps to reproduce: set up a proxy (http_proxy="<proxy host that has not access to cluster>").

      Fix:
      Added

      --noproxy <ambari-server hostname>
      

      option to all our curl invocations that download files from ambari-server. I would go for this option because sometimes ftp_proxy may be used as well.
      Also, I've fixed an error message that is shown when jce_name property is not defined in a non-secure cluster and added a proper handling of this situation in secure cluster.

      Attachments

        1. AMBARI-5705.patch
          2 kB
          Siddharth Wagle
        2. AMBARI-5705_branch-1.6.0.patch
          65 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: