[
https://issues.apache.org/jira/browse/BIGTOP-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240552#comment-13240552
]
Roman Shaposhnik commented on BIGTOP-489:
-----------------------------------------
David, thanks for the patch. It looks good. That said, I still have one
question for you before we can commit it: am I correct in my understanding that
if you try running the same HDFS command manually you're seeing the following
message on your terminal:
{noformat}
12/03/23 23:47:53 INFO authorize.ServiceAuthorizationManager: Authorization
successfull for ubuntu for protocol=interface
org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol
{noformat}
If that's the case it would be prudent to figure out whether we need to fix our
log4j settings to NOT see this spurious INFO printed out.
Can you, please, take a look?
> TestCLI with two test cases fails ID - 146 and 147 related to
> refreshServiceAcl
> -------------------------------------------------------------------------------
>
> Key: BIGTOP-489
> URL: https://issues.apache.org/jira/browse/BIGTOP-489
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.3.0
> Reporter: David Liu
> Assignee: David Liu
> Fix For: 0.3.0
>
> Attachments: BIGTOP-489.patch.txt
>
>
> 12/03/23 23:47:57 INFO cli.TestCLI: Detailed results:
> 12/03/23 23:47:57 INFO cli.TestCLI: ----------------------------------
> 12/03/23 23:47:57 INFO cli.TestCLI:
> -------------------------------------------
> 12/03/23 23:47:57 INFO cli.TestCLI: Test ID: [146]
> 12/03/23 23:47:57 INFO cli.TestCLI: Test Description:
> [refreshServiceAcl: refreshing security authorization policy for namenode]
> 12/03/23 23:47:57 INFO cli.TestCLI:
> 12/03/23 23:47:57 INFO cli.TestCLI: Test Commands: [-fs
> hdfs://localhost:58873 -refreshServiceAcl ]
> 12/03/23 23:47:57 INFO cli.TestCLI:
> 12/03/23 23:47:57 INFO cli.TestCLI:
> 12/03/23 23:47:57 INFO cli.TestCLI: Comparator:
> [ExactComparator]
> 12/03/23 23:47:57 INFO cli.TestCLI: Comparision result: [fail]
> 12/03/23 23:47:57 INFO cli.TestCLI: Expected output: []
> 12/03/23 23:47:57 INFO cli.TestCLI: Actual output: [12/03/23
> 23:47:53 INFO authorize.ServiceAuthorizationManager: Authorization
> successfull for ubuntu for protocol=interface
> org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol
> ]
> 12/03/23 23:47:57 INFO cli.TestCLI:
> 12/03/23 23:47:57 INFO cli.TestCLI:
> -------------------------------------------
> 12/03/23 23:47:57 INFO cli.TestCLI: Test ID: [147]
> 12/03/23 23:47:57 INFO cli.TestCLI: Test Description:
> [refreshServiceAcl: refreshing security authorization policy for jobtracker]
> 12/03/23 23:47:57 INFO cli.TestCLI:
> 12/03/23 23:47:57 INFO cli.TestCLI: Test Commands: [-jt
> localhost:44180 -refreshServiceAcl ]
> 12/03/23 23:47:57 INFO cli.TestCLI:
> 12/03/23 23:47:57 INFO cli.TestCLI:
> 12/03/23 23:47:57 INFO cli.TestCLI: Comparator:
> [ExactComparator]
> 12/03/23 23:47:57 INFO cli.TestCLI: Comparision result: [fail]
> 12/03/23 23:47:57 INFO cli.TestCLI: Expected output: []
> 12/03/23 23:47:57 INFO cli.TestCLI: Actual output: [12/03/23
> 23:47:53 INFO authorize.ServiceAuthorizationManager: Authorization
> successfull for ubuntu for protocol=interface
> org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol
> ]
> 12/03/23 23:47:57 INFO cli.TestCLI:
> 12/03/23 23:47:57 INFO cli.TestCLI: Summary results:
> 12/03/23 23:47:57 INFO cli.TestCLI: ----------------------------------
> 12/03/23 23:47:57 INFO cli.TestCLI: Testing mode: test
> 12/03/23 23:47:57 INFO cli.TestCLI:
> 12/03/23 23:47:57 INFO cli.TestCLI: Overall result: --- FAIL ---
> 12/03/23 23:47:57 INFO cli.TestCLI: # Tests pass: 152 (98%)
> 12/03/23 23:47:57 INFO cli.TestCLI: # Tests fail: 2 (1%)
> 12/03/23 23:47:57 INFO cli.TestCLI: # Validations done: 298 (each
> test may do multiple validations)
> 12/03/23 23:47:57 INFO cli.TestCLI:
> 12/03/23 23:47:57 INFO cli.TestCLI: Failing tests:
> 12/03/23 23:47:57 INFO cli.TestCLI: --------------
> 12/03/23 23:47:57 INFO cli.TestCLI: 146: refreshServiceAcl: refreshing
> security authorization policy for namenode
> 12/03/23 23:47:57 INFO cli.TestCLI: 147: refreshServiceAcl: refreshing
> security authorization policy for jobtracker
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira