yangdong2398 opened a new pull request, #8343: URL: https://github.com/apache/hadoop/pull/8343
## Summary - Add `hadoop-bos` module under `hadoop-cloud-storage-project` providing Baidu Object Storage (BOS) FileSystem implementation (`bos://` scheme) - Support both flat and hierarchical namespace BOS buckets - Shade BOS SDK and transitive dependencies under `bfs.*` prefix to avoid classpath conflicts - Integrate into parent POMs (`hadoop-project`, `hadoop-cloud-storage`, `hadoop-cloud-storage-dist`) - Follow Hadoop community conventions: ASF license headers, package-info.java, auth-keys.xml test credential pattern, tests-off/tests-on profiles ## Changes - **New module**: `hadoop-cloud-storage-project/hadoop-bos` with BOS FileSystem, credentials providers, shaded jar packaging - **POM integration**: Added to `hadoop-project/pom.xml` (dependency management), `hadoop-cloud-storage-project/pom.xml` (module), `hadoop-cloud-storage/pom.xml` (umbrella dependency with `*:*` exclusion), `hadoop-cloud-storage-dist/pom.xml` (dist + packaging profile) - **Shade plugin**: Relocates jackson, httpcomponents, guava, commons-logging, commons-lang, commons-codec, BOS SDK under `bfs.*` - **Test config**: Standard `core-site.xml` + XInclude `auth-keys.xml` pattern; tests auto-skip when credentials absent ## Test plan - [ ] `mvn compile -pl hadoop-cloud-storage-project/hadoop-bos` builds successfully - [ ] `mvn package -pl hadoop-cloud-storage-project/hadoop-bos -DskipTests` produces shaded jar - [ ] Verify shaded jar contains relocated classes under `bfs.*` prefix - [ ] Contract tests pass with valid BOS credentials in `auth-keys.xml` - [ ] Build skips tests when `auth-keys.xml` is absent - [ ] `mvn package -Pdist -DskipTests -Dtar -Dhadoop-bos-package` includes hadoop-bos in distribution 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
