Advertisement
Guest User

Untitled

a guest
Mar 8th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. HOW TO USE
  2.  
  3. Make sure HBase is running.
  4. Run Populator.java, it has a main method of it's own.
  5. Go into the HBase shell in the terminal and type list to see if the table "messages" appeared
  6. Run GuiViewer.java twice (just click the play button twice in Eclipse)
  7. Login in both of them as human400@gmail.com and human222@gmail.com
  8. Click refresh and see if the messages show
  9. Try sending a messages to each other
  10. Click refresh and see if the new emails show up
  11. If everything works properly the project is done.
  12.  
  13. If you want to login as a different email, emails are
  14. {"@gmail.com",
  15. "@hotmail.com",
  16. "@aol.com",
  17. "@yahoo.com",
  18. "@msn.com",
  19. "@protonmail.com",
  20. "@live.com",
  21. "@asu.edu",
  22. "@mail.com",
  23. "@inbox.com",};
  24.  
  25. and repeat every 10 emails so human7 will have the same email domain as human347 (asu.edu)
  26.  
  27. You can use these emails to test:
  28. human400@gmail.com
  29. human222@aol.com
  30.  
  31. Useful shell commands
  32.  
  33. disable 'messages'
  34. drop 'messages'
  35. scan 'messages'
  36. list
  37. scan 'messages', {STARTROW => 'human8@', FILTER => "PrefixFilter('human8@')"}
  38. deleteall 'messages','<rowkey>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement