Mrhs121 commented on issue #17488:
URL: 
https://github.com/apache/dolphinscheduler/issues/17488#issuecomment-3269272953

   **The following another NoClassDefFoundError also needs attention. The root 
cause is the missing dependency "org.apache.hbase.thirdparty:hbase-noop-htrace" 
when starting the worker.**
   
   `java.lang.NoClassDefFoundError: org/apache/htrace/core/Tracer$Builder at 
org.apache.hadoop.fs.FsTracer.get(FsTracer.java:42) at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3370) at 
org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:125) at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3424) at 
org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3392) at 
org.apache.hadoop.fs.FileSystem.get(FileSystem.java:485) at 
org.apache.hadoop.fs.FileSystem.get(FileSystem.java:233) at 
org.apache.dolphinscheduler.plugin.storage.hdfs.HdfsStorageOperator.init(HdfsStorageOperator.java:136)
 at 
org.apache.dolphinscheduler.plugin.storage.hdfs.HdfsStorageOperator.<init>(HdfsStorageOperator.java:75)
 at 
org.apache.dolphinscheduler.plugin.storage.hdfs.LocalStorageOperator.<init>(LocalStorageOperator.java:26)
 `
   
   In version 3.2.2, this dependency comes from dolphinscheduler-task-all, but 
in 3.3.x it is set to provided, so it does not exist in the classpath for 
starting the worker
   
   `mvn  dependency:tree -Dverbose 
-Dincludes='org.apache.hbase.thirdparty:hbase-noop-htrace'`
   ```
   [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ 
dolphinscheduler-worker ---
   [INFO] Verbose not supported since maven-dependency-plugin 3.0
   [INFO] org.apache.dolphinscheduler:dolphinscheduler-worker:jar:3.2.2
   [INFO] \- 
org.apache.dolphinscheduler:dolphinscheduler-task-all:jar:3.2.2:compile
   [INFO]    \- 
org.apache.dolphinscheduler:dolphinscheduler-task-datax:jar:3.2.2:compile
   [INFO]       \- 
org.apache.dolphinscheduler:dolphinscheduler-datasource-api:jar:3.2.2:compile
   [INFO]          \- 
org.apache.hbase.thirdparty:hbase-noop-htrace:jar:4.1.1:compile
   [INFO] 
   ```
   
   <img width="665" height="219" alt="Image" 
src="https://github.com/user-attachments/assets/a8e935ce-abed-4105-836f-3d30214fa870";
 />
   
   ```
   [INFO] --- maven-dependency-plugin:3.1.1:tree (default-cli) @ 
dolphinscheduler-worker ---
   [INFO] Verbose not supported since maven-dependency-plugin 3.0
   [INFO] org.apache.dolphinscheduler:dolphinscheduler-worker:jar:dev-SNAPSHOT
   [INFO] \- 
org.apache.dolphinscheduler:dolphinscheduler-task-all:jar:dev-SNAPSHOT:provided
   [INFO]    \- 
org.apache.dolphinscheduler:dolphinscheduler-task-aliyunserverlessspark:jar:dev-SNAPSHOT:provided
   [INFO]       \- 
org.apache.dolphinscheduler:dolphinscheduler-datasource-all:jar:dev-SNAPSHOT:provided
   [INFO]          \- 
org.apache.dolphinscheduler:dolphinscheduler-datasource-hive:jar:dev-SNAPSHOT:provided
   [INFO]             \- 
org.apache.hbase.thirdparty:hbase-noop-htrace:jar:4.1.1:provided
   [INFO] 
   ```
   
   <img width="629" height="114" alt="Image" 
src="https://github.com/user-attachments/assets/8c1ec93f-a7ed-4ca8-a3ab-0e75f74b7ee9";
 />


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