thangTang commented on PR #5003:
URL: https://github.com/apache/hbase/pull/5003#issuecomment-1416714802

   > Could you please explain how this patch could fix the problem described in 
the jira issue?
   
   Sure. You can see the error on my laptop before:`2023-01-31T19:05:14,453 
ERROR [hfile_cleaner-dir-scan-pool-0] mob.ManualMobMaintHFileCleaner(87): 
Failed to determine mob status of 
'hdfs://localhost:59285/user/tianhang.tang/test-data/01a0d8a0-6306-7725-b63a-5debcab8cf57/archive/someHFileThatWouldBeAUUID.1675163114186',
 keeping it just in case.
   java.lang.IllegalArgumentException: Illegal character <.> at 8. Namespaces 
may only contain 'alphanumeric characters' from any language and digits: 
tianhang.tang`
   That's because the test path is: 
/user/tianhang.tang/test-data/01a0d8a0-6306-7725-b63a-5debcab8cf57
   And the MOCKED path before is just: 
[archive](https://github.com/apache/hbase/blob/e45c59c71b86163dba85bcf76682f0f2f80f6fc9/hbase-server/src/test/java/org/apache/hadoop/hbase/master/cleaner/TestHFileCleaner.java#L162)
 
   
   The logic in 
[ManualMobMaintHFileCleaner](https://github.com/apache/hbase/blob/e45c59c71b86163dba85bcf76682f0f2f80f6fc9/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/ManualMobMaintHFileCleaner.java#L60)
 get table/region from the path, so got this error with my root path 
"user/tianhang.tang".


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to