Pig
  1. Pig
  2. PIG-1463

Replace "bz" with ".bz" in setStoreLocation in PigStorage

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None
    1. PIG_1463.patch
      0.8 kB
      Jeff Zhang

      Activity

      Hide
      Jeff Zhang added a comment -

      Attach the patch for this small issue.

      Show
      Jeff Zhang added a comment - Attach the patch for this small issue.
      Hide
      Ashutosh Chauhan added a comment -

      +1

      Show
      Ashutosh Chauhan added a comment - +1
      Hide
      Jeff Zhang added a comment -

      Patch committed

      Show
      Jeff Zhang added a comment - Patch committed
      Hide
      Ashutosh Chauhan added a comment -

      Jeff,

      Similar problem exists in getInputFormat() of PigStorage. There ain't no leading '.' before bz2 or bz. As a result Pig may attempt to load filenames ending with bz (such as myfilebz) as compressed bzip file. Would you like to take a look?

      Show
      Ashutosh Chauhan added a comment - Jeff, Similar problem exists in getInputFormat() of PigStorage. There ain't no leading '.' before bz2 or bz. As a result Pig may attempt to load filenames ending with bz (such as myfilebz) as compressed bzip file. Would you like to take a look?
      Hide
      Jeff Zhang added a comment -

      Thanks, Ashutosh. I check other places and find that TextLoader has the same problem. I create another jira PIG-1487 to track this problem

      Show
      Jeff Zhang added a comment - Thanks, Ashutosh. I check other places and find that TextLoader has the same problem. I create another jira PIG-1487 to track this problem

        People

        • Assignee:
          Jeff Zhang
          Reporter:
          Jeff Zhang
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development