單項選擇題對于表達式"New York".partition(_.isUpper)返回結(jié)果正確的是()。

A.("New", "York")
B.("NY", "ew ork")
C.("er ork", "NY")
D.("New York", "NY")


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題關(guān)于數(shù)組var a=Array(1,2,3)下列說法錯誤的是()。

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)

3.單項選擇題編寫一個過程countdown(n:Int),打印從n到0的數(shù)字?()

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 }

4.單項選擇題對于ELK描述不正確的是()。

A.用來描述將數(shù)據(jù)從來源端經(jīng)過抽取、轉(zhuǎn)換、加載至目的端的過程。
B.Elasticsearch是個開源分布式搜索引擎,提供搜集、分析、存儲數(shù)據(jù)三大功能。它的特點有:分布式,零配置,自動發(fā)現(xiàn),索引自動分片,索引副本機制,restful風(fēng)格接口,多數(shù)據(jù)源,自動搜索負(fù)載等。
C.Logstash 主要是用來日志的搜集、分析、過濾日志的工具,支持大量的數(shù)據(jù)獲取方式。一般工作方式為c/s架構(gòu),client端安裝在需要收集日志的主機上,server端負(fù)責(zé)將收到的各節(jié)點日志進行過濾、修改等操作在一并發(fā)往elasticsearch上去。
D.Kibana 也是一個開源和免費的工具,Kibana可以為 Logstash 和 ElasticSearch 提供的日志分析友好的Web界面,可以幫助匯總、分析和搜索重要數(shù)據(jù)日志。

5.多項選擇題Kylin可以集成()。

A.Tableau
B.Excel
C.JavaScript
D.Hbase

6.單項選擇題現(xiàn)有一張分區(qū)表,impala中哪種操作是錯誤的。()

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’;

7.單項選擇題impala不支持哪種數(shù)據(jù)類型。()

A.INT
B.FLOAT
C.BINARY
D.STRINT

8.單項選擇題下列impala的哪種用法是正確的。()

A.impala-shell -i //查看impala的版本
B.impala-shell -q ’select * from student’ -o output.txt //將查詢結(jié)果寫入文件中
C.impala-shell -q ’select * from student’ -f output.txt //將查詢結(jié)果寫入文件中
D.impala-shell -p bigdata111 //指定連接運行 impalad 守護進程的主機

9.單項選擇題哪個模塊是不屬于impala的()。

A.Impalad
B.Statestore
C.Catalog
D.Metastore

10.多項選擇題我們常說的ELK是指哪三個工具。()

A.ElasticSearch
B.Logstash
C.Kibana
D.kafka