HBASE-28091 Too long namespace/table/column name cause CreateTableProcedure stuck#5410
HBASE-28091 Too long namespace/table/column name cause CreateTableProcedure stuck#5410guluo2016 wants to merge 6 commits intoapache:masterfrom
Conversation
…mn family name or namespace name exceeds the specified value
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
| return false; | ||
| } | ||
|
|
||
| int dfsMaxComponentLength = |
There was a problem hiding this comment.
Is this check in DFSClient or in NameNode? If it is in NameNode, we can not make sure that we have the same configuration value with NameNode?
There was a problem hiding this comment.
sorry about that,i was thinking too simplistic,i will rewrite this code
|
I prefer we catch the exception and check whether this is a file name length limit and then fail the procedure with DoNotRetryIOException. Of course there may be a problem that when we try to create the file on namenode, we have already passed the SPOF so the procedure can not fail, if this is the case, I think we need to do some refactoring... |
Details see: HBASE-28091