Skip to content
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

Rangerobs #11

Open
wants to merge 68 commits into
base: ranger-obs
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
5a2951b
Update README.md
aheartfulguy Jun 7, 2022
2611a5e
Update README.md
aheartfulguy Aug 31, 2022
71deb64
Update pom.xml
aheartfulguy Apr 27, 2023
6ceb233
Delete hadoop-huaweicloud directory
InterestingHui Nov 1, 2023
7b4caf1
Create e
InterestingHui Nov 1, 2023
be05cc4
Rename hadoop-huaweicloud/e to hadoop-huaweicloud/asdf/e
InterestingHui Nov 1, 2023
e1af19e
Delete hadoop-huaweicloud/asdf directory
InterestingHui Nov 1, 2023
09a029a
Create test.txt
InterestingHui Nov 1, 2023
352b867
Add files via upload
InterestingHui Nov 1, 2023
8479e3c
Rename test.txt to test.txt
InterestingHui Nov 1, 2023
a21e4f1
Add files via upload
InterestingHui Nov 1, 2023
213f7d7
Rename hadoop-huaweicloud/src/test.txt to hadoop-huaweicloud/src/dele…
InterestingHui Nov 1, 2023
2060a2e
Delete hadoop-huaweicloud/src/deleted directory
InterestingHui Nov 1, 2023
8bd1db3
Add files via upload
InterestingHui Nov 1, 2023
971da86
Delete hadoop-huaweicloud/test directory
InterestingHui Nov 1, 2023
2fc0609
Add files via upload
InterestingHui Nov 1, 2023
6fe8f06
Merge pull request #25 from InterestingHui/master
InterestingHui Nov 1, 2023
10b7f75
Add files via upload
InterestingHui Nov 1, 2023
fb96bd3
Merge pull request #28 from InterestingHui/master
InterestingHui Nov 1, 2023
4f97c27
Add files via upload
InterestingHui Dec 7, 2023
75fd287
Delete release/hadoop-huaweicloud-2.8.3-hw-35.jar
InterestingHui Dec 7, 2023
13c87f1
Delete release/hadoop-huaweicloud-2.8.3-hw-36.jar
InterestingHui Dec 7, 2023
cdc730c
Delete release/hadoop-huaweicloud-2.8.3-hw-37.jar
InterestingHui Dec 7, 2023
197b5a9
Delete release/hadoop-huaweicloud-2.8.3-hw-39.jar
InterestingHui Dec 7, 2023
a58c6ab
Delete release/hadoop-huaweicloud-2.8.3-hw-40.1.jar
InterestingHui Dec 7, 2023
db2cba4
Delete release/hadoop-huaweicloud-2.8.3-hw-40.jar
InterestingHui Dec 7, 2023
55391c1
Delete release/hadoop-huaweicloud-2.8.3-hw-41.jar
InterestingHui Dec 7, 2023
1295cfc
Delete release/hadoop-huaweicloud-2.8.3-hw-42.jar
InterestingHui Dec 7, 2023
ff438cb
Delete release/hadoop-huaweicloud-2.8.3-hw-43.jar
InterestingHui Dec 7, 2023
9679b6f
Delete release/hadoop-huaweicloud-3.1.1-hw-35.jar
InterestingHui Dec 7, 2023
469dc39
Delete release/hadoop-huaweicloud-3.1.1-hw-36.jar
InterestingHui Dec 7, 2023
d4b3fda
Delete release/hadoop-huaweicloud-3.1.1-hw-37.jar
InterestingHui Dec 7, 2023
fe22149
Delete release/hadoop-huaweicloud-3.1.1-hw-39.jar
InterestingHui Dec 7, 2023
9142520
Delete release/hadoop-huaweicloud-3.1.1-hw-40.1.jar
InterestingHui Dec 7, 2023
a9579b3
Delete release/hadoop-huaweicloud-3.1.1-hw-40.jar
InterestingHui Dec 7, 2023
9b3b377
Delete release/hadoop-huaweicloud-3.1.1-hw-41.jar
InterestingHui Dec 7, 2023
af8b4a5
Delete release/hadoop-huaweicloud-3.1.1-hw-42.jar
InterestingHui Dec 7, 2023
905708c
Delete release/hadoop-huaweicloud-3.1.1-hw-43.jar
InterestingHui Dec 7, 2023
5614109
Update README.md
InterestingHui Dec 15, 2023
d8d201d
Merge pull request #29 from huaweicloud/InterestingHui-patch-2
InterestingHui Dec 15, 2023
c9cfe15
Update README.md
InterestingHui Dec 15, 2023
58cb85f
Merge pull request #30 from huaweicloud/InterestingHui-patch-3
InterestingHui Dec 15, 2023
3c47b69
Delete release/hadoop-huaweicloud-2.8.3-hw-45.jar
InterestingHui Jan 12, 2024
886d815
Delete release/hadoop-huaweicloud-3.1.1-hw-45.jar
InterestingHui Jan 12, 2024
1a90c26
Add files via upload
InterestingHui Jan 17, 2024
aa22c21
Update README.md
InterestingHui Jan 26, 2024
eeb5e6b
Add files via upload
InterestingHui May 15, 2024
d2e7957
Update README.md
InterestingHui May 15, 2024
92bf034
Merge pull request #33 from huaweicloud/InterestingHui-patch-7
InterestingHui May 15, 2024
2e804b9
Update README.md
InterestingHui May 15, 2024
2a6357f
Merge pull request #34 from huaweicloud/InterestingHui-patch-8
InterestingHui May 15, 2024
c140c97
Add files via upload
InterestingHui Sep 12, 2024
af8a6c5
Delete release/hadoop-huaweicloud-2.8.3-hw-53.8.jar
InterestingHui Sep 12, 2024
9233d48
Merge pull request #37 from huaweicloud/InterestingHui-patch-9
InterestingHui Sep 12, 2024
fde5829
Delete release/hadoop-huaweicloud-2.8.3-hw-54.0.jar
InterestingHui Sep 12, 2024
66ee220
Merge pull request #38 from huaweicloud/InterestingHui-patch-10
InterestingHui Sep 12, 2024
8b004cc
Add files via upload
InterestingHui Sep 25, 2024
661c298
Update README.md
InterestingHui Oct 18, 2024
e4432c4
Merge pull request #39 from huaweicloud/InterestingHui-patch-11
InterestingHui Oct 18, 2024
8ffcbb9
Update README.md
InterestingHui Oct 18, 2024
18f7da7
Merge pull request #40 from huaweicloud/InterestingHui-patch-12
InterestingHui Oct 18, 2024
2f375fe
Update README.md
InterestingHui Oct 18, 2024
6790c60
Merge pull request #41 from huaweicloud/InterestingHui-patch-13
InterestingHui Oct 18, 2024
aeee737
Update README.md
InterestingHui Oct 18, 2024
a6ccab3
Merge pull request #42 from huaweicloud/InterestingHui-patch-14
InterestingHui Oct 18, 2024
e9f315a
Add files via upload
aheartfulguy Nov 1, 2024
93a289d
Add files via upload
InterestingHui Dec 30, 2024
13733b3
Update README.md
InterestingHui Dec 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,12 @@
此仓库包含了两个项目
- hadoop-obs项目:基于华为云OBS服务实现了hadoop文件系统抽象,位于master分支hadoop-huaweicloud目录,见对应的readme.md
- flink-obs项目:基于华为云OBS服务实现了Flink文件系统抽象,位于flink-obs分支flink-obs-fs-hadoop目录,见对应的readme.md
- ranger-obs项目:实现了在ranger系统中管理OBS权限的功能,位于ranger-obs分支,见对应的readme.md

-----
### Overview
This warehouse contains two items

- Hadoop-obs project: The Hadoop file system is abstracted based on HUAWEI CLOUD OBS. The Hadoop file system is stored in the hadoop-huaweicloud directory of the master branch. For details, see readme.md.
- Flink-obs project: The Flink file system is abstracted based on HUAWEI CLOUD OBS. The Flink file system is stored in the flink-obs-fs-hadoop directory of the flink-obs branch. For details, see the readme.md file.
- ranger-obs project: manages OBS permissions in the ranger system. It is located in the ranger-obs branch. For details, see the corresponding readme.md file.
340 changes: 338 additions & 2 deletions hadoop-huaweicloud/README.md

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions hadoop-huaweicloud/dev-support/findbugs-exclude.xml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<FindBugsFilter>

<!-- same code as in FileSystem is triggering the same warning. -->
<Match>
<Class name="org.apache.hadoop.fs.obs.OBSLoginHelper" />
<Method name="checkPath" />
<Bug pattern="ES_COMPARING_STRINGS_WITH_EQ" />
</Match>
<Match>
<Class name="org.apache.hadoop.fs.obs.input.ReadAheadBuffer" />
<Method name="getBuffer" />
<Bug pattern="EI_EXPOSE_REP" />
</Match>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<FindBugsFilter>
<!-- same code as in FileSystem is triggering the same warning. -->
<Match>
<Class name="org.apache.hadoop.fs.obs.OBSLoginHelper" />
<Method name="checkPath" />
<Bug pattern="ES_COMPARING_STRINGS_WITH_EQ" />
</Match>
<Match>
<Class name="org.apache.hadoop.fs.obs.input.ReadAheadBuffer" />
<Method name="getBuffer" />
<Bug pattern="EI_EXPOSE_REP" />
</Match>
</FindBugsFilter>
120 changes: 79 additions & 41 deletions hadoop-huaweicloud/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,24 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.huaweicloud</groupId>
<groupId>com.huaweicloud.obs</groupId>
<artifactId>hadoop-huaweicloud</artifactId>
<version>2.8.3-hw-46</version>
<version>3.1.1-hw-53.8</version>
<name>hadoop-huaweicloud</name>
<description>
This module contains code to support integration with OBS.
</description>
<packaging>jar</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<file.encoding>UTF-8</file.encoding>
<hadoop.version>2.8.3.0101-hw-ei-14</hadoop.version>
<esdk.version>3.21.8.2</esdk.version>
<hadoop.plat.version>2.8.3</hadoop.plat.version>
<obsa.version>46</obsa.version>
<hadoop.version>3.1.1-hw-ei-315005</hadoop.version>
<esdk.version>3.23.3.1</esdk.version>
<hadoop.plat.version>3.1.1</hadoop.plat.version>
<obsa.version>53.8</obsa.version>
<shading.prefix>obs.shaded</shading.prefix>
<jackson.databind.version>2.13.4.1</jackson.databind.version>
</properties>

<profiles>
Expand All @@ -44,7 +46,7 @@
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<createDependencyReducedPom>true</createDependencyReducedPom>
</configuration>
<executions>
<execution>
Expand All @@ -55,21 +57,21 @@
</goals>
<configuration>
<relocations>
<relocation>
<!-- shade java-xmlbuilder -->
<pattern>com.jamesmurty.utils</pattern>
<shadedPattern>${shading.prefix}.com.jamesmurty.utils</shadedPattern>
</relocation>
<relocation>
<!-- shade okio -->
<pattern>okio</pattern>
<shadedPattern>${shading.prefix}.okio</shadedPattern>
</relocation>
<relocation>
<!-- shade okio -->
<pattern>okhttp3</pattern>
<shadedPattern>${shading.prefix}.okhttp3</shadedPattern>
</relocation>
<!-- <relocation>-->
<!-- &lt;!&ndash; shade java-xmlbuilder &ndash;&gt;-->
<!-- <pattern>com.jamesmurty.utils</pattern>-->
<!-- <shadedPattern>${shading.prefix}.com.jamesmurty.utils</shadedPattern>-->
<!-- </relocation>-->
<!-- <relocation>-->
<!-- &lt;!&ndash; shade okio &ndash;&gt;-->
<!-- <pattern>okio</pattern>-->
<!-- <shadedPattern>${shading.prefix}.okio</shadedPattern>-->
<!-- </relocation>-->
<!-- <relocation>-->
<!-- &lt;!&ndash; shade okio &ndash;&gt;-->
<!-- <pattern>okhttp3</pattern>-->
<!-- <shadedPattern>${shading.prefix}.okhttp3</shadedPattern>-->
<!-- </relocation>-->
<relocation>
<!-- shade jackson -->
<pattern>com.fasterxml.jackson</pattern>
Expand All @@ -81,30 +83,30 @@
</transformers>
<artifactSet>
<includes>
<include>com.jamesmurty.utils:*</include>
<include>com.squareup.okio:*</include>
<include>com.squareup.okhttp3:*</include>
<!-- <include>com.jamesmurty.utils:*</include>-->
<!-- <include>com.squareup.okio:*</include>-->
<!-- <include>com.squareup.okhttp3:*</include>-->
<include>com.huaweicloud:esdk-obs-java-optimised</include>
<include>com.fasterxml.jackson.core:*</include>
</includes>
</artifactSet>
<filters>
<!-- Exclude signatures -->
<filter>
<artifact>com.squareup.okhttp3:*</artifact>
<excludes>
<exclude>okhttp3/internal/connection/ExchangeFinder.class</exclude>
<exclude>okhttp3/internal/connection/Transmitter.class</exclude>
<exclude>okhttp3/internal/http/RetryAndFollowUpInterceptor.class</exclude>
</excludes>
</filter>
<filter>
<artifact>com.squareup.okio:*</artifact>
<excludes>
<exclude>okio/AsyncTimeout.class</exclude>
<exclude>okio/SegmentPool.class</exclude>
</excludes>
</filter>
<!-- <filter>-->
<!-- <artifact>com.squareup.okhttp3:*</artifact>-->
<!-- <excludes>-->
<!-- <exclude>okhttp3/internal/connection/ExchangeFinder.class</exclude>-->
<!-- <exclude>okhttp3/internal/connection/Transmitter.class</exclude>-->
<!-- <exclude>okhttp3/internal/http/RetryAndFollowUpInterceptor.class</exclude>-->
<!-- </excludes>-->
<!-- </filter>-->
<!-- <filter>-->
<!-- <artifact>com.squareup.okio:*</artifact>-->
<!-- <excludes>-->
<!-- <exclude>okio/AsyncTimeout.class</exclude>-->
<!-- <exclude>okio/SegmentPool.class</exclude>-->
<!-- </excludes>-->
<!-- </filter>-->
<filter>
<artifact>*:*</artifact>
<excludes>
Expand Down Expand Up @@ -185,14 +187,41 @@
<configuration>
<source>8</source>
<target>8</target>
<compilerArgument>-Xlint:unchecked</compilerArgument>
<compilerArgument>-Xlint:all</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.8.1</version>
</plugin>
<plugin>
<groupId>com.huawei.fuxi</groupId>
<artifactId>fuxicov-maven-plugin</artifactId>
<version>1.0.9-SNAPSHOT</version>
<executions>
<!--覆盖报告插桩部分-->
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<!--include表示采集覆盖率的包的范围,可配置多条-->
<includes>
<include>com.huawei.*</include>
</includes>
</configuration>
</execution>
<!--覆盖报告生成部分,其中test表示在maven测试阶段后生成报告,有一些项目可能是verify阶段-->
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -267,8 +296,17 @@
<artifactId>jetty-webapp</artifactId>
<groupId>org.eclipse.jetty</groupId>
</exclusion>
<exclusion>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.databind.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs-client</artifactId>
Expand Down
Loading