Code Monkey home page Code Monkey logo

roboearthdb's Introduction

Roboearth Hadoop Database

This is a fork of the Roboearth Hadoop Database.

Installation

  1. Clone this repository
  2. Install [Hadoop] (https://hadoop.apache.org/docs/r1.2.1/single_node_setup.html)
  3. Install [Hbase] (http://hbase.apache.org/book/quickstart.html)
  4. Install [HDFS-Fuse] (https://github.com/IDSCETHZurich/roboearthDB/wiki/Install-hdfs-fuse) on hadoop
  5. Install Apache Tomcat
  6. Install [Sesame] (http://openrdf.callimachus.net/sesame/2.7/docs/users.docbook?view) on Tomcat
  7. Make sure to create a user for login for tomcat server apps
  8. Now login to tomcat and browse to sesame-workbench
  9. Add a table called 'elements'
  10. Correct variables in roboearth.py, roboearth.sh and stop-roboearth.sh, settings.py
  11. Also correct url for static documents in urls.py (The fuse mountpoint)
  12. Run createTables.py to create necessary tables in Hbase (You need hbase, hadoop and thrift server running)
  13. Now, you can start the server by running start-roboearth.sh and stop it by stop-roboearth.sh
  14. The user database contains a dummy user called 'test' to login with password '123456'

Using the AMI

  1. If you are using the AMI, you should start from point 13 of the previous list of instructions

FAQ

  1. If you get "could not connect to 'thrift server ip'" (which is mostly on port 9090), Wait sometime. If you still get the error, try restarting roboearth.
  2. If it takes ages to stop hbase while running stop-roboearth.sh, try pressing Ctrl+C and try again.
  3. If you reboot an instance, roboearth may not work on the first attempt due to change in ip. Start roboearth and check (ip of instance):60010 to see if hbase is running. If it's not, restart roboearth and wait for sometime for hbase to start. Keep checking logs at hbase/logs/(master log file).

roboearthdb's People

Contributors

mayanks43 avatar

Watchers

James Cloos avatar YuehChuan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.