业余布道师

Results 32 comments of 业余布道师

@luckyboyhu 如果可以,请升级springframework到3.2+

This testcase for _RegionsMerger_ run failed: [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.hbase.TestRegionsMerger [ERROR] Tests run: 9, Failures: 0, Errors: 6, Skipped: 0, Time...

@wchevreuil There is no `HbckService` in versions of hbase _before 2.0.3 and 2.1.1_. HBCK2 will not work against these versions. If users use Hbase 2.1.0 version, you can use this...

> > There is no `HbckService` in versions of hbase _before 2.0.3 and 2.1.1_. HBCK2 will not work against these versions. If users use Hbase 2.1.0 version, you can use...

> > > > There is no `HbckService` in versions of hbase _before 2.0.3 and 2.1.1_. HBCK2 will not work against these versions. If users use Hbase 2.1.0 version, you...

@busbey What do you think of megre the _Meta Repair Tool_ into `hbase-tools` module ?

@uhleon 使用`GenericFastJsonRedisSerializer`试试 see https://github.com/alibaba/fastjson2/blob/main/docs/spring_support_cn.md#41-generic-redis-serializer

@uhleon 检查一下是否开启了safeMode see https://github.com/alibaba/fastjson2/blob/main/docs/autotype_cn.md 或者可以尝试配置一下自定义的白名单 ```java GenericFastJsonRedisSerializer serializer = new GenericFastJsonRedisSerializer( new String[] { // 这里可以配置多个前缀白名单 "org.springframework.security.oauth2.server.authorization.OAuth2Authorization" } ); ```

@uhleon 可以提供一下详细的异常堆栈信息吗 ----------- 做了一下testcase 问题出现在`UsernamePasswordAuthenticationToken` 无法基于`setAuthenticated`方法反序列化 ![image](https://user-images.githubusercontent.com/9109915/184320550-8dfc6a95-844b-4a6d-9987-53e08966e3fb.png) 该场景可以基于Field进行反序列化 增加如下配置试试: ``` JSONWriter.Feature.FieldBased JSONReader.Feature.FieldBased ```

@uhleon 如果在不使用AutoType的时候,反序列时类型输入Object的话,可能返回JSONObject / JSONArray,可以试试这样: ```java FastJsonRedisSerializer fastJsonRedisSerializer = new FastJsonRedisSerializer(SystemRolePo.class); ```