[ 
https://issues.apache.org/jira/browse/AMBARI-15657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15252792#comment-15252792
 ] 

Lav Jain commented on AMBARI-15657:
-----------------------------------

Hi [~aantonenko], Thanks a lot for letting us know.

The rationale was that if some configuration change results in an ERROR, the 
user should not be allowed to proceed. Otherwise, the validation should trigger 
a WARN (instead of ERROR). Currently, there is no distinction between the two.


> HAWQ config should not allow multiple Master/Segment directories
> ----------------------------------------------------------------
>
>                 Key: AMBARI-15657
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15657
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server
>    Affects Versions: trunk, 2.2.0
>            Reporter: Lav Jain
>            Assignee: Lav Jain
>            Priority: Minor
>         Attachments: AMBARI-15657.branch22.patch, AMBARI-15657.patch, 
> screenshot.png
>
>
> User can add multiple space delimited directories, but after installation, it 
> shows a comma in between. however, only first directory goes into effect, 
> that too with a comma in the end.
> {code}
> [pivotal@ip-10-32-36-213 etc]$ cat hawq-site.xml
>     <property>
>       <name>hawq_master_directory</name>
>       <value>/data/hawq/master,/data/hawq/master2</value>
>     </property>
>     <property>
>       <name>hawq_segment_directory</name>
>       <value>/data/hawq/segment,/data/hawq/segment2</value>
>     </property>
> [pivotal@ip-10-32-36-213 etc]$ ls -l /data/hawq
> drwxr-xr-x 3 root root 4096 Mar 12 01:00 master,
> drwxr-xr-x 3 root root 4096 Mar 12 01:00 segment,
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to