All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.rest.action.cat.RestShardsAction.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?4com/groupbyinc/flux/rest/action/cat/RestShardsAction5com/groupbyinc/flux/rest/action/cat/AbstractCatActionRestShardsAction.java6com/groupbyinc/flux/rest/action/cat/RestShardsAction$1Z(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V*,
-GET-Lcom/groupbyinc/flux/rest/RestRequest$Method;/0	1/_cat/shards3'com/groupbyinc/flux/rest/RestController5registerHandlerh(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V78
69/_cat/shards/{index};this6Lcom/groupbyinc/flux/rest/action/cat/RestShardsAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;
controller)Lcom/groupbyinc/flux/rest/RestController;getName()Ljava/lang/String;cat_shards_actionE
documentation(Ljava/lang/StringBuilder;)V
/_cat/shards
Ijava/lang/StringBuilderKappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;MN
LO/_cat/shards/{index}
QsbLjava/lang/StringBuilder;doCatRequest?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/client/node/NodeClient;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;indexWparam&(Ljava/lang/String;)Ljava/lang/String;YZ
["com/groupbyinc/flux/common/Strings]splitStringByCommaToArray'(Ljava/lang/String;)[Ljava/lang/String;_`
^aBcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequestc()V*e
dflocalh()Zhj
dkparamAsBoolean(Ljava/lang/String;Z)Zmn
oD(Z)Lcom/groupbyinc/flux/action/support/master/MasterNodeReadRequest;hq
drmaster_timeouttmasterNodeTimeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;vw
dxparamAsTimej(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue;z{
|j(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;v~
dclearF()Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;??
d?nodesG(Z)Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;??
d?metaData??
d?routingTable??
d?indicesY([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;??
d?"java/lang/invoke/LambdaMetafactory?metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;??
???(Ljava/lang/Object;)V?lambda$doCatRequest$0?(Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;[Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;)V??
??)(Lcom/groupbyinc/flux/rest/RestChannel;)V?accept(Lcom/groupbyinc/flux/rest/action/cat/RestShardsAction;Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;[Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;???request&Lcom/groupbyinc/flux/rest/RestRequest;client,Lcom/groupbyinc/flux/client/node/NodeClient;[Ljava/lang/String;clusterStateRequestDLcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;getTableWithHeaderJ(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/common/Table; com/groupbyinc/flux/common/Table?
?fstartHeaders$()Lcom/groupbyinc/flux/common/Table;??
??(default:true;alias:i,idx;desc:index name?addCellH(Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/Table;??
??shard?'default:true;alias:s,sh;desc:shard name?prirep?@alias:p,pr,primaryOrReplica;default:true;desc:primary or replica?state?&default:true;alias:st;desc:shard state?docs?8alias:d,dc;text-align:right;desc:number of docs in shard?store?Kalias:sto;text-align:right;desc:store size of shard (how much disk it uses)?ip?+default:true;desc:ip of node where it lives?id?3default:false;desc:unique id of node where it lives?node?5default:true;alias:n;desc:name of node where it lives?sync_id?(alias:sync_id;default:false;desc:sync id?unassigned.reason?6alias:ur;default:false;desc:reason shard is unassigned?
unassigned.at?>alias:ua;default:false;desc:time shard became unassigned (UTC)?unassigned.for?Ealias:uf;default:false;text-align:right;desc:time has been unassigned?unassigned.details?Talias:ud;default:false;desc:additional details as to why the shard became unassigned?recoverysource.type?0alias:rs;default:false;desc:recovery source type?completion.size?Nalias:cs,completionSize;default:false;text-align:right;desc:size of completion?fielddata.memory_size?Qalias:fm,fielddataMemory;default:false;text-align:right;desc:used fielddata cache?fielddata.evictions?Salias:fe,fielddataEvictions;default:false;text-align:right;desc:fielddata evictions?query_cache.memory_sizeOalias:qcm,queryCacheMemory;default:false;text-align:right;desc:used query cachequery_cache.evictionsWalias:qce,queryCacheEvictions;default:false;text-align:right;desc:query cache evictionsflush.total	Ialias:ft,flushTotal;default:false;text-align:right;desc:number of flushesflush.total_time
Palias:ftt,flushTotalTime;default:false;text-align:right;desc:time spent in flushget.currentQalias:gc,getCurrent;default:false;text-align:right;desc:number of current get opsget.timeGalias:gti,getTime;default:false;text-align:right;desc:time spent in get	get.totalHalias:gto,getTotal;default:false;text-align:right;desc:number of get opsget.exists_timeZalias:geti,getExistsTime;default:false;text-align:right;desc:time spent in successful getsget.exists_total!Walias:geto,getExistsTotal;default:false;text-align:right;desc:number of successful gets#get.missing_time%Walias:gmti,getMissingTime;default:false;text-align:right;desc:time spent in failed gets'get.missing_total)Talias:gmto,getMissingTotal;default:false;text-align:right;desc:number of failed gets+indexing.delete_current-_alias:idc,indexingDeleteCurrent;default:false;text-align:right;desc:number of current deletions/indexing.delete_time1Yalias:idti,indexingDeleteTime;default:false;text-align:right;desc:time spent in deletions3indexing.delete_total5Walias:idto,indexingDeleteTotal;default:false;text-align:right;desc:number of delete ops7indexing.index_current9aalias:iic,indexingIndexCurrent;default:false;text-align:right;desc:number of current indexing ops;indexing.index_time=Walias:iiti,indexingIndexTime;default:false;text-align:right;desc:time spent in indexing?indexing.index_totalAXalias:iito,indexingIndexTotal;default:false;text-align:right;desc:number of indexing opsCindexing.index_failedE_alias:iif,indexingIndexFailed;default:false;text-align:right;desc:number of failed indexing opsGmerges.currentISalias:mc,mergesCurrent;default:false;text-align:right;desc:number of current mergesKmerges.current_docsM^alias:mcd,mergesCurrentDocs;default:false;text-align:right;desc:number of current merging docsOmerges.current_sizeQValias:mcs,mergesCurrentSize;default:false;text-align:right;desc:size of current mergesSmerges.totalUValias:mt,mergesTotal;default:false;text-align:right;desc:number of completed merge opsWmerges.total_docsYIalias:mtd,mergesTotalDocs;default:false;text-align:right;desc:docs merged[merges.total_size]Ialias:mts,mergesTotalSize;default:false;text-align:right;desc:size merged_merges.total_timeaRalias:mtt,mergesTotalTime;default:false;text-align:right;desc:time spent in mergesc
refresh.totaleJalias:rto,refreshTotal;default:false;text-align:right;desc:total refreshesgrefresh.timeiQalias:rti,refreshTime;default:false;text-align:right;desc:time spent in refresheskrefresh.listenersmbalias:rli,refreshListeners;default:false;text-align:right;desc:number of pending refresh listenersosearch.fetch_currentqXalias:sfc,searchFetchCurrent;default:false;text-align:right;desc:current fetch phase opsssearch.fetch_timeuXalias:sfti,searchFetchTime;default:false;text-align:right;desc:time spent in fetch phasewsearch.fetch_totalyOalias:sfto,searchFetchTotal;default:false;text-align:right;desc:total fetch ops{search.open_contexts}Talias:so,searchOpenContexts;default:false;text-align:right;desc:open search contextssearch.query_current?Xalias:sqc,searchQueryCurrent;default:false;text-align:right;desc:current query phase ops?search.query_time?Xalias:sqti,searchQueryTime;default:false;text-align:right;desc:time spent in query phase?search.query_total?Ualias:sqto,searchQueryTotal;default:false;text-align:right;desc:total query phase ops?search.scroll_current?Valias:scc,searchScrollCurrent;default:false;text-align:right;desc:open scroll contexts?search.scroll_time?^alias:scti,searchScrollTime;default:false;text-align:right;desc:time scroll contexts held open?search.scroll_total?Zalias:scto,searchScrollTotal;default:false;text-align:right;desc:completed scroll contexts?segments.count?Malias:sc,segmentsCount;default:false;text-align:right;desc:number of segments?segments.memory?Salias:sm,segmentsMemory;default:false;text-align:right;desc:memory used by segments?segments.index_writer_memory?dalias:siwm,segmentsIndexWriterMemory;default:false;text-align:right;desc:memory used by index writer?segments.version_map_memory?balias:svmm,segmentsVersionMapMemory;default:false;text-align:right;desc:memory used by version map?segments.fixed_bitset_memory??alias:sfbm,fixedBitsetMemory;default:false;text-align:right;desc:memory used by fixed bit sets for nested object field types and type filters for types referred in _parent fields?
seq_no.max?Jalias:sqm,maxSeqNo;default:false;text-align:right;desc:max sequence number?seq_no.local_checkpoint?Nalias:sql,localCheckpoint;default:false;text-align:right;desc:local checkpoint?seq_no.global_checkpoint?Palias:sqg,globalCheckpoint;default:false;text-align:right;desc:global checkpoint?warmer.current?Malias:wc,warmerCurrent;default:false;text-align:right;desc:current warmer ops?warmer.total?Jalias:wto,warmerTotal;default:false;text-align:right;desc:total warmer ops?warmer.total_time?Salias:wtt,warmerTotalTime;default:false;text-align:right;desc:time spent in warmers?
endHeaders??
??table"Lcom/groupbyinc/flux/common/Table;
buildTable?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;Lcom/groupbyinc/flux/action/admin/indices/stats/IndicesStatsResponse;)Lcom/groupbyinc/flux/common/Table;??
?Ccom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse?getState,()Lcom/groupbyinc/flux/cluster/ClusterState;??
??(com/groupbyinc/flux/cluster/ClusterState?4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;??
??0com/groupbyinc/flux/cluster/routing/RoutingTable?	allShards()Ljava/util/List;??
??java/util/List?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext?j??next()Ljava/lang/Object;????0com/groupbyinc/flux/cluster/routing/ShardRouting?Ccom/groupbyinc/flux/action/admin/indices/stats/IndicesStatsResponse?asMap()Ljava/util/Map;??
??
java/util/Map?get&(Ljava/lang/Object;)Ljava/lang/Object;????9com/groupbyinc/flux/action/admin/indices/stats/ShardStats?getStats>()Lcom/groupbyinc/flux/action/admin/indices/stats/CommonStats;??
?getCommitStats0()Lcom/groupbyinc/flux/index/engine/CommitStats;
?:com/groupbyinc/flux/action/admin/indices/stats/CommonStats,com/groupbyinc/flux/index/engine/CommitStatsstartRow
?
?getIndexName
D
?6(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/Table;?
?()I?
?java/lang/IntegervalueOf(I)Ljava/lang/Integer;
getMetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;
?#()Lcom/groupbyinc/flux/index/Index;W 
?!-com/groupbyinc/flux/cluster/metadata/MetaData#getIndexSafeW(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;%&
$'primary)j
?*p,2com/groupbyinc/flux/cluster/metadata/IndexMetaData.r09()Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;?2
?3getDocs-()Lcom/groupbyinc/flux/index/shard/DocsStats;56
7)com/groupbyinc/flux/index/shard/DocsStats9getCount()J;<
:=java/lang/Long?(J)Ljava/lang/Long;A
@BgetStore.()Lcom/groupbyinc/flux/index/store/StoreStats;DE
F*com/groupbyinc/flux/index/store/StoreStatsHgetSize1()Lcom/groupbyinc/flux/common/unit/ByteSizeValue;JK
ILjava/lang/ObjectNassignedToNodePj
?Q3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;?S
?T
currentNodeIdVD
?W/com/groupbyinc/flux/cluster/node/DiscoveryNodesYD(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;?[
Z\.com/groupbyinc/flux/cluster/node/DiscoveryNode^getHostAddress`D
_a
LfCD
_d
relocatingfj
?grelocatingNodeIdiD
?j -> l njava/lang/StringpgetUserDatar?
	sunassignedInfo6()Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;uv
?w	getReason=()Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$Reason;yz
{DATE_TIME_FORMATTER9Lcom/groupbyinc/flux/common/joda/FormatDateTimeFormatter;}~	7com/groupbyinc/flux/common/joda/FormatDateTimeFormatter?printerA()Lcom/groupbyinc/flux/common/joda/time/format/DateTimeFormatter;??
??getUnassignedTimeInMillis?<
?=com/groupbyinc/flux/common/joda/time/format/DateTimeFormatter?print(J)Ljava/lang/String;??
??java/lang/System?currentTimeMillis?<
??)com/groupbyinc/flux/common/unit/TimeValue?timeValueMillis.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;??
??
getDetails?D
?recoverySource6()Lcom/groupbyinc/flux/cluster/routing/RecoverySource;??
??getType;()Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type;??
?toString?D
?java/util/Locale?ROOTLjava/util/Locale;??	??toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;??
q?
getCompletionA()Lcom/groupbyinc/flux/search/suggest/completion/CompletionStats;??
?=com/groupbyinc/flux/search/suggest/completion/CompletionStats?
?LgetFieldData6()Lcom/groupbyinc/flux/index/fielddata/FieldDataStats;??
?2com/groupbyinc/flux/index/fielddata/FieldDataStats?
getMemorySize?K
??getEvictions?<
??
getQueryCache9()Lcom/groupbyinc/flux/index/cache/query/QueryCacheStats;??
?5com/groupbyinc/flux/index/cache/query/QueryCacheStats?
??
??getFlush.()Lcom/groupbyinc/flux/index/flush/FlushStats;??
?*com/groupbyinc/flux/index/flush/FlushStats?getTotal?<
??getTotalTime?w
??getGet*()Lcom/groupbyinc/flux/index/get/GetStats;??
?&com/groupbyinc/flux/index/get/GetStats?current?<
??getTime?w
??
?=
getExistsTime?w
??getExistsCount?<
??getMissingTime?w
??getMissingCount?<
??getIndexing1()Lcom/groupbyinc/flux/index/shard/IndexingStats;??
?7()Lcom/groupbyinc/flux/index/shard/IndexingStats$Stats;??
?getDeleteCurrent?<
?
getDeleteTime?w
?getDeleteCount<
getIndexCurrent<
getIndexTimew

getIndexCount	<

getIndexFailedCount<

getMerge.()Lcom/groupbyinc/flux/index/merge/MergeStats;
*com/groupbyinc/flux/index/merge/MergeStats
getCurrent<
getCurrentNumDocs<
getCurrentSizeK

?getTotalNumDocs<
 getTotalSize"K
#
?
getRefresh2()Lcom/groupbyinc/flux/index/refresh/RefreshStats;&'
(.com/groupbyinc/flux/index/refresh/RefreshStats*
+?
+?getListeners.
+/	getSearch6()Lcom/groupbyinc/flux/index/search/stats/SearchStats;12
3<()Lcom/groupbyinc/flux/index/search/stats/SearchStats$Stats;?5
$6getFetchCurrent8<
"9getFetchTime;w
"<
getFetchCount><
"?getOpenContextsA<
$BgetQueryCurrentD<
"EgetQueryTimeGw
"H
getQueryCountJ<
"KgetScrollCurrentM<
"N
getScrollTimePw
"QgetScrollCountS<
"TgetSegments2()Lcom/groupbyinc/flux/index/engine/SegmentsStats;VW
X.com/groupbyinc/flux/index/engine/SegmentsStatsZ
[=	getMemory]K
[^getIndexWriterMemory`K
[agetVersionMapMemorycK
[dgetBitsetMemoryfK
[g
getSeqNoStats.()Lcom/groupbyinc/flux/index/seqno/SeqNoStats;ij
?k*com/groupbyinc/flux/index/seqno/SeqNoStatsmgetMaxSeqNoo<
npgetLocalCheckpointr<
nsgetGlobalCheckpointu<
nv	getWarmer0()Lcom/groupbyinc/flux/index/warmer/WarmerStats;xy
z,com/groupbyinc/flux/index/warmer/WarmerStats|
}?total<
}?	totalTime?w
}?endRow??
??reloIpLjava/lang/String;reloNme
reloNodeIdnodeIdname
shardStats;Lcom/groupbyinc/flux/action/admin/indices/stats/ShardStats;commonStats?@AB?2345CD?-F??=>?9GH?K+J?PW+R?PW??=>ST?>?@UV??W+X?\?bN?dY?g:+i?l?p?sW+u?y?}??W????????-??W*,-+????4W=>W??W??
M??D???D
EF$G5HKI??????Y??M,??X????????Ķ??ȶ??̶??ж??Զ??ض??ܶ?W,???W,???W,???W,???W,???W,????W,????W,????W,???W,??W,??W,
??W,??W,??W,??W,??W, ??W,"$??W,&(??W,*,??W,.0??W,24??W,68??W,:@??W,BD??W,FH??W,JL??W,NP??W,RT??W,VX??W,Z\??W,^`??W,bd??W,fh??W,jl??W,np??W,rt??W,vx??W,z|??W,~???W,????W,????W,????W,????W,????W,????W,????W,????W,????W,????W,????W,????W,????W,????W,????W,????W,?Ķ?W,??W,?? ?=>???????G[\]^_%`,a3b:cAdHeLgUi^jgkplyn?p?r?s?u?v?x?y?{?|?}?~????"?-?8?C?N?Y?d?o?z?????????????????????????	???*?5?@?K?V?a?l?w??????????????????m?*+??:,?Ӷض޹?:????????:-??????:::	??:?:	?W??W???W,?Ӷ?"?(:
?+?-?W?1?W?4?W???8?>?C?W???G?M?W?R??,?ӶU?X?]?b:?X:?LY?c:

,?ӶU?X?]?e?PW?h?e,?ӶU?k?]?b:,?ӶU?k?]?e:?k:
m?PW
?PW
o?PW
?PW
o?PW
?PW?W?W
?W??W?W?W	??	?t޹??W?x?N?x?|?W?????x?????W???x??e???W?x???W??W?W?W?W??????????????W?
?W???????W?????¶W?????ŸC?W???ɶ̶W???ɶ͸C?W???ѶָC?W???ѶٶW???ݶ?C?W???ݶ?W???ݶ?C?W???ݶ?W???ݶ?C?W???ݶ?W???ݶ?C?W?????????C?W?????????W????????C?W????????C?W????????W????????C?W????????C?W?????C?W?????C?W?????W?????C?W????!?C?W????$?W????%?W???)?,?C?W???)?-?W???)?0??W???4?7?:?C?W???4?7?=?W???4?7?@?C?W???4?C?C?W???4?7?F?C?W???4?7?I?W???4?7?L?C?W???4?7?O?C?W???4?7?R?W???4?7?U?C?W???Y?\?C?W???Y?_?W???Y?b?W???Y?e?W???Y?h?W??l???l?q?C?W??l???l?t?C?W	??l???l?w?C?W???{?~?C?W???{???C?W???{???W??W??P???@N??T:??[3???????????T
>???A???D???	?A??
.????=>??????????????l??.?>?A?D?I?P?W?]?h?v?????????????????????$?,?@?T?[?d?l?u?}???????????????????????????,?3?:?A?H?P?j?q????????5Lf	}
?????9Sp?????#:Tk ?"?#?$?%?&'*(G)d*~+?-?.?/?0?1334U5w7?8?9?;?<?>?-}????>
??????	?C/U??
??????	/?@N????????	/?O??qqL?J????????	/?O?V!J????????	/?ON????????	/?ON??
??????	/?@N????????	/?ON??
??????	/?@N??
??????	/?@N????????	/?ON??
??????	/?@N????????	/?ON??
??????	/?@N????????	/?ON??
??????	/?@N????????	/?ON??
??????	/?@N??
??????	/?@N??
??????	/?ON??
??????	/?@N??
??????	/?@N??
??????	/?ON??
??????	/?@N??
??????	/?@N??
??????	/?@N??
??????	/?@N????????	/?ON??
??????	/?@N??
??????	/?@N????????	/?ON????????	/?ON??
??????	/?@N????????	/?ON??
??????	/?N??
??????	/?@N??
??????	/?ON??
??????	/?@N??
??????	/?@N??
??????	/?@N??
??????	/?ON??
??????	/?@N??
??????	/?@N??
??????	/?ON??
??????	/?@N??
??????	/?@N????????	/?ON????????	/?ON????????	/?ON????????	/?OR?C??
??????	/?@R?C??
??????	/?@R?C??
??????	/?@N??
??????	/?@N??
??????	/?@N????????	/?O???????z	+????,?Y*-+??????>=>???????????I?????P*+,-????*?>???????0???????B	@@@ 	"$ 	&()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy