Just ran into a little gotcha when running a huge job against my CDH4 cluster. One of the servers lost a drive at the 50% mark. Each server has 4 1TB drives mounted, so losing one isn’t a huge deal. With the new config “dfs.datanode.failed.volumes.tolerated” set to 2 it was possible for the datanode to keep right on going and not impact the larger job.
To get ready to replace the drive later, I unmounted the drive, leaving only the mount point dir. Then I made the mistake of bouncing the datanode so that I could start collecting ganglia stats, which are great by the way and really easy to set up.
Now the datanode determined that the mount point was back, nevermind that it was on the root device. So a day later, when the root device filled up and the tasks on that server started failing, I realized what I had done wrong.
If you’re going to temporarily take a drive out. Take it out of the config as well or else you’re going to forget about it and get yourself into trouble.
There was so much hype with Y2K, but it turns out that it’s a leap second that takes out portions of the web. I had my Amazon EC2 instances taken out with this bug. This little code snippet brought the java cpu load back to normal.
/etc/init.d/ntpd stop; date; date `date +”%m%d%H%M%C%y.%S”`; date
Then you just need to restart ntpd. Some have reported having to wait awhile to restart ntpd so that the issue doesn’t happen again.
This is just a quick post for any of the Amazon iPad Kindle Reader developers out there that might be listening. As someone that has purchased and read hundreds of kindle books, the latest update is a step backwards.
Instapaper has better reading options and that’s a done by a single developer. The margins change is really bugging me. I realize that you just cant pick a single setting that is going to make 100% of the people happy, so there should just be a slider for margins. Then everyone can choose what they’re comfortable with. A slider for brightness and a slider for font size. Then you could let people choose their favorite font and you’d have the perfect reader.
I know that some of these changes are difficult. How would you calculate page numbers with infinite variations in the text? But making difficult things look easy is why Amazon is great.
I’ve noticed more and more lately, that while reading my news folder in my RSS Reader, that the stories all seem to revolve around humans killing themselves and others in the craziest and most horrific ways. These stories seem to account for at least half of the headlines. Is that all that the news can deliver these days?
With MyElectedRep, I get a view into the people that are representing me. Whether I agree with the votes that they’re making on my behalf or if I would like them to vote another way.
To help me make decisions on votes, I can look at how some trusted organizations recommend I vote and read the analysis that they’ve provided.
With each Representative, I can vote on upcoming legislation, so that they can determine how the district feels. I can also go through their past votes and either agree or disagree with the votes that they’ve made. If I feel strongly about certain votes, I can contact my Representatives directly to let them know how I feel.
Once I’ve gone through the different bills and voted on the ones that I wanted to, I can look at how each Representative scores. They get a district score as well as a personal score. I can then use this score to determine if I should vote for this person to be my Representative again next time or if someone else would do a better job.
My Representatives are:
This article on CNN today expresses a lot of the reasoning behind why I created MyElectedRep.
With 3 of the 4 Republican candidates for President being heavily sponsored by single donors with $100+M in assets are you feeling more or less confident that after the next election cycle our elected officials will represent us and not the super wealthy that paid for their campaigns?
The only way we can keep our Representatives accountable is if we vote and show them how we want to be represented.
We need a place to point to, where we can show elected officials that they’re not doing their job. A place where we can show that on a certain item a district wants to vote one way. Then we can score our Representatives on whether or not they listened.
By measuring the votes that each Representative makes, it becomes less important to control the money that they receive.
ReadPath has changed names to Acushare to better reflect the new features that have been added over the last year.
There’s been a lot of discussion over documents coming out about Google’s strategy with Android. Google wants to use a Carrot and Stick strategy with Android to try and maintain control of the platform. This involves giving hardware manufacturers that behave early access to new code. It also meant that the code is developed in private and only released after the fact.
I don’t care what Google or others say, this isn’t open source. This is published source. There is no way to see bugs, contribute a patch, or take part in discussions on development. The only saving grace is that Google is publishing their code with a fairly unrestrictive license.
What this situation is screaming for is to have someone with a desire to actually behave in an open source manner to come along and fork the code. Then allow developers to contribute to that branch and let Google go it on their own. My hope is that Amazon will do exactly that with their fork of the Android code base.
I was seeing an annoying issue with a webapp having trouble shutting down cleanly. I would issue the tomcat stop command and most everything would shutdown, but I’d get this error:
Exception in thread "Multicast Heartbeat Receiver Thread" java.lang.NullPointerException
After the error, the Multicast Heartbeat Receiver would not shutdown and would just hang. Eventually you would have to kill off the java process manually.
Doing a quick search found this page. With a small snippet added to the web.xml to add a shutdown listener everything shutdowns cleanly now.
A new video from Jaimie’s company Coraid, showing how easy it is to get up and running with a Coraid Etherdrive SAN.
[youtube BUH13HwCSUo Coraid Setup]