Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.
David Medinets edited this page May 8, 2014 · 2 revisions

Links for the running cluster:

http://affy-master:50095/
http://affy-master:50070/dfshealth.jsp
http://affy-master:50030/jobtracker.jsp

Welcome to the D4M_Schema wiki!

  1. Start the D4M-capable cluster. See https://github.com/medined/five_minute_d4m_cluster or https://github.com/medined/Accumulo_1_5_0_By_Vagrant if you don't have one.

  2. Copy src/main/resources/d4m.properties.example to src/main/resources/d4m.properties.

  3. Change src/main/resources/d4m.properties to have the correct information.

  4. Run the CreateD4MSet program.

  5. Run the WriteMultipleExplodedRecords program.

  6. Create environment variables pointing to Accumulo.

export ACCUMULO_PASSWORD=secret export ACCUMULO_USER=root export ACCUMULO_INSTANCE=instance export ACCUMULO_HOST=affy-master

  1. Start octave.

  2. Run the following to initialize Octave.

addpath('/home/vagrant/accumulo_home/bin/d4m_api/matlab_src'); Assoc('','',''); DBinit; hostname = getenv('ACCUMULO_HOST'); instance_name = getenv('ACCUMULO_INSTANCE'); username = getenv('ACCUMULO_USER'); password = getenv('ACCUMULO_PASSWORD'); DB = DBserver(hostname,'Accumulo', instance_name, username, password); disp("\nCustom initialization complete. Use 'DB' to access Accumulo!\n");

  1. Run the following to add all records.

T(:,:)

  1. Run the following to add all information from zipcode 22033. Notice the trailing comma inside the quote.

T('ZIPCODE|22033,',:)

  1. You can add another zipcode to the query.

T('ZIPCODE|22033,ZIPCODE|51001,',:)

Clone this wiki locally