草庐IT

method-group

全部标签

kafka-consumer-groups.sh消费者组管理

1.查看消费者列表--listbin/kafka-consumer-groups.sh--bootstrap-serverhadoop102:9092,hadoop103:9092,hadoop104:9092--list  先调用MetadataRequest拿到所有在线Broker列表再给每个Broker发送ListGroupsRequest请求获取消费者组数据。2.查看消费者组详情–describe查看指定消费组详情--groupbin/kafka-consumer-groups.sh--bootstrap-serverhadoop102:9092,hadoop103:9092,hado

hadoop - Pig 为简单的 Group by 和 count occurrence 任务抛出错误

使用Hadoop的PIG-Latin从搜索引擎日志文件中查找唯一搜索字符串的出现次数。(clickheretoviewthesamplelogfile)请帮帮我。提前致谢。pig脚本excitelog=load'/user/hadoop/input/excite-small.log'usingPigStorage()AS(encryptcode:chararray,numericid:int,searchstring:chararray);GroupBySearchString=GROUPexcitelogbysearchstring;searchStrFrq=foreachGroup

java - Hadoop 错误 : type mismatch in write method

我刚刚编写了一个简单的hadoop程序,我正在尝试使用AES算法加密文本文件。我在我的map方法中一行一行地读取,加密并写入上下文。很简单。我在我的map方法中进行加密并使用行偏移量作为key,所以我不需要reducer类。这是我的代码:publicclassEnc{publicstaticclassMapextendsMapper{privateTextword=newText();publicvoidmap(LongWritablekey,Textvalue,Contextcontext)throwsIOException,InterruptedException{Stringst

RIS 系列 See-Through-Text Grouping for Referring Image Segmentation 论文阅读笔记

RIS系列See-Through-TextGroupingforReferringImageSegmentation论文阅读笔记一、Abstract二、引言三、相关工作3.1SemanticSegmentationandEmbeddings3.2ReferringExpressionComprehension3.3ReferringImageSegmentation四、方法4.1视觉表示4.2文本表示4.3See-through-TextEmbedding4.4Bottom-upSTEPHeatmaps5.5Top-downHeatmapRefinement细节4.6训练五、实验5.1消融研究

hadoop - 为什么我得到 "security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=300000"?

$hdfsdfs-rmrcrawl11/04/1608:49:33INFOsecurity.Groups:Groupmappingimpl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping;cacheTimeout=300000我正在使用hadoop-0.21.0和defaultSingleNodeSetupconfiguration. 最佳答案 这不是警告,只是标准消息。但是,它不应该在INFO级别输出,因为它确实会随每条消息一起打印。在主干中,它已移至DEBUG,因此您

java - 组织.apache.thrift : Invalid method name: 'authenticate'

我正在运行出现此错误的用户手册中的一些基本Accumulo代码。简单的谷歌搜索没有提供任何有用的信息。错误org.apache.accumulo.core.client.AccumuloException:org.apache.thrift.TApplicationException:Invalidmethodname:'authenticate'atorg.apache.accumulo.core.client.impl.ServerClient.execute(ServerClient.java:77)atorg.apache.accumulo.core.client.impl.C

hadoop - 我收到 CDH4.0 错误 "The method addCacheFile(URI) is undefined for the type Job"

我遇到了错误ThemethodaddCacheFile(URI)isundefinedforthetypeJob使用CDH4.0时尝试调用addCacheFile(URIuri)方法,如下图:importjava.net.URI;importorg.apache.hadoop.conf.Configuration;importorg.apache.hadoop.fs.Path;importorg.apache.hadoop.io.LongWritable;importorg.apache.hadoop.io.Text;importorg.apache.hadoop.mapreduce.

sql - 排序行时优化 Hive GROUP BY

我有以下(非常简单的)Hive查询:selectuser_id,event_id,min(time)asstart,max(time)asend,count(*)astotal,count(interaction==1)asclicksfromevents_allgroupbyuser_id,event_id;表格结构如下:user_idevent_idtimeinteractionEx833Lli36nxTvGTA1DvjuCUv6EnkVundBHSBzQevw14304815302950Ex833Lli36nxTvGTA1DvjuCUv6EnkVundBHSBzQevw14304

斯卡拉 MapReduce : [error] method reduce overrides nothing

我遇到了这个错误,我这样写了我的TableReducer代码:classtreducerextendsTableReducer[Text,IntWritable,ImmutableBytesWritable]{overridedefreduce(key:Text,values:java.lang.Iterable[IntWritable],context:Reducer[Text,IntWritable,ImmutableBytesWritable,Mutation]#Context){vari=0for(v通过这次导入:importorg.apache.hadoop.hbase.HB

hadoop - PIG Group - 无法获得多个字段

我想知道谁在每个部门领取最高薪水-我正在获得每个部门的最高薪水,但无法获得其中的名字....使用pig脚本附加文件EmpData=LOAD'/data/EmpDet3.csv'usingPigStorage(',')as(fname:chararray,lname:chararray,position:chararray,dept:chararray,salary:chararray);Grp_Dept=GROUPEmpDatabydept;EmpDataC=FOREACHEmpDataGENERATEfname,lname,position,dept,(int)SUBSTRING(s