Friday
How to wait for a ThreadPoolExecutor to finish?
myThreadPoolExecutor.shutdown();
while (!myThreadPoolExecutor.isTerminated()) {
//do thing
}
Alternative way:
myThreadPoolExecutor.shutdown();
if (!myThreadPoolExecutor.awaitTermination(1000, TimeUnit.SECONDS))
System.err.println("Threads didn't finish in 1000 seconds!");
}
Sunday
[Real-World Data]Stop-word
List of words which ignored in Wikipedia search.
Download stop-words: https://www.dropbox.com/s/cn15xeg0wvllpsp/stopwords.txt
(Source)
Download stop-words: https://www.dropbox.com/s/cn15xeg0wvllpsp/stopwords.txt
(Source)
Friday
Build, Install, Configure and Run Apache Hadoop 2.2.0 in Microsoft Windows OS
I want to introduce a good post for window guys who want to work on Hadoop.
Good news for Hadoop developers who want to use Microsoft Windows OS for their development activities. Finally Apache Hadoop 2.2.0 release officially supports for running Hadoop on Microsoft Windows as well. But the bin distribution of Apache Hadoop 2.2.0release does not contain some windows native components (like winutils.exe, hadoop.dll etc).
This is detail: http://www.srccodes.com/p/article/38/build-install-configure-run-apache-hadoop-2.2.0-microsoft-windows-os#comment-1159454825
And this is my result ;)
Good news for Hadoop developers who want to use Microsoft Windows OS for their development activities. Finally Apache Hadoop 2.2.0 release officially supports for running Hadoop on Microsoft Windows as well. But the bin distribution of Apache Hadoop 2.2.0release does not contain some windows native components (like winutils.exe, hadoop.dll etc).
This is detail: http://www.srccodes.com/p/article/38/build-install-configure-run-apache-hadoop-2.2.0-microsoft-windows-os#comment-1159454825
And this is my result ;)
Tuesday
Number converter (GAE application)
Release note:
- Number Translator/Converter
- Version: 1.0
- Link: http://numbertranslator.appspot.com/
jbohn.blogspot.com
- Number Translator/Converter
- Version: 1.0
- Link: http://numbertranslator.appspot.com/
jbohn.blogspot.com
Thursday
Decoupling
Decoupling refers to careful controls that separate code modules from particular use cases, which increases code re-usability. A common use of decoupling is to polymorphically decouple the encapsulation (see bridge pattern and adapter pattern) – for example, using a method interface that an encapsulated object must satisfy, as opposed to using the object's class.
(wiki)
(wiki)
Subscribe to:
Posts (Atom)

