· 8 years ago · Mar 09, 2018, 03:46 AM
1HOW TO USE
2
3Make sure HBase is running.
4Run Populator.java, it has a main method of it's own.
5Go into the HBase shell in the terminal and type list to see if the table "messages" appeared
6Run GuiViewer.java twice (just click the play button twice in Eclipse)
7Login in both of them as human400@gmail.com and human222@gmail.com
8Click refresh and see if the messages show
9Try sending a messages to each other
10Click refresh and see if the new emails show up
11If everything works properly the project is done.
12
13If 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
25and repeat every 10 emails so human7 will have the same email domain as human347 (asu.edu)
26
27You can use these emails to test:
28human400@gmail.com
29human222@aol.com
30
31Useful shell commands
32
33disable 'messages'
34drop 'messages'
35scan 'messages'
36list
37scan 'messages', {STARTROW => 'human8@', FILTER => "PrefixFilter('human8@')"}
38deleteall 'messages','<rowkey>'