EricJoy2048 commented on issue #6678:
URL: https://github.com/apache/seatunnel/issues/6678#issuecomment-2058186339

   > 我注意到这块代码其实是没问题的,通过执行buildwith方法会赋值shema为s3a,但是关键在于整个sink往下游传递给mutiltable 
sink时,会执行反序列化操作
   > 
   > > > `Sometimes hadoopConf's getSchema method returns s3n instead of s3a, 
resulting in the s3 connector actually being cached` Is this 
reproducible?#00000;是可复制的?
   > > 
   > > 
   > > Can you try use remote debug?你能尝试使用远程调试吗?
   > 
   > Yes, I discovered through remote debugging that s3n was actually being 
passed 
![image](https://private-user-images.githubusercontent.com/95527066/322695614-f0edc7a4-25a3-42d6-86ed-c06332b8fd86.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTMyMzk5MjMsIm5iZiI6MTcxMzIzOTYyMywicGF0aCI6Ii85NTUyNzA2Ni8zMjI2OTU2MTQtZjBlZGM3YTQtMjVhMy00MmQ2LTg2ZWQtYzA2MzMyYjhmZDg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDE2VDAzNTM0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIwMWE1MWI3YTVkMmE0ZTQxNGY5ODIyY2I3ZmE3MTkzMTk0OTQ3ZDIyODAxODIyMzlkZGJkYWNhYzlmZDU4NTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TtE9gCN9ND-N2d65OutPW5v1iLjo8arHHa4dOCZ9nvI)
   
   I understand now. It's really a matter of serialization and deserialization 
of `static variables`. I don't think we should define `static variables` for 
classes that need to be serialized and deserialized. Can you put up a pr to fix 
this?


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