forked from mmay/PigJsonLoader
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME
More file actions
25 lines (18 loc) · 749 Bytes
/
README
File metadata and controls
25 lines (18 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Pig UDFs
See source comments for usage.
To setup a development environment:
Install Simple Built Tool (SBT):
---
wget http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.11.2/sbt-launch.jar
mv -f sbt-launch.jar ~/bin
cat > ~/bin/sbt << "EOF"
java -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384M -jar `dirname $0`/sbt-launch.jar "$@"
EOF
chmod u+x ~/bin/sbt
---
Compile: sbt compile
Package to a JAR: sbt assembly
Add ~ to any command to make a task run whenever a source file is changed.
** If there are any dependency errors, try the 'magic fix' of: rm -rf ~/.ivy2
If the web dependencies get too annoying, we can also just put pig.jar
in lib/ and be done with it.