2. knox 源码
git clone https://gitbox.apache.org/repos/asf/knox.git http://knox.apache.org/
启动: http://knox.apache.org/books/knox-1-3-0/user-guide.html#Quick+Start curl -i -k -u root:123456 -X GET "http://192.168.1.191:50070/webhdfs/v1/?op=liststatus" curl -i -k -u root:123456 -X GET "http://101.201.111.84:50070/webhdfs/v1/?op=ls"
Finally, that there is a properly provisioned sandbox.xml topology in the {GATEWAY_HOME}/conf/topologies directory that is configured to point to the actual host and ports of running service components.
配置: conf/topologies/sandbox bin/gateway.sh start
3. Hadoop生态圈-Knox网关的应用案例 https://www.cnblogs.com/yinzhengjie/p/10096385.html
基本上研究源码已经很久了.有问题可以留言.