ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <yus...@hortonworks.com>
Subject Re: Capacity scheduler configuration using Ambari 1.6.1
Date Wed, 19 Nov 2014 18:49:17 GMT
Sounds like your dashboard preference information is corrupt.
Is this when you are logged in as the "admin" user?
If so, can you try the following call from the Ambari Server host? (modify
the admin credentials accordingly)

curl -i -u admin:admin -H 'X-Requested-By: ambari' -X POST -d
'{"user-pref-admin-dashboard":"{\"dashboardVersion\":\"new\",\"visible\":[\"2\",\"4\",\"17\",\"11\",\"12\",\"13\",\"14\",\"1\",\"5\",\"3\",\"15\",\"20\",\"19\",\"21\",\"23\",\"24\",\"25\",\"26\",\"27\",\"28\"],\"hidden\":[[\"22\",\"Region
In
Transition\"]],\"threshold\":{\"1\":[\"80\",\"90\"],\"2\":[85,95],\"3\":[90,95],\"4\":[80,90],\"5\":[1000,3000],\"6\":[70,90],\"7\":[90,95],\"8\":[50,75],\"9\":[30000,120000],\"10\":[],\"11\":[],\"12\":[],\"13\":[],\"14\":[],\"15\":[],\"16\":[],\"17\":[],\"18\":[],\"19\":[],\"20\":[70,90],\"21\":[10,19.2],\"22\":[3,10],\"23\":[],\"24\":[70,90],\"25\":[],\"26\":[50,75],\"27\":[50,75],\"28\":[85,95],\"29\":[85,95]}}"}'
http://localhost:8080/api/v1/persist
<http://localhost:8080/api/v1/persist/user-pref-admin-dashboard>

I hope this helps,

Yusaku



On Tue, Nov 18, 2014 at 8:07 AM, Artem Ervits <are9004@nyp.org> wrote:

>  Yusaku,
>
>
>
> I get the following error, if image doesn’t appear, the error is
> “TypeError: threshold[id] is undefined
>
>
>
> -----Original Message-----
> From: Yusaku Sako [mailto:yusaku@hortonworks.com]
> Sent: Saturday, November 15, 2014 7:52 PM
> To: user@ambari.apache.org
> Subject: Re: Capacity scheduler configuration using Ambari 1.6.1
>
>
>
> Hi Artem,
>
>
>
> > The other issue I have is my dashboard disappeared, basically the page
> is blank. Any hints on that?
>
>
>
> That's very strange.
>
> Can you open up the JavaScript console in the browser to see if you are
> hitting any errors?
>
>
>
> Yusaku
>
>
>
> On Thu, Nov 13, 2014 at 6:05 PM, Artem Ervits <are9004@nyp.org> wrote:
>
> > Hello all,
>
> >
>
> > I’m trying to configure capacity scheduler using 1.6.1 and I’m having
>
> > difficulties. The problem is that it requires to create a new
>
> > configuration group and after doing so, I enter my queues and it never
>
> > switches to the new config group. I check the RM UI and I don’t see
>
> > the queues there either, I do however see the new settings in the
>
> > capacity-scheduler.xml. I see that
>
> > 1.7.0 has refreshing queues as part of the release, is that just an
>
> > ability to refresh a queue through Ambari UI or a whole rebuild of the
>
> > functionality? I also saw in HDP2.2 tutorial that I no longer need to
>
> > create configuration group, would you suggest to wait for 1.7 or it is
>
> > absolutely doable in 1.6.1?
>
> >
>
> > The other issue I have is my dashboard disappeared, basically the page
>
> > is blank. Any hints on that?
>
> >
>
> > Thanks
>
> >
>
> > This electronic message is intended to be for the use only of the
>
> > named recipient, and may contain information that is confidential or
> privileged.
>
> > If you are not the intended recipient, you are hereby notified that
>
> > any disclosure, copying, distribution or use of the contents of this
>
> > message is strictly prohibited. If you have received this message in
>
> > error or are not the named recipient, please notify us immediately by
>
> > contacting the sender at the electronic mail address noted above, and
>
> > delete and destroy all copies of this message. Thank you.
>
>
>
> --
>
> CONFIDENTIALITY NOTICE
>
> NOTICE: This message is intended for the use of the individual or entity
> to which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>
> This electronic message is intended to be for the use only of the named
> recipient, and may contain information that is confidential or privileged.
> If you are not the intended recipient, you are hereby notified that any
> disclosure, copying, distribution or use of the contents of this message is
> strictly prohibited. If you have received this message in error or are not
> the named recipient, please notify us immediately by contacting the sender
> at the electronic mail address noted above, and delete and destroy all
> copies of this message. Thank you.
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Mime
View raw message