Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Blur Wiki" for change 
notification.

The "PseudoDistributed" page has been changed by AaronMcCurry:
https://wiki.apache.org/blur/PseudoDistributed?action=diff&rev1=5&rev2=6

  You should see:
  
  {{{#!bash
+ blur@blurvm:~$ apache-blur-0.2.0-incubating/bin/start-all.sh 
+ localhost: ZooKeeper starting as process 6650.
- localhost: Shard [0] starting as process 9368.
+ localhost: Shard [0] starting as process 6783.
- localhost: Controller [0] starting as process 9495.
+ localhost: Controller [0] starting as process 6933.
  }}}
  
  If you run the start command again you should see:
  
  {{{#!bash
- localhost: Shard server already running as process 9368. Stop it first.
- localhost: Controller server already running as process 9495. Stop it first.
+ blur@blurvm:~$ apache-blur-0.2.0-incubating/bin/stop-all.sh 
+ localhost: Stopping Controller [0] server with pid [6933].
+ localhost: Stopping Shard [0] server with pid [6783].
+ localhost: Stopping ZooKeeper with pid [6650].
  }}}
  
  If you see it starting the servers again, then there is likely some issue 
with startup.  Look in the $BLUR_HOME/logs directory for log and out files.
@@ -105, +109 @@

  The below example creates a table and stores the contents of the table in a 
local directory of ''/data/testTableName'' which will only work if you are 
running blur in a single instance.  Normally if you are running a hadoop 
cluster this will be a hdfs URI for example 
''hdfs://host:port/blur/tables/testTableName''.
  
  {{{#!bash
- blur> create <example>
- blur> mutaterow <example>
- blur> query <example>
+ blur> #Creates a table called testtable in the local directory of 
/data/testtable with 11 shards
+ blur> create testtable file:///data/testtable 11
+ blur> 
+ blur> #Adds a row to testtable
+ blur> mutate testtable 1 1 fam0 col1 value1
+ blur> 
+ blur> #Runs a query on testtable
+ blur> query testtable fam0.col1:value1
+  - Results Summary -
+     total : 1
+     time  : 7.874 ms
+ 
------------------------------------------------------------------------------------------------------------------------------------------
+       hit : 0
+     score : 1.4142135381698608
+        id : 1
+  recordId : 1
+    family : fam0
+      col1 : value1
+ 
------------------------------------------------------------------------------------------------------------------------------------------
+  - Results Summary -
+     total : 1
+     time  : 7.874 ms
+ blur> 
+ blur> #Turns highlighting on
+ blur> highlight
+ highlight of query command is now on
+ blur> 
+ blur> #Runs a query on testtable with highlighting on, notice <<<value1>>> is 
highlighted 
+ blur> query testtable2 fam0.col1:value1
+  - Results Summary -
+     total : 1
+     time  : 13.395 ms
+ 
------------------------------------------------------------------------------------------------------------------------------------------
+       hit : 0
+     score : 1.4142135381698608
+        id : 1
+  recordId : 1
+    family : fam0
+      col1 : <<<value1>>>
+ 
------------------------------------------------------------------------------------------------------------------------------------------
+  - Results Summary -
+     total : 1
+     time  : 13.395 ms
+ blur> 
  
  }}}
  

Reply via email to