$cd /app/hadoop/spark-1.1.0/bin$spark-shell --master spark://SPARK02:7077 --executor-memory 500m特别需要注意的地方是:SPARK02 一定要保持与hosts文件配置大小写一致,否则将报错 Read More
posted @ 2016-01-07 14:49 jeffery1010 Views(325) Comments(0) Diggs(0) Edit
cd /app/sparkuser/spark-120/sbin./start-all.sh#./stop-all.sh #停止服务------------------- Read More
posted @ 2016-01-07 14:26 jeffery1010 Views(151) Comments(0) Diggs(0) Edit
1. FS Shell1.1 简介调用文件系统(FS)Shell命令应使用 bin/hadoop fs 的形式。 所有的的FS shell命令使用URI路径作为参数。URI格式是scheme://authority/path。对HDFS文件系统,scheme是hdfs,对本地文件系统,scheme是... Read More
posted @ 2016-01-07 12:08 jeffery1010 Views(1090) Comments(0) Diggs(0) Edit
在图形下面按Ctrl+alt+F1(F2\F3\F4)进入命令模式在命令模式下,按Ctrl+alt+F7回到图形,或登录用户输入startx进入图形! Read More
posted @ 2016-01-07 11:18 jeffery1010 Views(519) Comments(0) Diggs(0) Edit
$cd /app/hadoop/hadoop-2.2.0/sbin $./start-yarn.sh Read More
posted @ 2016-01-07 09:28 jeffery1010 Views(174) Comments(0) Diggs(0) Edit
$cd /app/hadoop/hadoop-2.2.0/sbin$./start-dfs.sh Read More
posted @ 2016-01-07 00:22 jeffery1010 Views(139) Comments(0) Diggs(0) Edit
$cd /app/hadoop/hadoop-2.2.0/$./bin/hdfs namenode -format Read More
posted @ 2016-01-07 00:21 jeffery1010 Views(584) Comments(0) Diggs(0) Edit
确认配置正确前提下,将name目录删除重建,再格式化;hadoop防止将已经存在的集群格式化 Read More
posted @ 2016-01-07 00:03 jeffery1010 Views(1003) Comments(0) Diggs(0) Edit