Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1742

Simple SQL Client in KnoxShell for access to JDBC datasources

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: KnoxShell
    • Labels:
      None

      Description

      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:

      1. add a lib directory
      2. add the HiveDriver - maybe - perhaps it is better to have the user download the right version?
      3. add commons-logging jar to lib directory
      4. 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
      5. add the knoxline.sh and hive2.groovy script to bin directory

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lmccay Larry McCay
                Reporter:
                lmccay Larry McCay
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m