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

Matt commented on AMBARI-14620:
-------------------------------

Unit tests are not available for common.py. Therefore no additional unit tests 
were added.

Manual steps to test:
- Deployed a cluster
- Installed HDFS and HAWQ
- The following scenarios were tested:
  1. dfs.allow.truncate = True : Result: HAWQMASTER or HAWQSTANDBY should start 
with no WARNING or ERROR
  2. dfs.allow.truncate = False, enforce_hdfs_truncate = True  : Result: show 
an ERROR, HAWQMASTER or HAWQSTANDBY start should fail
  3. dfs.allow.truncate = False, enforce_hdfs_truncate = False : Result: show a 
WARNING, during HAWQMASTER or HAWQSTANDBY start



> HAWQ master components start should show ERROR or WARNING if 
> dfs.allow.truncate is set to false
> -----------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14620
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14620
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>            Reporter: Matt
>            Assignee: Matt
>            Priority: Minor
>             Fix For: trunk, 2.2.1
>
>         Attachments: AMBARI-14620-trunk-v1.patch, AMBARI-14620-trunk.patch
>
>
> dfs.allow.truncate should be set to true for optimal conditions for HAWQ.
> If dfs.allow.truncate is not set to true or does not exist as a 
> configuration, HAWQMASTER and HAWQSTANDBY start should throw a warning or 
> error.



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

Reply via email to