You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Bryan Bende <bb...@gmail.com> on 2015/08/03 19:02:47 UTC
Summary Panel
On the Summary Tab for a service, there are panels for Summary and
Metrics... the Metrics panel is defined by widgets.json, but what defines
the Summary panel?
Some services like HDFS have more information in there, and I was wondering
what controls that.
Thanks,
Bryan
Re: where are scripts stored?
Posted by Jeff Sposetti <je...@hortonworks.com>.
Hi, are you referring to the Pig View and the pig Scripts? The scripts will be stored at the HDFS directory specified as part of your view configuration. I believe it defaults to "/user/${username}/pig/scripts" where ${username} will be replaced by the current user context accessing the view.
FWIW, you can checkout the Pig view code here:
https://github.com/apache/ambari/tree/trunk/contrib/views/pig
And some additional View info in the Ambari Views guide:
http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_views_guide/content/ch_using_pig_view.html
From: Adaryl Wakefield <ad...@hotmail.com>>
Reply-To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Date: Monday, August 3, 2015 at 10:32 PM
To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Subject: where are scripts stored?
I'm working through some Pig tutorials and I tried to use Ambari to write the scripts. Thing is, when I saved the script, I couldn't find where on disk it was actually stored. Because of that I had no idea how to give it the path to the file I was trying to process. In what directory are scripts stored when created with Ambari?
B.
where are scripts stored?
Posted by Adaryl Wakefield <ad...@hotmail.com>.
I'm working through some Pig tutorials and I tried to use Ambari to write the scripts. Thing is, when I saved the script, I couldn't find where on disk it was actually stored. Because of that I had no idea how to give it the path to the file I was trying to process. In what directory are scripts stored when created with Ambari?
B.
Re: Summary Panel
Posted by Bryan Bende <bb...@gmail.com>.
Thanks Jaimin, that is what I was looking for.
-Bryan
On Mon, Aug 3, 2015 at 1:23 PM, Jaimin Jetly <ja...@hortonworks.com> wrote:
> Hi Bryan,
>
> Primary information (status and link of service host components) for a
> service comes by default on summary panel.
>
> Anything more customized and specific to a service needs to be coded in
> the ambari-web.
>
>
> Following is the pointer on ui code for HDFS summary:
>
> HDFS summary template: link
> <https://github.com/apache/ambari/blob/trunk/ambari-web/app/templates/main/service/services/hdfs.hbs>
>
> HDFS summary view: link
> <https://github.com/apache/ambari/blob/trunk/ambari-web/app/views/main/service/services/hdfs.js>
>
>
>
> -- Thanks
>
> Jaimin
>
>
> ------------------------------
> *From:* Bryan Bende <bb...@gmail.com>
> *Sent:* Monday, August 03, 2015 10:02 AM
> *To:* user@ambari.apache.org
> *Subject:* Summary Panel
>
> On the Summary Tab for a service, there are panels for Summary and
> Metrics... the Metrics panel is defined by widgets.json, but what defines
> the Summary panel?
>
> Some services like HDFS have more information in there, and I was
> wondering what controls that.
>
> Thanks,
>
> Bryan
>
Re: Summary Panel
Posted by Jaimin Jetly <ja...@hortonworks.com>.
Hi Bryan,
Primary information (status and link of service host components) for a service comes by default on summary panel.
Anything more customized and specific to a service needs to be coded in the ambari-web.
Following is the pointer on ui code for HDFS summary:
HDFS summary template: link<https://github.com/apache/ambari/blob/trunk/ambari-web/app/templates/main/service/services/hdfs.hbs>
HDFS summary view: link<https://github.com/apache/ambari/blob/trunk/ambari-web/app/views/main/service/services/hdfs.js>
-- Thanks
Jaimin
________________________________
From: Bryan Bende <bb...@gmail.com>
Sent: Monday, August 03, 2015 10:02 AM
To: user@ambari.apache.org
Subject: Summary Panel
On the Summary Tab for a service, there are panels for Summary and Metrics... the Metrics panel is defined by widgets.json, but what defines the Summary panel?
Some services like HDFS have more information in there, and I was wondering what controls that.
Thanks,
Bryan