- 博客(7)
- 资源 (2)
- 收藏
- 关注

原创 Start hadoop, hive, hue server in the virtual hadoop clusters based on docker
######start hadoop####### refer to "http://tashan10.com/yong-dockerda-jian-hadoopwei-fen-bu-shi-ji-qun/"1.open three terminals and execute one of the following three commands respectively for ea
2017-11-12 15:42:25
240

原创 how_to_install_hue_by_docker
hue:###start hue server in another docker container, and best practice is that we commit the container which was installed hue to a image different from hadoop and hive.###Getting Started
2017-11-12 15:38:04
276

原创 how_to_install_hadoop_hive_by_docker
#install hadoop 2.7.2#refer to:http://tashan10.com/yong-dockerda-jian-hadoopwei-fen-bu-shi-ji-qun/##install docker firstly##$ sudo apt-get install apt-transport-https$ sudo apt-key adv --key
2017-11-12 15:33:43
490
原创 爱因斯坦阶梯问题
爱因斯坦曾经提出过这样一道有趣的数学题:有一个长阶梯,若每步上2阶,最后剩下1阶;若每步上3阶,最后剩2阶;若每步上5阶,最后剩下4阶;若每步上6阶,最后剩5阶;只有每步上7阶,最后刚好一阶也不剩。请问该阶梯至少有多少阶。 我们假设阶梯共有n阶,我们可以很快的列出下面的式子:n mod 2 = 1n mod 3 = 2n mod 5 = 4n mod 6 = 5n mod 7 = 0用“强”解:
2017-03-09 21:23:00
1513
原创 Method:上传本地代码到github上
第一步:建立git仓库cd到你的本地项目根目录下,执行git命令,此命令会在当前目录下创建一个.git文件夹。git init第二步:将项目的所有文件添加到仓库中git add .这个命令会把当前路径下的所有文件,添加到待上传的文件列表中。如果想添加某个特定的文件,只需把.换成特定的文件名即可第三步:将add的文件commit
2017-01-02 16:18:41
252
原创 ”Python开发简单爬虫“慕课网课程学习笔记1
Python开发简单爬虫BeautifulSoup实例:from bs4 import BeautifulSoupimport rehtml_doc = """The Dormouse's storyThe Dormouse's storyOnce upon a time there were three little sisters; and their
2016-10-06 16:07:40
383
原创 剑指offer编程练习——跳台阶
最近在联系一些编程题,也有想法慢慢开始自己的博客记录与分享学习的习惯,暂时先用优快云博客开始吧~题目描述一只青蛙一次可以跳上1级台阶,也可以跳上2级。求该青蛙跳上一个n级的台阶总共有多少种跳法。解释:其实这就是一道考察斐波那契数列(递归)题目,在初高中数学竞赛的简单题中也很常见。public class Solution { public int
2016-08-23 15:46:46
251
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人