taklwu edited a comment on pull request #2869:
URL: https://github.com/apache/hbase/pull/2869#issuecomment-757374905


   I found those failed unit tests could be run individially but not running 
together with a common error of `InconsistentFSStateException`
   
   ```
   org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory 
/private/tmp/hadoop/dfs/name is in an inconsistent state: namespaceID is 
incompatible with others
   ```
   
   detail message
   
   ```
   [INFO] Running 
org.apache.hadoop.hbase.quotas.TestSpaceQuotaOnNonExistingTables
   [INFO] Running 
org.apache.hadoop.hbase.client.TestMultiActionMetricsFromClient
   [INFO] Running 
org.apache.hadoop.hbase.security.access.TestUnloadAccessController
   [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
5.428 s <<< FAILURE! - in 
org.apache.hadoop.hbase.quotas.TestSpaceQuotaOnNonExistingTables
   [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
5.409 s <<< FAILURE! - in 
org.apache.hadoop.hbase.client.TestMultiActionMetricsFromClient
   [ERROR] org.apache.hadoop.hbase.quotas.TestSpaceQuotaOnNonExistingTables  
Time elapsed: 5.385 s  <<< ERROR!
   org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory 
/private/tmp/hadoop/dfs/name is in an inconsistent state: namespaceID is 
incompatible with others.
        at 
org.apache.hadoop.hbase.quotas.TestSpaceQuotaOnNonExistingTables.setUp(TestSpaceQuotaOnNonExistingTables.java:53)
   
   [ERROR] org.apache.hadoop.hbase.client.TestMultiActionMetricsFromClient  
Time elapsed: 5.384 s  <<< ERROR!
   org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory 
/private/tmp/hadoop/dfs/name is in an inconsistent state: namespaceID is 
incompatible with others.
        at 
org.apache.hadoop.hbase.client.TestMultiActionMetricsFromClient.setUpBeforeClass(TestMultiActionMetricsFromClient.java:50)
   
   [INFO] Running org.apache.hadoop.hbase.client.TestAsyncAccessControlAdminApi
   [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
17.414 s - in org.apache.hadoop.hbase.security.access.TestUnloadAccessController
   [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
16.126 s <<< FAILURE! - in 
org.apache.hadoop.hbase.client.TestAsyncAccessControlAdminApi
   [ERROR] org.apache.hadoop.hbase.client.TestAsyncAccessControlAdminApi  Time 
elapsed: 2.347 s  <<< ERROR!
   org.apache.hadoop.util.ExitUtil$ExitException: Error: finalize log segment 
1, 195 failed for required journal 
(JournalAndStream(mgr=FileJournalManager(root=/tmp/hadoop/dfs/name), 
stream=null))
   
   
   ```
   
   (updated) IMO this is unrelated to this change, i tried to remove this 
commit and ran mvn locally test on ` 
-Dtest=TestAsyncAccessControlAdminApi,TestMultiActionMetricsFromClient,TestSpaceQuotaOnNonExistingTables,TestUnloadAccessController`
 and they all failed with the same errors. 
   
   so what is the standard on making the unit tests in branch-2 ?  do you guys 
have any idea whether I should just ignore these failures? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to