-
Notifications
You must be signed in to change notification settings - Fork 22
fix enable & disable syntax errors #224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: hbase_compat_3_2.0
Are you sure you want to change the base?
fix enable & disable syntax errors #224
Conversation
…_compat_3_2.0_enable_disable
…_compat_3_2.0_enable_disable
git rebase -i HEAD~6 |
ObTableMetaRequest request = new ObTableMetaRequest(); | ||
request.setMetaType(getMetaType()); | ||
Map<String, Object> requestData = new HashMap<>(); | ||
requestData.put("table_name", tableName); | ||
String jsonData = JSON.toJSONString(requestData); | ||
request.setData(jsonData); | ||
execute(tableClient, request); | ||
try{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
漏了空格
ObTableMetaRequest request = new ObTableMetaRequest(); | ||
request.setMetaType(getMetaType()); | ||
Map<String, Object> requestData = new HashMap<>(); | ||
requestData.put("table_name", tableName); | ||
String jsonData = JSON.toJSONString(requestData); | ||
request.setData(jsonData); | ||
execute(tableClient, request); | ||
try{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
漏了空格
ObTableException obEx = (ObTableException) cause; | ||
int errCode = obEx.getErrorCode(); | ||
if(ResultCodes.OB_KV_TABLE_NOT_DISABLED.errorCode == errCode) { | ||
throw new TableNotEnabledException("Table is not enabled: " + tableName + obEx); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
异常描述有误
f234813
to
da5089c
Compare
Summary
Solution Description