Socialabel

Wednesday, April 2, 2014

$HADOOP_HOME is deprecated

$HADOOP_HOME is deprecated
 
Solusi:
export HADOOP_HOME_WARN_SUPPRESS="TRUE"

Pydoop : gcc: error trying to exec 'cc1plus': execvp: No such file or directory

...
gcc -pthread -fno-strict-aliasing -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -Isrc/hadoop-1.2.1.patched/pipes/api -Isrc/hadoop-1.2.1.patched/utils/api -I/usr/include/python2.7 -c src/pipes.cpp -o build/temp.linux-i686-2.7/src/pipes.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command 'gcc' failed with exit status 1


Solusi:
zypper install gcc-c++

Tuesday, April 1, 2014

Hadoop Streaming Eksekusi

bin/hadoop jar contrib/streaming/hadoop-*streaming*.jar -mapper map.py -reducer red.py -input /user/Hery/data -output /user/Hery/out-data

Hadoop Py: #include "Python.h"

creating build/temp.linux-i686-2.7/hadoopy
gcc -pthread -fno-strict-aliasing -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -fstack-protector -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -DOPENSSL_LOAD_CONF -fPIC -I/usr/include/python2.7 -c hadoopy/_main.c -o build/temp.linux-i686-2.7/hadoopy/_main.o
hadoopy/_main.c:4:20: fatal error: Python.h: No such file or directory
 #include "Python.h"
                    ^
compilation terminated.
error: command 'gcc' failed with exit status 1



zypper install python-devel

Tuesday, February 25, 2014

Canon IP 1880 pada Opensuse

IJ Printer Driver Ver. 2.70 for Linux (rpm Common package)
http://support-asia.canon-asia.com/contents/ASIA/EN/0900718405.html

IJ Printer Driver Ver. 2.70 for Linux (rpm Package for iP1800 series)
http://support-asia.canon-asia.com/contents/ASIA/EN/0900718601.html

IJ Printer Driver Ver. 2.70 for Linux (Source file)
http://support-asia.canon-asia.com/contents/ASIA/EN/0900718505.html