0

I am trying to read an ebcdic IBM file by using PIG (hadoop), so I need to create my custom load function.

The dafault getInputFormat() is as follows:

@Override
    public InputFormat getInputFormat() {
        return new TextInputFormat();
    }

I think I need to write my own InputFormat to read ebcdic file, am I right? If yes, how can I do that?

Edge7
  • 681
  • 1
  • 15
  • 35

0 Answers0