Zeppelin的入門使用系列之創建新的Notebook
阿新 • • 發佈:2018-05-31
選擇 運行 ref dir .tar.gz 2.0 tmp slave set
前期博客
hadoop-2.7.3.tar.gz + spark-2.0.2-bin-hadoop2.7.tgz + zeppelin-0.6.2-incubating-bin-all.tgz(master、slave1和slave2)(博主推薦)(圖文詳解)
測試
-
配置Spark解釋器
-
創建Note
運行官網的例子:
然後我們點Notebook->Zeppelin Tutorial
然後點擊save
然後在最上面的部分點擊如下圖所示的位置:
運行結果在截取兩張圖給大家:
最後一個要註意的是,這是我自己摸索著搞得,有問題發生是正常的,所以標題加上了初探兩個字!
ml-100k推薦數據集的下載
官網
https://grouplens.org/datasets/movielens/
因為,這裏,考慮到測試入門而已。只要跑通,數據量大小其次。所以,選擇下載ml-100k。
[hadoop@master data]$ pwd /home/hadoop/data [hadoop@master data]$ ll total 24 drwxrwxr-x 5 hadoop hadoop 4096 Apr 21 15:25 es drwxrwxr-x 5 hadoop hadoop 4096 Apr 20 15:19 flume drwxrwxr-x 2 hadoop hadoop 4096 May 3 15:58 jar drwxrwxr-x 5 hadoop hadoop 4096 Jul 28 08:48 storm drwxrwxr-x. 3 hadoop hadoop 4096 Apr 20 10:28 tmp drwxrwxr-x. 4 hadoop hadoop 4096 Apr 12 16:13 zookeeper [hadoop@master data]$ mkdir zeppelin [hadoop@master data]$ ll total 28 drwxrwxr-x 5 hadoop hadoop 4096 Apr 21 15:25 es drwxrwxr-x 5 hadoop hadoop 4096 Apr 20 15:19 flume drwxrwxr-x 2 hadoop hadoop 4096 May 3 15:58 jar drwxrwxr-x 5 hadoop hadoop 4096 Jul 28 08:48 storm drwxrwxr-x. 3 hadoop hadoop 4096 Apr 20 10:28 tmp drwxrwxr-x 2 hadoop hadoop 4096 Sep 2 10:12 zeppelin drwxrwxr-x. 4 hadoop hadoop 4096 Apr 12 16:13 zookeeper [hadoop@master data]$
[hadoop@master zeppelin]$ pwd /home/hadoop/data/zeppelin [hadoop@master zeppelin]$ ll total 0 [hadoop@master zeppelin]$ wget http://files.grouplens.org/datasets/movielens/ml-100k.zip --2017-09-02 10:15:32-- http://files.grouplens.org/datasets/movielens/ml-100k.zip Resolving files.grouplens.org... 128.101.34.235 Connecting to files.grouplens.org|128.101.34.235|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4924029 (4.7M) [application/zip] Saving to: “ml-100k.zip” 100%[=====================================================================================================================================================>] 4,924,029 238K/s in 19s 2017-09-02 10:15:53 (248 KB/s) - “ml-100k.zip” saved [4924029/4924029] [hadoop@master zeppelin]$ ll total 4812 -rw-rw-r-- 1 hadoop hadoop 4924029 Jan 30 2016 ml-100k.zip [hadoop@master zeppelin]$
創建完成後就可以看到ml-100k頁面,單擊Zeppelin可以回到首頁。
回到Zeppelin首頁,就可以看到如下圖的頁面。
或者
http://192.168.80.145:8099/#/
Zeppelin的入門使用系列之創建新的Notebook