0
votes

Following this question and its answer I would like to know if this instruction are well performed for Cassandra 2.0, according that in this version the CLI and the comparator stuff is deprecated, as show in this link.

Table users: CREATE TABLE users (userID bigint, itemID bigint, value float, PRIMARY KEY (userID, itemID));

Table items: CREATE TABLE items (itemID bigint, userID bigint, value float, PRIMARY KEY (itemID, userID));

Table userIDs: CREATE TABLE userIDs (id bigint, userID bigint PRIMARY KEY(id, userID));

Table itemIDs: CREATE TABLE itemIDs (id bigint, itemID bigint PRIMARY KEY(id, itemID));

Thanks for your help!

1

1 Answers

0
votes

Well, actually I could verify in this presentation that the structure proposed for Cassandra Table for Recommenders in Mahout is ok.

In the slides 37 and 38 is an example for the first two, and in the slides 24 and 25 for the last two.

Anyway if anyone could re-confirm this answer could be helpful to be 100% secure.

Thanks!!!