Author Archives: Yao Huang Portal

setup storm kafka testing infrastructure

Because of the version confusion of Storm, Kafka, Storm-Kafka, many people still cannot make the kafka and storm work together, even though there is a starter, but it uses the embedded zookeeper and kafka server instances. We need to get … Continue reading

Posted in Uncategorized | Leave a comment

kafka-console-producer.sh (kafka_2.10-0.8.1) reported SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”

On my Mac box, after download the scala-2.10 and kafka_2.10-0.8.1,  in the kafka_2.10-0.8.1 directory, every thins is fine when I start zookeeper, kafka server, and create a test topic.  Then I need to start a producer for the test topic. but … Continue reading

Posted in Uncategorized | 3 Comments

Spark-1.0.0 setup for test a python program

At work, my company uses Storm and Esper for big data analyzing by Java code. I was triggered by a nice guy who reminded me of Spark (even I knew it for a while). The doc from Spark is not … Continue reading

Posted in Uncategorized | Leave a comment

A C++ multi-threaded application crashed: how to find the problem by GDB and fix it.

It is not hard to understand mutex, condition variable, semophore, etc. in Linux with pthread library, but you might not remember it for ever. A failure in multi-threaded application can give you a deep impression of these concept and on … Continue reading

Posted in c/c++, Linux, Operating system, Programming | Leave a comment

Piano: self-learning

My purpose of buying a piano is to play it as a big toy for me in my leisure time, when I do not play in sport, e.g, soccer, basketball, table tennis. Of course, playing music likes developing a computer application … Continue reading

Posted in Uncategorized | Leave a comment

C++ class code style

Where is the best place to put the private members in class definition in C++? This is a controversial topic, and it depends on programmer preference. Working on projects with programming language of Java and C++ in parallel, and I … Continue reading

Posted in Uncategorized | Leave a comment

Build gcc-4.6.1

In default, in Redhat or Centos-6.2 development machine, the version of gcc is 4.1, it does not include C++0x features, like thread, share_ptr, …, otherwise we have to use the boost library. However, sometimes, you find some code is based … Continue reading

Posted in Uncategorized | Leave a comment