Input Data
scores.data in folder:/Users/arulk/projects representing marks of 4 students in 3 subjects:
Calculate the max mark for each subject.
Step 1: Download Apache Pig from http://apache.mirror.digitalpacific.com.au/pig/ and extract the tar file.
Step 2: Set up PIG_HOME and add $PIG_HOME/bin to the path via .profile or .bashrc.
…