Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3255

Avoid extra byte array copies in streaming

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11
    • 0.12.0
    • None
    • None

    Description

      PigStreaming.java:

      public Tuple deserialize(byte[] bytes) throws IOException

      { Text val = new Text(bytes); return StorageUtil.textToTuple(val, fieldDel); }

      Should remove new Text(bytes) copy and construct the tuple directly from the bytes

      Attachments

        1. PIG-3255-1.patch
          3 kB
          Rohini Palaniswamy
        2. PIG-3255-2.patch
          12 kB
          Rohini Palaniswamy
        3. PIG-3255-3.patch
          55 kB
          Rohini Palaniswamy
        4. PIG-3255-4.patch
          21 kB
          Rohini Palaniswamy
        5. PIG-3255-5.patch
          21 kB
          Rohini Palaniswamy

        Issue Links

        Activity

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

          People

            rohini Rohini Palaniswamy
            rohini Rohini Palaniswamy
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment