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

Use newAPIHadoopRDD instead of newAPIHadoopFile

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: spark-branch
    • Fix Version/s: spark-branch
    • Component/s: spark
    • Labels:
      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.1.patch
          11 kB
          Mohit Sabharwal
        2. PIG-4585.2.patch
          12 kB
          Mohit Sabharwal
        3. PIG-4585.patch
          13 kB
          Mohit Sabharwal

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: