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

"add jar" for a jar on hdfs doesn't copy jars referenced in manfiest's classpath attribute

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Query Processor
    • None

    Description

      The ability to load udfs via "add jar" when the jar is in hdfs was added in HIVE-1157. Unfortunately, if the jar's manifest.mf file has a Class-Path attribute referencing jars in the same directory, these jars are not copied from hdsf to the local file system.

      It would be great if, after copying the specified jar from hdfs, that jar's manifest was inspected for a Class-Path attribute, and if any mentioned jars were recursively copied in the same fashion.

      If this is seen as a desirable feature, I'd be happy to contribute a patch.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            nainostrebor Ian Robertson

            Dates

              Created:
              Updated:

              Slack

                Issue deployment