Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-792

support "add archive" in addition to "add file" and "add jar"

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None
    • None
    • Reviewed
    • Hide
      HIVE-792. Support "add archive" in addition to "add file" and "add jar". (He Yongqiang via zshao)
      Show
      HIVE-792 . Support "add archive" in addition to "add file" and "add jar". (He Yongqiang via zshao)

    Description

      In JobClient.java, we have:

          if (commandConf != null) {
            files = commandConf.get("tmpfiles");
            libjars = commandConf.get("tmpjars");
            archives = commandConf.get("tmparchives");
          }
      

      The good thing about tmparchives is that TT will automatically unarchive the files (because "tmparchives" goes through DistributeCache.addCacheArchive, while TT won't do that for "tmpfiles").

      We should have "add archive" which sets "tmparchives".

      Attachments

        1. hive-792-2009-08-26.patch
          2 kB
          He Yongqiang
        2. hive-792-2009-08-25.patch
          2 kB
          He Yongqiang

        Activity

          People

            he yongqiang He Yongqiang
            zshao Zheng Shao
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: