<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Knox topology with alias for password not working in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106236#M69114</link>
    <description>&lt;P&gt;Zac is correct. The topologies have always been considered to be cluster definitions thus the cluster name is the topology name. Unfortunately, this sometimes gets confused when folks are using Ambari where you name you cluster as well. They are different things.&lt;/P&gt;</description>
    <pubDate>Sun, 03 Jul 2016 21:48:53 GMT</pubDate>
    <dc:creator>lmccay</dc:creator>
    <dc:date>2016-07-03T21:48:53Z</dc:date>
    <item>
      <title>Knox topology with alias for password not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106233#M69111</link>
      <description>&lt;P&gt;
	I have followed &lt;A href="http://ec2-52-89-10-2.us-west-2.compute.amazonaws.com/questions/2204/does-knox-allow-ldap-password-to-be-stored-outside.html"&gt;link &lt;/A&gt; to create alias to store password. First I used plain-text in the topology for password it was working.However when I replaced the password with alias, I am running into 401 error.&lt;/P&gt;&lt;P&gt;Am I missing anything?&lt;/P&gt;&lt;P&gt;attached my topology xml.&lt;/P&gt;&lt;P&gt;./knoxcli.sh create-alias ldcSystemPassword --cluster MyCluster --value Password@123&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 19:06:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106233#M69111</guid>
      <dc:creator>antonyshajin</dc:creator>
      <dc:date>2016-06-30T19:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Knox topology with alias for password not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106234#M69112</link>
      <description>&lt;P&gt;I'm not sure if this will solve your problem, but let's take a look at the command here:&lt;/P&gt;&lt;PRE&gt;./knoxcli.sh create-alias ldcSystemPassword --cluster MyCluster --value Password@123&lt;/PRE&gt;&lt;P&gt;If we refer to the Knox User Guide (https://knox.apache.org/books/knox-0-9-0/user-guide.html#Special+note+on+parameter+main.ldapRealm.contextFactory.systemPassword) subsection on using ALIAS for the password you see the wording:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Assuming the plain text password is “hadoop”, and your &lt;STRONG&gt;topology file name is “hdp.xml”&lt;/STRONG&gt;, you would use following command to create the right password alias in credential store.&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;./knoxcli.sh  create-alias ldcSystemPassword --cluster hdp --value hadoop&lt;/PRE&gt;&lt;P&gt;It looks as if you need to specifically name the cluster the same as the topology file name. It appears the file you've attached was 'default.xml' so instead you might want to try:&lt;/P&gt;&lt;PRE&gt;./knoxcli.sh create-alias ldcSystemPassword --cluster default --value Password@123&lt;/PRE&gt;&lt;P&gt;On the other hand you could also try renaming the file to "MyCluster" as well.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 05:59:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106234#M69112</guid>
      <dc:creator>zblanco</dc:creator>
      <dc:date>2016-07-01T05:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Knox topology with alias for password not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106235#M69113</link>
      <description>&lt;P&gt;Thanks zblanco.&lt;/P&gt;&lt;P&gt;I executed ./knoxcli.sh create-alias ldcSystemPassword --cluster default--value Password@123&lt;/P&gt;&lt;P&gt;and restarted Knox. It is working&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 12:01:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106235#M69113</guid>
      <dc:creator>antonyshajin</dc:creator>
      <dc:date>2016-07-01T12:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Knox topology with alias for password not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106236#M69114</link>
      <description>&lt;P&gt;Zac is correct. The topologies have always been considered to be cluster definitions thus the cluster name is the topology name. Unfortunately, this sometimes gets confused when folks are using Ambari where you name you cluster as well. They are different things.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2016 21:48:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106236#M69114</guid>
      <dc:creator>lmccay</dc:creator>
      <dc:date>2016-07-03T21:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Knox topology with alias for password not working</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106237#M69115</link>
      <description>&lt;P&gt;I've noticed the following&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;PRE&gt;&amp;lt;param&amp;gt;
	&amp;lt;name&amp;gt;main.ldapRealm.contextFactory.systemPassword&amp;lt;/name&amp;gt;
	&amp;lt;value&amp;gt;${ALIAS=ldcSystemPassword}&amp;lt;/value&amp;gt;
&amp;lt;/param&amp;gt;
&lt;/PRE&gt;&lt;P&gt;This does not:&lt;/P&gt;&lt;PRE&gt;&amp;lt;param name="main.ldapRealm.contextFactory.systemPassword" value=${ALIAS=ldcSystemPassword}/&amp;gt;
&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Mar 2017 04:00:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Knox-topology-with-alias-for-password-not-working/m-p/106237#M69115</guid>
      <dc:creator>Jon_Morisi</dc:creator>
      <dc:date>2017-03-10T04:00:01Z</dc:date>
    </item>
  </channel>
</rss>

