SqlLine ======= https://github.com/julianhyde/sqlline Execute SQL from command line. Sqlline manual is available at http://www.hydromatic.net/sqlline/manual.html Usage: $ sqlline.py Example: $ sqlline.py localhost $ sqlline.py localhost /STOCK_SYMBOL.sql psql.py ======= Usage: psql [-t table-name] [-h comma-separated-column-names | in-line] ... Example 1. Create table, upsert row and run query using single .sql file ./psql.py localhost /STOCK_SYMBOL.sql Example 2. Create table, load CSV data and run queries using .csv and .sql files: ./psql.py localhost /WEB_STAT.sql /WEB_STAT.csv /WEB_STAT_QUERIES.sql Note: Please see comments in WEB_STAT_QUERIES.sql for the sample queries being executed performance.py ============== Usage: performance Example: Generates and upserts 1000000 rows and time basic queries on this data ./performance.py localhost 1000000 CSV MapReduce Loader ==================== Usage: hadoop jar phoneix-[version]-mapreduce.jar -a,--array-delimiter Array element delimiter (optional) -c,--import-columns Comma-separated list of columns to be imported -d,--delimiter Input delimiter, defaults to comma -g,--ignore-errors Ignore input errors -h,--help Show this help and quit -i,--input Input CSV path (mandatory) -o,--output Output path for temporary HFiles (optional) -s,--schema Phoenix schema name (optional) -t,--table Phoenix table name (mandatory) -z,--zookeeper Zookeeper quorum to connect to (optional)