Previous Next JavaScript must be enabled to correctly display this content

## Building `CountTableRows` When the Store is Non-Secure

If you will be running `CountTableRows` against a non-secure store, then the class files shown in the compilation step presented in the previous section should be placed in a JAR file so that the program can be deployed to the example Hadoop cluster. For example, to create a JAR file containing the class files needed to run `CountTableRows` against data in a non-secure store like that deployed in the Deploying a Non-Secure Store appendix, do the following:

    cd /opt/oracle/nosql/apps/kv/examples
    jar cvf CountTableRows.jar hadoop/table/CountTableRows*.class

This produces a JAR file named `CountTableRows.jar`, having the following content, located in the directory `/opt/oracle/nosql/apps/kv/examples`:

    META-INF/
    META-INF/MANIFEST.MF
    hadoop/table/CountTableRows.class
    hadoop/table/CountTableRows$Map.class
    hadoop/table/CountTableRows$Reduce.class