单项选择题X 纠错
A.class Counter{def counter = “counter”}
B.class Counter{val counter = “counter”}
C.class Counter{var counter:String}
D.class Counter{def counter () {}}
你可能喜欢
单项选择题
A.("New", "York")
B.("NY", "ew ork")
C.("er ork", "NY")
D.("New York", "NY")
单项选择题
A.val b = 2 * a // b 等于 Array(2,4,6)
B.val b = a.map(_*2) // b 等于 Array(2,4,6)
C.val b = for(elem <- a) yield 2 * elem // b 等于 Array(2,4,6)
D.val b = for(elem <- a if elem % 2 == 0) yield 2 * elem // b 等于 Array(4)
单项选择题
A.15
B.120
C.200
D.300
单项选择题
A.def countdown(n:Int){ 0 to n foreach print }
B.def countdown(n:Int){ (0 until n).reverse foreach print }
C.def countdown(n:Int){ (0 to n).reverse foreach print }
D.def countdown(n:Int){ (0 to n-1).reverse foreach print }
单项选择题
A.用来描述将数据从来源端经过抽取、转换、加载至目的端的过程。
B.Elasticsearch是个开源分布式搜索引擎,提供搜集、分析、存储数据三大功能。它的特点有:分布式,零配置,自动发现,索引自动分片,索引副本机制,restful风格接口,多数据源,自动搜索负载等。
C.Logstash 主要是用来日志的搜集、分析、过滤日志的工具,支持大量的数据获取方式。一般工作方式为c/s架构,client端安装在需要收集日志的主机上,server端负责将收到的各节点日志进行过滤、修改等操作在一并发往elasticsearch上去。
D.Kibana 也是一个开源和免费的工具,Kibana可以为 Logstash 和 ElasticSearch 提供的日志分析友好的Web界面,可以帮助汇总、分析和搜索重要数据日志。
单项选择题
A.alter table stu_par add partition (month=’999901’);
B.load data inpath ’/student.txt’ into table stu_par partition(month=’888801’);
C.insert into table stu_par partition (month = ’777701’) select * from student;
D.select * from stu_par where month = ’777701’;
单项选择题
A.impala-shell -i //查看impala的版本
B.impala-shell -q ’select * from student’ -o output.txt //将查询结果写入文件中
C.impala-shell -q ’select * from student’ -f output.txt //将查询结果写入文件中
D.impala-shell -p bigdata111 //指定连接运行 impalad 守护进程的主机