A n-gram Hadoop program has been implemented to produce the n-gram frequencies of the inputfile with given n as a parameter. To test our program, we have performed n-gram with n equals to2 on the input file with simple text “Helloworld”. The n must be passed as a parameter in args(2.otherwise an error will occur.The results are shown below: