`
文章列表
clone a centos vm, there is no ethX device.  To fix the problem,following the steps 1.# rm -f /etc/udev/rules.d/70-persistent-net.rules 2.# vim /etc/sysconfig/networking/devices/ifcfg-ethx //the obove file doesn't exist in my system /etc/sysconfig/network-scripts/ifcfg-ethx update MAC and ...
Download 1.download the latest tarball from http://www.apache.org/dyn/closer.cgi/oozie/4.0.0 2.#tar -xzvf  oozie-4.0.4.tar.gz   Build  According to official document, when run build command $ bin/mkdistro.sh there are some errors.  By default it builds against Hadoop 1.1.1 and the bu ...
change hostname under centos   #hostname  newhostname  #hostname  when poweroff, the hostname is still stale without changed -------------------------- to change hostname permanently.following these steps #vi /etc/hosts 127.0.0.1   newhostname localhost   #vi /etc/systemconfig/network HO ...
sqoop是关系型数据库与hadoop之间传递数据的一个工具. 下载sqoop 1.99.3按包里的文档安装,出现了以下一些问题: 1.启动sqoop.sh server start 时,服务器不能启动,查看sqoop.log发现配置的hadoop目录不是正确的目录或权限不正确.我仔细检查了路径,绝对正确.上网GOOGLE也没有找到解决办法,仔细回想,原来我将sqoop server安装到与hadoop namenode/resourcemanager相同的机子上,而配置的hadoop配置目录是解压后etc/hadoop这个目录,当hadoop运行时,也会用到这个目录,会对这个目录进行保 ...

mysq privileges

mysql assign privileges to users. install mysql-workbench under ubuntu #sudo apt-get update #sudo apt-get install mysql-workbench #mysql-workbench   #mysql -u root -p mysql>select host,user,password from mysql.user; mysql>show grants for 'root'@'localhost';   mysql>grant all on s ...
#vi /etc/hostname new_hostname   [root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE="Ethernet"# change BOOTPROTO=" none " DEFROUTE="yes" IPV4_FAILURE_FATAL="no" IPV6INIT="yes" IPV6_AUTOCONF="yes" IPV6_DEFROUT ...
1. when put local file to HDFS using #hadoop fs -put in.txt  /test,  there is a error message:    hdfs.DFSClient: Exception in createBlockOutputStream java.net.NoReouteToHostException solution: shutdown firewall in all nodes(non-secure mode, if run in secure mode, you should maual configure the fir ...
hadoop 2..30的官方tarball中 ./lib/native中的库只适合32位操作系统,在64位下安装会报一些错误,使用hadoop启动不起来。所以需要在64位上重新编译。 1. enviroment    hadoop 2.3.0    ubuntu 12.04 64   2. follow these steps to recompile hadoop sudo apt-get install g++ autoconf automake libtool make cmake zlib1g-dev pkg-config libssl-dev a. install ...
Installing hadoop 2.2.0 clusters with 3 nodes(one for namenode/resourcemanager and secondary namenode while the other tow nodes for datanode/nodemanager) 1. ip assignments     192.168.122.1        namenode     192.168.122.2        datanode     192.168.122.3        datanode 2. download the late ...
Global site tag (gtag.js) - Google Analytics