Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4059 Pig on Spark
  3. PIG-4585

Use newAPIHadoopRDD instead of newAPIHadoopFile

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • spark-branch
    • spark-branch
    • spark
    • None

    Description

      LoadConverter currently uses SparkContext.newAPIHadoopFile which won't work for non-filesystem based input sources, like HBase.

      newAPIHadoopFile assumes a FileInputFormat and attempts to verify this in the constructor, which fails for HBaseTableInputFormat (which is not a FileInputFormat)

        NewFileInputFormat.setInputPaths(job, path)
      

      Attachments

        1. PIG-4585.patch
          13 kB
          Mohit Sabharwal
        2. PIG-4585.2.patch
          12 kB
          Mohit Sabharwal
        3. PIG-4585.1.patch
          11 kB
          Mohit Sabharwal

        Issue Links

          Activity

            People

              mohitsabharwal Mohit Sabharwal
              mohitsabharwal Mohit Sabharwal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: