Hermes is a minimal path-finding developed in Scala and using Cassandra for storage.
Hermes is the great messenger of the gods in Greek mythology and additionally as a guide to the Underworld. An Olympian god, he is also the patron of boundaries and of the travelers who travel across them.
Add the below lines in Keyspaces section of conf/storage-conf.xml for add Hermes keyspace to Cassandra database
<Keyspace Name="Hermes">
<ColumnFamily CompareWith="UTF8Type" Name="Coordenadas" />
<ColumnFamily CompareWith="UTF8Type" Name="Vecinos" />
<ColumnFamily CompareWith="UTF8Type" Name="Intersecciones" />
<ColumnFamily CompareWith="UTF8Type" Name="Trafico" CompareSubcolumnsWith="UTF8Type" ColumnType="Super"/>
<ColumnFamily CompareWith="UTF8Type" Name="Restricciones" CompareSubcolumnsWith="UTF8Type" ColumnType="Super"/>
<ReplicaPlacementStrategy>org.apache.cassandra.locator.RackUnawareStrategy</ReplicaPlacementStrategy>
<ReplicationFactor>1</ReplicationFactor>
<EndPointSnitch>org.apache.cassandra.locator.EndPointSnitch</EndPointSnitch>
</Keyspace>
The primary useful build targets are the usual suspects:
ant clean
-- to clear out previous build resultsant compile
-- only compile, then stopant test
-- only compile and run tests, then stopant package
-- build and create an executable jar file and distribution tarball
The default target for ant is package
. You can see a more complete list with ant -p
.
You can run the server locally by using the executable jar:
$ java -jar ./dist/hermesd/hermesd-1.0.jar
Note: The server need permissions to write logs in /var/log, you can create /var/log/hermesd and add read/write permissions to the user thar runs hermes or run server as root user.
- Juan Carlos Berrio jcberrio@uninorte.edu.co
- Lacides Charris lacidesc@uninorte.edu.co
- Guillermo Iguaran guillermoi@uninorte.edu.co
- Luis Porras lporass@uninorte.edu.co