alluxio icon indicating copy to clipboard operation
alluxio copied to clipboard

failed to load jar /opt/alluxio-2.9.3/lib/alluxio-underfs-hadoop-cosn-3.1.0-5.8.5-2.9.3.jar NoClassdDefFoundError :alluxio/underfs/hdfs/HdfsUnderFileSystemFactory

Open morpheusyu opened this issue 1 year ago • 9 comments

my presto is deployed in docker individually,alluxio is deployed in another docker container individually, alluxio can start well,when presto query hive table ,I can get the query result ,I try to turn on the short circuit read but failed becaues web ui indicater BytesReadLocalThroughput is always 0 no matter how i query,and the alluxio worker log report below error 51685944317_ pic_hd I think my failing turning on short circuit read maybe have something with above error ,can u give me some advice

morpheusyu avatar Jun 05 '23 06:06 morpheusyu

@maobaolong This error looks relevant to COSN, do you mind taking a look? Thanks!

jiacheliu3 avatar Jun 06 '23 13:06 jiacheliu3

@jiacheliu3 This is encountered by the following commit. pr-link: Alluxio/alluxio#17024

Remove HdfsUnderFileSystemFactory from service loading in COSN UFS jar Haoning Sun* 2023/3/9, 00:36

@Haoning-Sun Would you like to take a look?

maobaolong avatar Jun 06 '23 14:06 maobaolong

We recently discovered this issue as well, and we wanted to try modifying some code in HdfsUnderFileSystem. However, we didn't want to compile the entire Alluxio project, so we only compiled the HDFS UFS module to replace the ufs-hdfs.jar file and implement our changes. But we found that replacing the ufs-hdfs.jar file had no effect. In the end, we discovered that HdfsUnderFileSystem actually comes from the ufs-cosn.jar file, which left us confused.

humengyu2012 avatar Jul 07 '23 17:07 humengyu2012

We also encountered this problem (Using Tencent Cloud Object Storage as the backend, using the cosn protocol), is there any progress now? @maobaolong @humengyu2012 @morpheusyu ee59720d-10fe-46b3-9fc3-15d7accd3b33

menwenjun avatar Jan 14 '24 08:01 menwenjun

@menwenjun what‘s your alluxio version, it seems that the cosn protocol is not implemented in this version of alluxio. Cos also supports AWS s3 protocol, could you try it?

humengyu2012 avatar Jan 16 '24 06:01 humengyu2012

@menwenjun what‘s your alluxio version, it seems that the cosn protocol is not implemented in this version of alluxio. Cos also supports AWS s3 protocol, could you try it?

Thank you for your reply. I am using alluxio version 2.9.3. I will try to access cos with the s3 protocol.

menwenjun avatar Jan 16 '24 07:01 menwenjun

@menwenjun what‘s your alluxio version, it seems that the cosn protocol is not implemented in this version of alluxio. Cos also supports AWS s3 protocol, could you try it?

Thank you for your reply. I am using alluxio version 2.9.3. I will try to access cos with the s3 protocol.

We are using s3 protocol for BOS and KS3 in zhihu, it is very nice. 😄

humengyu2012 avatar Jan 16 '24 07:01 humengyu2012

@menwenjun what‘s your alluxio version, it seems that the cosn protocol is not implemented in this version of alluxio. Cos also supports AWS s3 protocol, could you try it?

Thank you for your reply. I am using alluxio version 2.9.3. I will try to access cos with the s3 protocol.

We are using s3 protocol for BOS and KS3 in zhihu, it is very nice. 😄

I tried to use s3 to access cos, but the master reported an error. image The properties configuration I used is as follows. image

menwenjun avatar Jan 16 '24 09:01 menwenjun

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 30 '24 15:06 github-actions[bot]