/hunk-demo-image-viewer

Primary LanguageClojureApache License 2.0Apache-2.0

images

This images project is a webservice for serving pictures stored in hadoop to a Splunk UI.

Installation

Put resources/public/image_search_alpha_html.html in some Splunk local/data/ui/html and it'll be visible as a view in that app.

Rough edges:

  • Hadoop images has to be stored in a file matching *.tgz or *.map/data, where *.map is a directory with a file named 'data'

Prerequisites

You will need Leiningen 1.7.0 or above installed.

Running

To start a web server for the application, run:

lein run -m images.core <hdfs-uri>

Or create a jar with lein uberjar and run:

java -classpath images-0.1.0-SNAPSHOT-standalone.jar images.main <hdfs-uri>

License

Apache License. Version 2.0, January 2004