Archive for December 2010

How to embed Flume node into your Java application




You may need to embed Flume node into your Java Program in a case you would like your application to control the incoming logs (you can then create new Sinks or Sources in the application). Embedding Flume into Java Application is possible and very easy to do. Instructions: 1. Install flume node 2. Configure your […]






MySQL select count




COUNT function counts the number of rows retrieved by a SELECT statement. The return value is of type BIGINT. The COUNT(expr) function count the number of non-NULL values of expr in the rows retrieved by a SELECT statement. SELECT COUNT(expr) FROM tbl; In contrast, COUNT(*) is different in that it returns a count of the […]