When creating a table in Hive based on a large CSV file the following error occurs;
IOException: Failed to replace a bad datanode on the existing pipeline due to no more good datanodes being available to try. (Nodes: current=[10.0.49.248:50010, 10.0.49.249:50010], original=[10.0.49.248:50010, 10.0.49.249:50010]). The current failed datanode replacement policy is DEFAULT, and a client may configure this via ‘dfs.client.block.write.replace-datanode-on-failure.policy’ in its configuration.
This is caused by the number of nodes being too high in hdfs-site.xml, the default value of block.replication is 3, by dropping this to 2 (even with a 1 node cluster) resolved the issue.
This is my guide to installing Observium on FreeBSD. I am using 9.1 patched with all the latest updates.
For some reason Observium would only run from /opt sp these are the commands I used to get a base install
make clean install
svn co http://www.observium.org/svn/observer/trunk/ observium
mv config.php.default config.php
At this point you need to login to the Mysql server and create a database and user for observium, once you have this you need to edit config.php with these details
appears to install the database, at this point I got a few errors about paths to things such as RRD, fping etc so you need to edit includes/defaults.inc.php to set them correctly. Once thats all done your ready to add the first user, the command is php ./adduser.php username password 10. Im running this on a server with other sites so I created a virtual host config and browsed to the URL and all appeared OK. Upon trying to use I was informed that I need mcrypt from php5-extensions and some python stuff. The extensions are difficult to install but to install python the command was cd /usr/ports/*/py-MySQLdb && make install clean
While trying to install cacti on a production Freebsd 9.1 server it failed with
/usr/local/lib/libXrender.so: undefined reference to `_XEatDataWords'
gmake: *** [hb-view] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: Leaving directory `/usr/ports/print/harfbuzz/work/harfbuzz-0.9.19/util'
gmake: *** [all-recursive] Error 1
gmake: Leaving directory `/usr/ports/print/harfbuzz/work/harfbuzz-0.9.19'
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
*** [do-build] Error code 1
Stop in /usr/ports/print/harfbuzz
Turns out that you need to reinstall libXrender from ports
I recently had the need for a remote VNC server, I found a really good guide here but that was for Gnome, being a fan of Xubuntu I wanted to use this. Once I had the VPS details I logged in and installed xubuntu-desktop package and followed the guide. I had real trouble trying to get VNC to start with Xubuntu, after much googling I found that the xstartup needed to be:
# Uncomment the following two lines for normal desktop:
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
So 13.04 is here, but whats the big deal?
Well visually none, but the biggest feature I notice is the “Friends” app, a replacement for Gwibber. Yes its nice to have all the new features etc but the one thing that Ubunutu truly needs is an Exchange compatible email client, yes I know about the workarounds like Davmail etc but thats a hack in my book. While I still use Ubuntu across all my work and personnel devices, including my tablet, this is the one feature that I could really use.
Looking forward to Saucy Salamander though!
I wanted to try Ubuntu Touch on my TF101 but could find any guides for using Ubuntu to do this, all the guides were for using Ubunut. After hours of googling I found a link here
This enabled me to root the device and installed the relevant software to boot Touch. Once I had enough of Touch I used this link to restore to Jelly Bean
It is with great regret that I must advise that I have moved to Linux Mint 14. The reason? Cinnamon. Simply the best desktop that ive come across. Having moved away from Unity as soon as I tried it, mainly due to the Amazon intergration, the next step was Xfce4, which was technically great, although visually lacked that something. Having tried Cinnamon on top of Ubuntu Ive decided to go the whole way and replace Ubuntu with Mint.
First impressions are great, visually its on the mark and being based on Ubuntu means the packages are there for any software not already installed.
I recently upgraded one of my FreeBSD physical servers from 8.3 to 9.0. Using freebsd-update all went OK and then I it came to the reboot. The server failed to restart and was stuck at the BOOT> prompt.
Time for a live CD to check the drives. At this point it dawned on me that the drive assignments had changed, instead of ad4s1a etc they were now ada0sa1, using these commands I managed to use the rescue partition to edit the fstab file:
/rescue/mount /dev/ad4s1f /usr
Once I changed to the new drive assignment and revbooted, the server came back up OK
As a network manager part of my responsibility is preventing spam getting into my system, I recently came across a number of customers who couldnt register on the Department of Trade and Investement website, the emails came back saying email blocked due to SPF. Having checked the logs that was indeed correct. The customers then receive an email from them saying:
“The problem is with your SPF firewall settings – our emails are sent from a secondary server so can look like a spoofed email so are blocked by some systems using SPF. We have found the only way around this is to set up your account using a webmail or home email address.”
Hang on a second!!!!
If you are sending from an IP not on your SPF record how can it be my firewall thats the problem? And how is using webmail going to help? The email still passes through the same filters.
Yet again more time spent dealing with 3rd parties that simply dont take the time to understand the problems that they have caused.