Let's take the following wiki article example and make it an actual feature of KnoxShell: https://cwiki.apache.org/confluence/display/KNOX/SQL+Client+Example+using+KnoxShell+in+Apache+Knox
In order to make it a generic feature, we will need to do a number of things:
- add a lib directory
- add the HiveDriver - maybe - perhaps it is better to have the user download the right version?
- add commons-logging jar to lib directory
- add a real table rendering class to the KnoxShell rather than embedded in the SQL client script - so that other features and scripts can use it to render results
- add the knoxline.sh and hive2.groovy script to bin directory