You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Gordon Hamilton <op...@gmail.com> on 2014/05/08 11:20:11 UTC

Re: java64_home missing from global config

Hi Sumit,

Apologies for the late reply.  Thank you very much for this information.
 That's exactly what I was looking for.

I'll close the ticket I opened on jira and add the URL you've mentioned.

Kind regards,
Gordon


On Wed, Apr 30, 2014 at 1:36 AM, Sumit Mohanty <sm...@hortonworks.com>wrote:

> You can use
>
> http://AMBARI_SERVER_HOST:8080/api/v1/services/AMBARI/components/AMBARI_SERVER
> .
>
> This will provide you the ambari server config and some other server
> related metadata.
>
> thanks
> -Sumit
>
>
> On Tue, Apr 29, 2014 at 5:10 PM, Gordon Hamilton <open.gordy@gmail.com
> >wrote:
>
> > Hi Sumit,
> >
> > Thanks for your reply.
> >
> > I was attempting to discover the java home used by ambari across the
> > cluster, so that I could use the same path for additional third party
> > software.  I was getting the java64_home path in 1.4.x by issuing a curl
> > GET to
> > /api/v1/clusters/<clusterName>/configurations?type=global&tag=version1
> >
> > This no longer works for now however in 1.5.x.
> >
> > With what you have mentioned, can I get access to the to the
> > hostLevelParams through the REST API somehow?
> >
> > Thanks,
> > Gordon
> >
> >
> > On Tue, Apr 29, 2014 at 6:32 PM, Sumit Mohanty <smohanty@hortonworks.com
> > >wrote:
> >
> > > Hi Gordon,
> > >
> > > its read from the ambari-server config property file (property
> java.home)
> > > and is now automatically being passed in as a hostLevelParams when the
> > > commands are sent to the agent.
> > >
> > > E.g. some stack services access it as
> > > config['hostLevelParams']['java_home'].
> > >
> > > How was the property being used in your scenarios? Perhaps we can
> discuss
> > > how those scenarios can work with the current setup.
> > >
> > > thanks
> > > Sumit
> > >
> > >
> > >
> > > On Mon, Apr 28, 2014 at 11:31 AM, Gordon Hamilton <
> open.gordy@gmail.com
> > > >wrote:
> > >
> > > > Hey guys,
> > > >
> > > > I'm seeing that 'java64_home' property is missing from global
> > > configuration
> > > > in Ambari API in version 1.5.x.
> > > >
> > > > I've already raised a ticket for this, but realised that I didn't ask
> > on
> > > > the mailing list if the removal of this property was intentional?
> > > >
> > > > The ticket I've opened can be found here:
> > > > https://issues.apache.org/jira/browse/AMBARI-5533
> > > >
> > > > Many thanks,
> > > > Gordon
> > > >
> > >
> > > --
> > > 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.
> > >
> >
>
> --
> 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.
>