Monthly Archives: October 2011

zookeeper

ZooKeeper aims to provide a simple and high performance kernel for building more complex coordination primitives at the client. The ZooKeeper interface enables a high-performance service implementation. In addition to the wait-free property, ZooKeeper provides a per client guarantee of … Continue reading

Posted in lily | Leave a comment

Installing solr of developement trunk

Installing ant on ubuntu : sudo apt-get install ant ant-optional     Ref : http://tracylogan.com/index.cfm?event=showEntry&entryId=201D1494-D098-034C-9FD64FED89649B27 http://stackoverflow.com/questions/7764300/is-solr-can-start-by-developer-trunk-or-how-to-start-by-developer-trunk      

Posted in lily | Leave a comment

how to see no of zookeeper connection running

run the ls command which hows lily, hbase and zookeeper these are the znode. To run four word commands of zoo keeper echo cons | nc 127.0.0.1 2183 | wc -l Ref :  1 . http://archive.cloudera.com/cdh/3/zookeeper/zookeeperStarted.html 2 http://archive.cloudera.com/cdh/3/zookeeper/zookeeperAdmin.html more use … Continue reading

Posted in lily | Leave a comment

advance query in mongodb

  db.collection.find({keyfieldtocheck:{ $exists : false }}) Ref : http://www.mongodb.org/display/DOCS/Advanced+Queries

Posted in lily, Node.js | Leave a comment

process STATE codes

PROCESS STATE CODES Here are the different values that the s, stat and state output specifiers (header “STAT” or “S”) will display to describe the state of a process. D Uninterruptible sleep (usually IO) R Running or runnable (on run … Continue reading

Posted in Ubuntu/Linux | Leave a comment

how to remove folder with subdirectories and files

    rm -rf   Ref :  

Posted in Ubuntu/Linux | Leave a comment

Export import in mongodb.

Want to export a collection from mongodb.     mongoexport –host localhost –db test –collection foo > a.json   mongoimport -d test -c foo importfile.json   Ref : // http://www.mongodb.org/display/DOCS/Import+Export+Tools

Posted in lily | 1 Comment