Skip to content

zwqjsj0404/blur-shell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Blur shell

Author: Patrick Hunt (follow me on twitter)

Summary

This project is a jline based shell which can attach to a Blur server.

Usage

Currently the easiest way to run is

mvn exec:java -Dexec.mainClass=“org.phunt.blur.shell.Main” -Dexec.args=“host:port”

Note: blur 0.1.0 must be installed locally. (i.e. “mvn install” it)

  1. create a table that spans three shards
    createtable hdfs://blurhost:9000/blur/tables/table1 table1 3
  1. index an accesslog
    indexaccesslog /tmp/access_log 100 table1 \\[(.)\\]\\s+(\\d+)\\s+([\\d\\.])\\s([^\\s])\\s([\\d\\.])\\s([^\\s])\\s([^\\s])\\s([^\\s]+)\\s date bytes1 sourceip status bytes2 operation url type

About

A jline based clientshell for blur.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published