2. Use Sample Scripts to Test Connectivity and Functionality

The Knox Gateway also comes with samples that you can use to test your environment. The following sample scripts are located in /usr/lib/knox/samples:

  • ExampleHBase.groovy

  • ExampleWebHCatQueue.groovy

  • hadoop-examples.jar

  • SampleScript.groovy

  • sandbox-with-knox-inside.xml

  • ExampleOozieWorkflow.groovy

  • ExampleWebHdfsLs.groovy

  • SampleService.groovy

  • ExampleWebHCatJob.groovy

  • ExampleWebHdfsPutGet.groovy

  • SampleComplexCommand.groovy

  • SampleSimpleCommand.groovy

[Tip]Tip

For details on using the scripts see the Apache Knox User Guide.


loading table of contents...