This project demonstrates the issue mentioned in PIG-3441
mvn clean package
-
Sample Pig script to test -
src/main/bin/myfs.pig
- Replace the path to
pig3441-1.0-SNAPSHOT.jar
in this script before running - A pre-built
pig3441-1.0-SNAPSHOT.jar
exists in thesrc/main/bin
directory but you can re-build using the command above as well.
- Replace the path to
-
Sample command to run myfs.pig
bin/pig -Dfs.defaultFS=hdfs://localhost:9000 -Dfs.myfs.impl=pig.pig3441.MyFileSystem ./src/main/bin/myfs.pig