Home
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!
-
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.
-
Copy src/main/resources/d4m.properties.example to src/main/resources/d4m.properties.
-
Change src/main/resources/d4m.properties to have the correct information.
-
Run the CreateD4MSet program.
-
Run the WriteMultipleExplodedRecords program.
-
Create environment variables pointing to Accumulo.
export ACCUMULO_PASSWORD=secret export ACCUMULO_USER=root export ACCUMULO_INSTANCE=instance export ACCUMULO_HOST=affy-master
-
Start octave.
-
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");
- Run the following to add all records.
T(:,:)
- Run the following to add all information from zipcode 22033. Notice the trailing comma inside the quote.
T('ZIPCODE|22033,',:)
- You can add another zipcode to the query.
T('ZIPCODE|22033,ZIPCODE|51001,',:)