ERROR: dbpath (\data\db\) does not exist.

*********************************************************************
 ERROR: dbpath (\data\db\) does not exist.
 Create this directory or give existing directory in --dbpath.
 See http://dochub.mongodb.org/core/startingandstoppingmongo
*********************************************************************

Create a directory for storing mongodb data

at the start specify it with

bin/mongod.exe --db_path my_data

How to embed draw.io inside webpage blogger

Make your drawing.

Click
File > Embed > HTML

Get the HTML code

On your website insert the HTML code.

You also need to insert one time the import of JavaScript needed for display support

Screen commands cheat sheet

Screen allows you to keep the session running in background for your system

It just like having multiple workspace in Ubuntu and you can switch between them on command line.

Start the new screen session

screen

Exit ( detach ) from session

Control a + d

See the running screen sessions

screen -ls

Attach to running screen session

screen -r <id>

Kill permanently the specific screen session
From within the running session

Control A and then press :quit

Error: couldn't connect to server 127.0.0.1:27017 at src

C:\Jagat\tools\mongodb-win32-i386-2.4.9>bin\mongo.exe

MongoDB shell version: 2.4.9
connecting to: test
Fri Apr 04 20:27:30.640 Error: couldn't connect to server 127.0.0.1:27017 at src
/mongo/shell/mongo.js:145
exception: connect failed

C:\Jagat\tools\mongodb-win32-i386-2.4.9>bin\mongod.exe

You need to start mongod.exe first

Architecture pattern for real time processing in Bigdata


3Vrfc+I2EP5reOyMweCER+CgufbauR430+mjwALU2BYjy0nIX38rrBW2ZKghtpMrwzBojdf6vv0piZ4/i19+FWS/+4OHNOoNvPCl53/qDQb3ngefSnCwBFvBwlzU14KMhTQtiSTnkWT7snDNk4SuZUm24VFZ2Z5sqSNYrknkSv9modzpyQ2Ck/yBsu0OH9MPxvmVVB5QR0g3JIvkL0cRXFOXY4K6NMwXLx8Gd/n4oMd9Tyvck6Q0pVfO45JA0JS9lqe9YXpe+iErLkIqSqKIJY9F3vw5GElwDjeqb/HLjEbKUGiE/LbFmauGLkGT0qPP3aDpeCJRpqfu0Pe8Y5Iu92Stxs/gPD1/umFRNOMRz7H489Fstli4z9bTeaJCUu1oJ5DgiZTHVIqDoh/tp2nRXjjytTmeT8YPAv2bXdHwyCfRZG6N7hN6+KIJqC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EMfeHFYN/gs5Oqb5uoiyGNKHGf8+2ag9ZdAObyNdkvgVpAUFl2Mjohs1bHXLeVRuYs2felqIDBie/raSG+v0RyN//gM=

The flow is as follows

1) Real time data is ingested into system via stream ingestion tools like Flume , Kafta or Samza. The choice of which tool to be used among these dependent on factors like do we need event guaranteed delivery , are we bothered about sequence of events. etc. This is topic for another posr

2) Apply the processing required on the incoming data via Spark streaming api and make it ready to be consumable by third party apps

3) Using the REST gateway job server of Spark , third party apps trigger further spark jobs to process the data and return results back to the applications.

Sync folder between Android Tablet or Phone and computer

 

Requirement

To synchronize the contents of one folder between my android tablet or phone with folder inside my computer

Softwares used

Computer

Some FTP server

In windows i used Filezilla server

See guide here

http://www.addictivetips.com/windows-tips/how-to-setup-personal-ftp-server-using-filezilla-step-by-step-guide/

Read about different sync modes

https://sites.google.com/a/sergey-bogdanov.info/pcfilesync/tutorial-1/syncmodes

In Android

Download the application

https://play.google.com/store/apps/details?id=org.pcfilesync&hl=en

I was able to setup FTP server and sync between the folder in 10 mins

Please follow the tutorial here

https://sites.google.com/a/sergey-bogdanov.info/pcfilesync/tutorial

Now i two folders synchronize each other every 20 seconds.

How to see total folder size in Windows

 

Download folder size software

http://sourceforge.net/projects/foldersize/

On lower right side you will have icon to allow display of folder size.

It will appear something like this

 

 

 

 image

On each folder you will have window like shown below

image

Details

http://www.intowindows.com/how-to-view-folder-size-in-windows-8-1-explorer/