1. open terminal
2. ssh root@nifi.webus.cn
3. logs
cd /var/lib/nifi/logs
4. view log
tail -100f nifi-app.log
5. configuration
cd conf
ls
vi bootstrap.conf
press i for inserting,
wq : write and quit
q!: quit only
6. 重启
命令行输入service nifi status看状态
命令行输入service nifi restart重新启动
/mnt/nifi/nifi-node1/conf wdp002
https://support.rackspace.com/how-to/connecting-to-a-server-using-ssh-on-linux-or-mac-os/
ambari:
ambari-server restart
/etc/hadoop/2.4.2.0-258/0 wdp
7. 权限
change owner:
su admin
hadoop fs -chown root /nifi/finance/Docs/*
change read permission:
hadoop fs -chmod -R 777 hdfs_path
8. 查询文件数及大小
hadoop fs -count /nifi
hadoop fs -count -q /nifi
9. 查找
find / -name '*pandas*'
本文转自疯吻IT博客园博客,原文链接:http://www.cnblogs.com/fengwenit/p/5552362.html,如需转载请自行联系原作者