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

Ambari to manage tarballs on HDFS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • None

    Description

      With HDP 2.2, Ambari needs to copy the tarballs/jars from the local file system to a certain location in HDFS.
      The tarballs/jars no longer have a version number (either component version or HDP stack version + build) in the name), but the destination folder in HDFS does contain the HDP Version (e.g., 2.2.0.0-999).

      /hdp/apps/$(hdp-stack-version)
        |---- mapreduce/mapreduce.tar.gz
        |---- mapreduce/hadoop-streaming.jar (which is needed by WebHcat. In the file system, it is a symlink to a versioned file, so HDFS needs to follow the link)
        |---- tez/tez.tar.gz
        |---- pig/pig.tar.gz
        |---- hive/hive.tar.gz
        |---- sqoop/sqoop.tar.gz
      

      Furthermore, the folders created in HDFS need to have a permission of 0555, while files need 0444.
      The owner should be hdfs, and the group should be hadoop.

      Attachments

        1. AMBARI-7842.v2.patch
          8 kB
          Alejandro Fernandez
        2. AMBARI-7842.patch
          31 kB
          Alejandro Fernandez
        3. AMBARI-7842_branch-1.7.0.patch
          31 kB
          Alejandro Fernandez
        4. ambari_170_versioned_rpms.pptx
          140 kB
          Alejandro Fernandez

        Issue Links

          Activity

            People

              afernandez Alejandro Fernandez
              afernandez Alejandro Fernandez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: