1 | centos7下载 http://cloud.centos.org/centos/7/vagrant/x86_64/images/CentOS-7-x86_64-Vagrant-2002_01.VirtualBox.box |
1 | vagrant box add centos7 CentOS-7-x86_64-Vagrant-2002_01.VirtualBox.box |
1 | tar zxvf ~/software/jdk-8u241-linux-x64.tar.gz -C ~/app/ |
推送数据到hdfs
1 | hadoop fs -mkdir -p /wordcount/input |
代码
1 |