You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Zhang Ruiqiang <zh...@163.com> on 2016/01/04 06:57:53 UTC

Why "require-input" paramater in xxx-site.xml does not work?

Hi All:
      My Ambari version is 2.1.2. I add a custom service called xxx.  In xxx-site.xml, under the <configuration /> tag, I added a <property /> tag and set its atrribute " require-input" as "false". The complete configuration  looks like: 
      <property require-input="false">
          <name>test.name</name>
          <value></value>
      </property>
      Then I add the xxx service on the web, at the custom service step, there is a warning that the value of "test.name" is required and I have to enter a value to go on the next step. 
      Does anyone encounter the similar problem? And what is the correct usage of "require-input" attribute?


Thanks!

Re: Why "require-input" paramater in xxx-site.xml does not work?

Posted by Nathan Falk <nf...@us.ibm.com>.
Zhang,

I do not have an answer to this, but I have also asked this question.

I opened JIRA AMBARI-13903 to track the issue. There has not been much
activity.

Regards,

Nate Falk
nfalk@us.ibm.com



From:	"Zhang Ruiqiang" <zh...@163.com>
To:	"user@ambari.apache.org" <us...@ambari.apache.org>, 010510934
            <01...@163.com>
Date:	01/04/2016 12:58 AM
Subject:	Why "require-input" paramater in xxx-site.xml does not work?



Hi All:
      My Ambari version is 2.1.2. I add a custom service called xxx.  In
xxx-site.xml, under the <configuration /> tag, I added a <property /> tag
and set its atrribute " require-input" as "false". The complete
configuration  looks like:
      <property require-input="false">
          <name>test.name</name>
          <value></value>
      </property>
      Then I add the xxx service on the web, at the custom service step,
there is a warning that the value of "test.name" is required and I have to
enter a value to go on the next step.
      Does anyone encounter the similar problem? And what is the correct
usage of "require-input" attribute?

Thanks!