Run basic PIG latin, commands for the same,

>hdfs dfs -copyFromLocal /”filename” :hdfs:/
>pig sample.pig

where in sample.pig is the script for pig file created by you and filename is the input file created.

Advertisements