12 2021 档案
摘要:首先什么是commented out code,其实就是就是被注解掉的代码,直观来看例子 this.test = function(req, res, next) { // if (foo) { // return ‘1’; // } else if (bar) { // return ‘2’; /
阅读全文
摘要:hdfs的两种操作方式hadoop fs和hdfs dfs 脚本都是调用的同一个接口 if [ "$COMMAND" = "fs" ] ; then CLASS=org.apache.hadoop.fs.FsShell elif [ "$COMMAND" = "dfs" ] ; then CLASS
阅读全文
摘要:1:用户向YARN中提交应用程序,其中包括ApplicationMaster程序、启动ApplicationMaster的命令、用户程序等。 2:ResourceManager为该应用程序分配第一个Container,并与对应的Node-Manager通信,要求它在这个 Container中启动应用
阅读全文