ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19415) Network interface check returns no value if there is no `ifconfig` command
Date Mon, 09 Jan 2017 16:07:58 GMT

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

Hadoop QA commented on AMBARI-19415:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12846316/AMBARI-19415.0.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:green}+1 core tests{color}.  The patch passed unit tests in ambari-agent.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/9963//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/9963//console

This message is automatically generated.

> Network interface check returns no value if there is no `ifconfig` command
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-19415
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19415
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: trunk, 2.5.0
>         Environment: CentOS7.3 Minimal Install
>            Reporter: Masahiro Tanaka
>            Assignee: Masahiro Tanaka
>         Attachments: AMBARI-19415.0.patch
>
>
> Ambari Agent Hardware check assumes there is {{ifconfig}} command in Linux, but some
environments (e.g. CentOS 7.3 with minimal install) doens't have {{ifconfig}} command, but
{{ip}} command. 
> A warning like below (which is in ambari-agent.log) is because of the assumption.
> {code}
> WARNING 2017-01-08 14:53:48,021 Facter.py:487 - Can't get a network interfaces list from
> {code}
> It would be better to check the NIC with {{ifconfig}} and {{ip}} both for  better coverage.



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

Mime
View raw message