[
https://issues.apache.org/jira/browse/AMBARI-5194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955325#comment-13955325
]
Scott Creeley commented on AMBARI-5194:
---------------------------------------
Hi Mahadev,
It looks like a unit test already exists for HostInfo, but not sure I ran it
correctly, here is what I did...I ran the following:
mvn clean test
and piped the results out, and found this line:
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.801 sec
Running org.apache.ambari.server.agent.AgentHostInfoTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.249 sec
Running org.apache.ambari.server.agent.TestHeartbeatMonitor
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.257 sec
Running org.apache.ambari.server.agent.TestActionQueue
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.319 sec
Running org.apache.ambari.server.agent.TestHeartbeatHandler
if this is not what you wanted or there is another preferred way to run unit
tests for this let me know...thanks.
> Improve User Experience during install - iptables warning
> ---------------------------------------------------------
>
> Key: AMBARI-5194
> URL: https://issues.apache.org/jira/browse/AMBARI-5194
> Project: Ambari
> Issue Type: Improvement
> Components: agent
> Affects Versions: 1.4.4
> Environment: all
> Reporter: Scott Creeley
> Assignee: Scott Creeley
> Labels: Ambari, HostCheck
> Fix For: 1.6.0
>
> Attachments: AMBARI-5194.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> improve the HostInfo.py (Host Check) during the ambari installer process,
> particularly for step 3 of the process where the nodes are registered and
> confirmed. In particular this JIRA will address the erroneous iptables check
> that currently always returns a value of 0 which indicates in the script that
> iptables is running and active, even when the iptables have actually been
> flushed. This results in an erroneous warning message.
--
This message was sent by Atlassian JIRA
(v6.2#6252)