-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDDS-1226. ozone-filesystem jar missing in hadoop classpath #560
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
Conversation
|
🎊 +1 overall
This message was automatically generated. |
|
LGTM |
elek
left a comment
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.
Hadoop file system jars are already there:
ls share/ozone/lib/hadoop-ozone-filesystem-*
share/ozone/lib/hadoop-ozone-filesystem-0.4.0-SNAPSHOT.jar
share/ozone/lib/hadoop-ozone-filesystem-lib-0.4.0-SNAPSHOT.jar
share/ozone/lib/hadoop-ozone-filesystem-lib-legacy-0.4.0-SNAPSHOT.jar
And because they are huge (100M) I wouldn't duplicate them. ;-)
But you are right, the share/hadoop/ozone directory is confusing as most of the stuff are already moved to share/ozone/...
If you prefer to move the datanodeplugin to share/ozone I would agree...
|
Discussed with @vivekratnavel offline: The big question here is that how can we put the jar files to the classpath in a version independent mode. We can use One possible solution is to rename the ozonefs-lib project to ozonefs-lib-current. |
| #shaded datanode service | ||
| run mkdir -p "./share/hadoop/ozoneplugin" | ||
| run cp "${ROOT}/hadoop-ozone/objectstore-service/target/hadoop-ozone-objectstore-service-${HDDS_VERSION}-plugin.jar" "./share/hadoop/ozoneplugin/hadoop-ozone-datanode-plugin-${HDDS_VERSION}.jar" | ||
|
|
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.
We can open a new Jira to remove share/hadoop/ozoneplugin also?
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.
Yes, we can open one. But rename instead of remove. ozoneplugin is the directory of the ozone datanode plugin for legacy hdfs clusters. We need the jar file but can be moved to share/ozone/datanodeplugin
|
💔 -1 overall
This message was automatically generated. |
|
+1. Merged it to the trunk.Thanks the contribution @vivekratnavel As this is a small risk patch and it would be better to finalize the name earlier, I cherry-pick it to branch-0.4 to be part of the next release. |
|
💔 -1 overall
This message was automatically generated. |
|
The last commit (typo fix) added as an addendum commit. |
This is due to the recent refactoring of table metrics, for some reason running build locally didn't catch these failed tests. Author: Wei Song <[email protected]> Author: Cameron Lee <[email protected]> Author: Jagadish <[email protected]> Author: Ray Matharu <[email protected]> Reviewers: Jagadish<[email protected]>, Cameron L<[email protected]> Closes apache#560 from weisong44/table-metrics-fix
hadoop-ozone-filesystem-lib-*.jar is missing in hadoop classpath.
This PR aims at having a shaded hadoop-ozone-filesystem-lib-*.jar file in
${OZONE_HOME}/share/hadoop/ozonefs/path