Hi, I am talking about REST APIs at this page :- https://samza.apache.org/learn/documentation/0.10/jobs/web-ui-rest-api.html
How can I execute following rest calls :- /metrics HahsMap that represents metrics for every 60 seconds. /task-context HashMap that provides information about task context including task name and task ID. /am HashMap that represents information about containers and status. /config HashMap that represents the config. On Sat, Mar 12, 2016 at 1:11 AM, Yi Pan <nickpa...@gmail.com> wrote: > Hi, Rohit, > > On Thu, Mar 10, 2016 at 9:53 PM, Rohit Bansal <bansalrohi...@gmail.com> > wrote: > > > 1) Is it possible to analyze the metrics (graphs of messages , disk space > > and other details for performance / status check) ? In Application master > > in YARN UI, it contains only config information and not much details. > Also, > > how can I execute rest calls ( /metrics and others) ? may be these rest > > calls can be of some help. > > > > Please clarify what do you mean by "execute rest calls" here. Are you > trying to send REST request from Samza containers to other services? Are > you asking whether there is any REST service hosted by Samza > containers/AppMaster? How is this REST calls related to metrics in your > context? If you are asking where to find the metrics, please read: > http://samza.apache.org/learn/documentation/0.10/container/metrics.html > > > > > > 2) Is it possible to look at rocksdb from outside the task or it can be > > accessed only from code of StreamTask implementation ? > > > > > Yes. It is possible. There is a read-rocksdb-tool.sh in samza package that > allows you to open the RocksDB state store externally in read-only mode. > Please read the doc here: > > http://samza.apache.org/learn/documentation/0.10/container/state-management.html > > > > > -- > > > > Regards > > > > Rohit Bansal > > > > +91-7838732062 > > > -- Regards Rohit Bansal +91-7838732062