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

Should not try to create success file for non-fs schemes like hbase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.1
    • 0.12.1, 0.13.0
    • None
    • None
    • Reviewed

    Description

      Having mapreduce.fileoutputcommitter.marksuccessfuljobs set to true and having both fs path (where you want _SUCCESS file created) and hbase in STORE statements results in

      Caused by: java.io.IOException: No FileSystem for scheme: hbase
      at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2157)
      at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:85)
      at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2194)
      at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2176)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:306)
      at org.apache.hadoop.fs.Path.getFileSystem(Path.java:194)
      at
      org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.createSuccessFile(MapReduceLauncher.java:651)
      at
      org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:434)
      at org.apache.pig.PigServer.launchPlan(PigServer.java:1283)

      Attachments

        1. PIG-3592-branch12-1.patch
          26 kB
          Rohini Palaniswamy
        2. PIG-3592-1.patch
          4 kB
          Rohini Palaniswamy

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: