After deploying Phoenix 4.0.1, HBase 0.98.5 and Hadoop 2.4.1 using BigTop build, phoenix is not working is is missing those variables.
1) Phoenix-Core need to be in HBase classpath. I have added it manually in my hbase-env.sh file: export HBASE_CLASSPATH=/usr/lib/phoenix/lib/phoenix-core-4.0.1.jar
2) Phoenix command lines need PHOENIX_LIB_DIR to be configured. I just run it before any command line: export PHOENIX_LIB_DIR=/usr/lib/phoenix/