This is the great deal similar to a Java Map. The groupByYear assortment contains all exclusive year values, in addition to a list Keeping the full entry of every book that belongs to that 12 months.There are numerous approaches to operate Pig. We’re planning to run in MapReduce manner towards the area node. MapReduce manner runs against the HDFS