This topic contains 0 replies, has 1 voice, and was last updated by  Pritesh 4 years, 3 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #348


    Hi Guys,

    You can process the images by using PIG.

    To process the Images you have to convert the image files to sequence files.

    You can process those sequence files to the process.

    To convert the image files to sequence files you have to use the UDF in PIG.

    Load the sequence files into by using SequenceFileLoader is class of

    To use the SequenceFileLoader class you have to use the piggybank.jar file.

    Piggybank is Pig’s repository of user-contributed functions. Piggybank functions are distributed as part of the Pig distribution, but they are not built in. You must register the Piggybank JAR to use.

    packages correspond to the function type and currently are:
    org.apache.pig.piggybank.comparison – for custom comparator used by ORDER operator
    org.apache.pig.piggybank.evaluation – for eval functions like aggregates and column transformations
    org.apache.pig.piggybank.filtering – for functions used in FILTER operator
    org.apache.pig.piggybank.grouping – for grouping functions – for load/store functions

    Please refer the below link to more details about piggybank jar file.

    Please use the below link for the PIG UDF.

    Hope you are able to understand the image processing by using PIG.

Viewing 1 post (of 1 total)

The forum ‘Hadoop Developer|Batch-04/06/2014’ is closed to new topics and replies.