Skip to main content

Blog Archive for kohsuke during February 2009

When run on Unix, Hudson can now authenticate users through the operating system, by using its user database and group database. I noticed that many Unix deployment of Hudson chooses LDAP for the authentication, but the problem with LDAP is that there are too many things that you need to configure. You have to configure the root DN, you need to tweak the queries, and you often need to give you...
One cannot call oneself a Java geek if you haven't done JVM crash dump analysis. I mean, a C programmer would laugh at you if you tell them you don't know how to look at the stack dump. Well, I just had the pleasure of doing an analysis, so I'll show you how to do it, in case you don't know how :-) — This is on Windows, BTW. Everything starts with the hs_err_pid*.log file that JVM...
Starting 1.281, Hudson can now launch itself as a proper Unix daemon. All you have to do is start Hudson as: $ java -jar hudson.war --daemon If you run this as root, it'll leave /var/run/hudson.pid and record PID there. Unlike java -jar hudson.war &, this will detach the daemon from the shell properly, so it'll keep going even after you exit your shell. This is done by using akuma that I...
One of the things I recently came across is the Linux kernel's unique ability to have a process-specific file system mount table. In Unix that I know of, a file system mount table is global to the entire system, but apparently, starting Linux 2.6.16, you can have multiple mount tables in the system. In a way, this is a kind of a virtualization technology, because two processes in the same system...
Here at Sun, one of my job is to maintain our internal Hudson cluster of some 40 nodes. Among other things, a part of the administration task involves in setting up a new slave every so often, which means installing a new OS, configuring it, and adding it to the cluster. We need to support all kinds of different OSes, so that adds an interesting complexity to the mix. We've got a considerable...
Eric Lefevre found a study of CI tools by Fontys University of Applied Sciences in Venlo, Netherlands. This is based on sending questions to volunteer participants and tabulating the results. With the usual caveat about the sampling size and geographic distribution of respondents, this paper found that the most commonly used CI tool today is Cruise Control (29 people), followed by Hudson (24...
As I mentioned in my last post, Akuma does fork/exec by itself. One of the things that this enables, other than daemonization, is an ability to inherit file descriptors to child processes. This is a very much normal part of life for C programmers, but presumably because Windows don't have fork (even though it does have the notion of file descriptor inheritance), Java doesn't let you do this....