You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Fay Wang <fa...@yahoo.com> on 2016/04/19 21:18:49 UTC
how to change knox topology config using configs.sh
Hi, I need to change knox topolgy config after the cluster is created. Instead of using Ambari UI, I want to call config.sh, but not sure what knox-topology-config-file should be (see below).
/var/lib/ambari-server/resources/scripts/configs.sh -u admin -p admin -port 8080 -s set localhost MyCluster <knox-topology-config-file> "main.ldapRealm.contextFactory.url" "$new_ldap_server:636"
Any help is highly appreciated!Fay
Re: how to change knox topology config using configs.sh
Posted by Loïc Chanel <lo...@telecomnancy.net>.
Hi Fay,
I think the topology you're looking for is the file located
in /etc/knox/<HDP_version>/0/topologies/default.xml .
It describes the Knox gateway configuration in XML format. Give it a look
eventually.
Regards,
Loïc
Loïc CHANEL
System & virtualization engineer
TO - XaaS Ind - Worldline (Villeurbanne, France)
2016-04-20 19:45 GMT+02:00 Amanda Moran <am...@esgyn.com>:
> Disregard... I quickly saw my error after sending!
>
> Sorry to not be of any help!
>
> On Wed, Apr 20, 2016 at 10:44 AM, Amanda Moran <am...@esgyn.com>
> wrote:
>
>> HI there-
>>
>> I use config.sh to change HBase setting and I don't need a config file to
>> do that.... maybe Knox is different?
>>
>> This is how I use it:
>>
>> "$AMBARI_DIR"'/configs.sh -u' "$ADMIN" '-p' "$PASSWORD" '-port' "$PORT"
>> 'set' "$AMBARI_HOST" "$CLUSTER_NAME" 'hbase-site
>> hbase.master.distributed.log.splitting false'
>>
>> Maybe this helps :)
>>
>> Thanks!
>>
>> Amanda
>>
>>
>> On Tue, Apr 19, 2016 at 12:18 PM, Fay Wang <fa...@yahoo.com> wrote:
>>
>>> Hi,
>>> I need to change knox topolgy config after the cluster is created.
>>> Instead of using Ambari UI, I want to call config.sh, but not sure what
>>> knox-topology-config-file should be (see below).
>>>
>>> /var/lib/ambari-server/resources/scripts/configs.sh -u admin -p admin
>>> -port 8080 -s set localhost MyCluster <knox-topology-config-file>
>>> "main.ldapRealm.contextFactory.url" "$new_ldap_server:636"
>>>
>>> Any help is highly appreciated!
>>> Fay
>>>
>>>
>>
>>
>> --
>> Thanks,
>>
>> Amanda Moran
>>
>
>
>
> --
> Thanks,
>
> Amanda Moran
>
Re: how to change knox topology config using configs.sh
Posted by Amanda Moran <am...@esgyn.com>.
Disregard... I quickly saw my error after sending!
Sorry to not be of any help!
On Wed, Apr 20, 2016 at 10:44 AM, Amanda Moran <am...@esgyn.com>
wrote:
> HI there-
>
> I use config.sh to change HBase setting and I don't need a config file to
> do that.... maybe Knox is different?
>
> This is how I use it:
>
> "$AMBARI_DIR"'/configs.sh -u' "$ADMIN" '-p' "$PASSWORD" '-port' "$PORT"
> 'set' "$AMBARI_HOST" "$CLUSTER_NAME" 'hbase-site
> hbase.master.distributed.log.splitting false'
>
> Maybe this helps :)
>
> Thanks!
>
> Amanda
>
>
> On Tue, Apr 19, 2016 at 12:18 PM, Fay Wang <fa...@yahoo.com> wrote:
>
>> Hi,
>> I need to change knox topolgy config after the cluster is created.
>> Instead of using Ambari UI, I want to call config.sh, but not sure what
>> knox-topology-config-file should be (see below).
>>
>> /var/lib/ambari-server/resources/scripts/configs.sh -u admin -p admin
>> -port 8080 -s set localhost MyCluster <knox-topology-config-file>
>> "main.ldapRealm.contextFactory.url" "$new_ldap_server:636"
>>
>> Any help is highly appreciated!
>> Fay
>>
>>
>
>
> --
> Thanks,
>
> Amanda Moran
>
--
Thanks,
Amanda Moran
Re: how to change knox topology config using configs.sh
Posted by Amanda Moran <am...@esgyn.com>.
HI there-
I use config.sh to change HBase setting and I don't need a config file to
do that.... maybe Knox is different?
This is how I use it:
"$AMBARI_DIR"'/configs.sh -u' "$ADMIN" '-p' "$PASSWORD" '-port' "$PORT"
'set' "$AMBARI_HOST" "$CLUSTER_NAME" 'hbase-site
hbase.master.distributed.log.splitting false'
Maybe this helps :)
Thanks!
Amanda
On Tue, Apr 19, 2016 at 12:18 PM, Fay Wang <fa...@yahoo.com> wrote:
> Hi,
> I need to change knox topolgy config after the cluster is created.
> Instead of using Ambari UI, I want to call config.sh, but not sure what
> knox-topology-config-file should be (see below).
>
> /var/lib/ambari-server/resources/scripts/configs.sh -u admin -p admin
> -port 8080 -s set localhost MyCluster <knox-topology-config-file>
> "main.ldapRealm.contextFactory.url" "$new_ldap_server:636"
>
> Any help is highly appreciated!
> Fay
>
>
--
Thanks,
Amanda Moran