摘要: 题目一:高阶函数应用(共计30分) 1)将下列学生存储在一个list,命名为studentsList 中(5分) 2)遍历studentsList,使用高阶函数输出上述内容(5分) 3)创建girlList,boyList,lt18List,gt18List (5分) 4)利用高阶函数遍历stude 阅读全文
posted @ 2020-05-26 21:36 潇洒哥浩浩 阅读(151) 评论(0) 推荐(0)
摘要: val list = List(1,2,3,4,5,6,7,8,9,10) println(list.map(x => x * 100).filter(x => x >= 500).size) list.map(x => x*100).filter(x => x>= 500 ).foreach(x  阅读全文
posted @ 2020-05-14 11:19 潇洒哥浩浩 阅读(194) 评论(0) 推荐(0)
摘要: <template> <div class="patient"> <el-col :span="2"> <el-button type="success" @click="openInsertUserDialog">添加患者</el-button> </el-col> <el-col :span=" 阅读全文
posted @ 2020-05-13 08:48 潇洒哥浩浩 阅读(255) 评论(0) 推荐(0)
摘要: <template> <div class="scenic"> <!-- ############添加对话框########## --> <el-dialog title="发布景点" :visible.sync="dialogFormVisible" width="60%" center> <el 阅读全文
posted @ 2020-05-13 08:46 潇洒哥浩浩 阅读(237) 评论(0) 推荐(0)
摘要: 在 hadoop-2.9.2下 权限bin/hdfs dfs -chmod -R 777 / 格式化bin/hdfs namenode -format 启动进程sbin/start-all.sh //上传文件bin/hdfs dfs -put /opt/module/hadoop-2.9.2/REA 阅读全文
posted @ 2020-05-12 21:26 潇洒哥浩浩 阅读(141) 评论(0) 推荐(0)
摘要: use applogsdb; msck repair table ext_startup_logs; select distinct deviceid from sockinfowhere appid='sdk34734' and concat(ym,day) >= formattime(getwe 阅读全文
posted @ 2020-05-12 21:22 潇洒哥浩浩 阅读(339) 评论(0) 推荐(0)
摘要: package hdfs; import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.*;import org.apache.hadoop.io.IOUtils; import java.io.File;impor 阅读全文
posted @ 2020-05-12 20:19 潇洒哥浩浩 阅读(169) 评论(0) 推荐(0)
摘要: file:\C:\Users\Administrator\Desktop\新建文件夹\\a.txt,file:\C:\Users\Administrator\Desktop\新建文件夹\\b.txt,file:\C:\Users\Administrator\Desktop\新建文件夹\\c.txtf 阅读全文
posted @ 2020-05-12 14:41 潇洒哥浩浩 阅读(304) 评论(0) 推荐(0)
摘要: package three;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.FileSystem;import org.apache.hadoop.fs.Path;import org.apache.ha 阅读全文
posted @ 2020-05-12 14:36 潇洒哥浩浩 阅读(263) 评论(0) 推荐(0)
摘要: package two;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.FileSystem;import org.apache.hadoop.fs.Path;import org.apache.hado 阅读全文
posted @ 2020-05-12 14:34 潇洒哥浩浩 阅读(494) 评论(0) 推荐(0)