摘要:
冒泡排序 * 冒泡排序基本概念是: * 依次比较相邻的两个数,将小数放在前面,大数放在后面。 * 即在第一趟:首先比较第1个和第2个数,将小数放前,大数放后。 * 然后比较第2个数和第3个数,将小数放前,大数放后,如此继续, * 直至比较最后两个数,将小数放前,大数放后。... 阅读全文
摘要:
itcast01上: 启动hadoop集群: cd /itcast/hadoop-2.6.0/sbin/ ./start-dfs.sh 启动yarn: ./start-yarn.sh itcast02上: 启动resourcemanager /itcast/hadoop-... 阅读全文
摘要:
这里已经假设部署了hadoop2.6.0 HA集群: 节点安排如下: 节点名称 角色 itcast01、itcast02 Namenode和zkfc itcast03、itcast04 ResourceManager itcast05、itcast06、itcast0... 阅读全文
摘要:
格式:scp File1 File2 …FileN 用户名@远程主机名:目的目录的绝对路径 scp scala-2.10.4.tgz spark-1.3.1-bin-hadoop2.6.tgz root@itcast02:/root 阅读全文