111
su - hadoop
start-dfs.sh
start-yarn.sh
cd /export/server/hive
nohup bin/hive --service metastore >> logs/metastore.log 2>&1 &
nohup bin/hive --service hiveserver2 >> logs/hiveserver2.log 2>&1 &
/export/server/zookeeper/bin/zkServer.sh start
start-hbase.sh
hbase shell
**sqoop导出**
```sql
bin/sqoop export \
--connect jdbc:mysql://node1:3306/journal \
--username root \
--password 123456 \
--table top_courses_by_traffic \
--export-dir /user/hive/warehouse/journal.db/top_courses_by_traffic/delta_0000001_0000001_0000
--input-fields-terminated-by '\001' \
--columns 'type,id,total_traffic'
```
mongodb启动
在cmd中执行> mongosh
b1r6Db0QGjQzHcaPKEr6v5cO
5SPHok4txfE3KT7WToYv4I7Q7fOC5Xyf
windows启动redis
进入redis的安装目录下,在地址栏输入“cmd”,回车
进入cmd界面,直接运行命令redis-server.exe redis.windows.conf
npm run dev