You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by 刘禄 <li...@163.com> on 2015/01/21 11:28:21 UTC
Config the directory from ambari web
Hello.
Why ambari consider the directory "Can't start with home(s)"?
I want to set the directory to be like “/home/xxx/dir”, but ambari refuses.
I think directory can be any dir that user want.
--
liulu
Re: Config the directory from ambari web
Posted by 刘禄 <li...@163.com>.
I filed a bug:
https://issues.apache.org/jira/browse/AMBARI-9254
Please review.
--
liulu
At 2015-01-22 03:36:19, "Yusaku Sako" <yu...@hortonworks.com> wrote:
>Looks like this was introduced via
>https://issues.apache.org/jira/browse/AMBARI-4162.
>Ambari should not disallow directories like /home/... from being used
>in config properties if the user wishes.
>I think the intent was to not include /home as one of the mount points
>to be considered when making default recommendations for config
>properties related to directories.
>
>Liulu, do you want to go ahead and file a bug for that?
>
>Thanks,
>Yusaku
>
>On Wed, Jan 21, 2015 at 11:22 AM, jun aoki <ja...@apache.org> wrote:
>> Good point. It seems the check comes from here
>> https://github.com/apache/ambari/blob/trunk/ambari-web/app/models/service_config.js#L963
>>
>> Does anyone know why this restriction is taken place?
>>
>> On Wed, Jan 21, 2015 at 2:28 AM, 刘禄 <li...@163.com> wrote:
>>>
>>> Hello.
>>>
>>> Why ambari consider the directory "Can't start with home(s)"?
>>>
>>> I want to set the directory to be like “/home/xxx/dir”, but ambari
>>> refuses.
>>>
>>> I think directory can be any dir that user want.
>>>
>>>
>>> --
>>> liulu
>>>
>>>
>>
>>
>>
>> --
>> -jun
>
>--
>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.
Re: Config the directory from ambari web
Posted by Yusaku Sako <yu...@hortonworks.com>.
Looks like this was introduced via
https://issues.apache.org/jira/browse/AMBARI-4162.
Ambari should not disallow directories like /home/... from being used
in config properties if the user wishes.
I think the intent was to not include /home as one of the mount points
to be considered when making default recommendations for config
properties related to directories.
Liulu, do you want to go ahead and file a bug for that?
Thanks,
Yusaku
On Wed, Jan 21, 2015 at 11:22 AM, jun aoki <ja...@apache.org> wrote:
> Good point. It seems the check comes from here
> https://github.com/apache/ambari/blob/trunk/ambari-web/app/models/service_config.js#L963
>
> Does anyone know why this restriction is taken place?
>
> On Wed, Jan 21, 2015 at 2:28 AM, 刘禄 <li...@163.com> wrote:
>>
>> Hello.
>>
>> Why ambari consider the directory "Can't start with home(s)"?
>>
>> I want to set the directory to be like “/home/xxx/dir”, but ambari
>> refuses.
>>
>> I think directory can be any dir that user want.
>>
>>
>> --
>> liulu
>>
>>
>
>
>
> --
> -jun
--
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.
Re: Config the directory from ambari web
Posted by jun aoki <ja...@apache.org>.
Good point. It seems the check comes from here
https://github.com/apache/ambari/blob/trunk/ambari-web/app/models/service_config.js#L963
Does anyone know why this restriction is taken place?
On Wed, Jan 21, 2015 at 2:28 AM, 刘禄 <li...@163.com> wrote:
> Hello.
>
> Why ambari consider the directory "Can't start with home(s)"?
>
> I want to set the directory to be like “/home/xxx/dir”, but ambari refuses.
>
> I think directory can be any dir that user want.
>
> --
> liulu
>
>
>
--
-jun