In this section, you can run neptune on a single machine(Windows). And can create table, insert data, select data.
In order to run or compile neptune you need to have following software already installed on your system
You should have download a neptune distribution and unzipped it. You can find following directories.
<?xml version="1.0"?>
<configuration>
<property>
<name>neptune.filesystem</name>
<value>local</value>
<description>local, hadoop</description>
</property>
<property>
<name>neptune.root</name>
<value>C:/temp/neptune_local</value>
<description>root path for data file in DFS(Hadoop)</description>
</property>
<property>
<name>neptune.local.temp</name>
<value>C:/temp/neptune_local/temp</value>
<description>A base for other temporary directories.</description>
</property>
<property>
<name>changelog.data.dir</name>
<value>C:/temp/neptune_local/changelog</value>
<description>path where change logs are stored.</description>
</property>
<property>
<name>changelog.image.dir</name>
<value>C:/temp/neptune_local/changelog/image</value>
<description></description>
</property>
</configuration>
dataDir=C:/temp/neptune/zookeeper/data
@echo off
set JAVA_HOME="C:\Program Files\Java\jdk1.6"
set HADOOP_HOME="C:/download/hadoop-0.18.1"
...
run window "command prompt" cd ZOOKEEPER_HOME java -cp .\zookeeper-3.1.1.jar;.\lib\log4j-1.2.15.jar;.\conf org.apache.zookeeper.server.quorum.QuorumPeerMain NEPTUNE_HOME\conf\zoo.cfg
run window "command prompt" C:\>cd C:\download\neptune\bin C:\download\neptune\bin>neptune com.nhncorp.neptune.LocalCluster
run window "command prompt" C:\>cd C:\download\neptune\bin C:\download\neptune\bin>neptune com.nhncorp.neptune.client.Shell
insert into T_TEST (col1, col2) values ( ( 'col1_ck1', 'col1_val1' ) , ( 'col2_ck1', 'col2_val1' ) ) where rowkey = 'rk1'; insert into T_TEST (col1, col2) values ( ( 'col1_ck2', 'col1_val2' ) , ( 'col2_ck1', 'col2_val2' ) ) where rowkey = 'rk1'; insert into T_TEST (col1, col2) values ( ( 'col1_ck2', 'col1_val2' ) , ( 'col2_ck1', 'col2_val2' ) ) where rowkey = 'rk3';