You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/04/29 19:27:07 UTC
[jira] [Commented] (AMBARI-10841) If /selinux/enforce file exists
with value 0 cluster deployment fails
[ https://issues.apache.org/jira/browse/AMBARI-10841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519774#comment-14519774 ]
Hadoop QA commented on AMBARI-10841:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12729221/AMBARI-10841.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:red}-1 core tests{color}. The test build failed in ambari-server
Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/2571//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/2571//console
This message is automatically generated.
> If /selinux/enforce file exists with value 0 cluster deployment fails
> ---------------------------------------------------------------------
>
> Key: AMBARI-10841
> URL: https://issues.apache.org/jira/browse/AMBARI-10841
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Vitaly Brodetskyi
> Assignee: Vitaly Brodetskyi
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: AMBARI-10841.patch
>
>
> If file {{/selinux/enforce}} exists with value 0, then service starts fail with the error:
> {noformat}
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 214, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", line 32, in hook
> setup_hadoop()
> File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py", line 32, in setup_hadoop
> sudo=True,
> File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
> self.env.run()
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
> self.run_action(resource, action)
> File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
> provider_action()
> File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 274, in action_run
> raise ex
> Fail: Execution of 'setenforce 0' returned 1. setenforce: SELinux is disabled
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)