Skip to content

Commit e86f604

Browse files
authored
Merge pull request #40 from vintmd/unified
unified version
2 parents 301eaca + b4c8d0c commit e86f604

30 files changed

+517
-370
lines changed

.gitignore

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
# User-specific stuff
3+
.DS_Store
4+
.idea/
5+
6+
# Gradle and Maven with auto-import
7+
# When using Gradle or Maven with auto-import, you should exclude module files,
8+
# since they will be recreated, and may cause churn. Uncomment if using
9+
# auto-import.
10+
*.iml
11+
*.ipr
12+
13+
### Java template
14+
# Compiled class file
15+
*.class
16+
target/
17+
18+
# Log file
19+
*.log
20+
21+
# BlueJ files
22+
*.ctxt
23+
24+
# Mobile Tools for Java (J2ME)
25+
.mtj.tmp/
26+
27+
# Package Files #
28+
*.war
29+
*.nar
30+
*.ear
31+
*.zip
32+
*.tar.gz
33+
*.rar
34+
35+
pom.xml-E
36+
pom.xml.versionsBackup
37+
38+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
39+
hs_err_pid*
40+
41+
# local dep
42+
dep
43+

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

compile.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ do
1818
cp target/*.pom dep/${hadoop_version}/
1919

2020
mvn versions:set -DnewVersion=${origin_version}
21-
done
21+
done

pom.xml

+9-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.qcloud.cos</groupId>
88
<artifactId>hadoop-cos</artifactId>
9-
<version>5.10.0</version>
9+
<version>8.0.1</version>
1010
<packaging>jar</packaging>
1111

1212
<name>Apache Hadoop Tencent Qcloud COS Support</name>
@@ -41,7 +41,7 @@
4141
<maven.compiler.source>1.7</maven.compiler.source>
4242
<maven.compiler.target>1.7</maven.compiler.target>
4343
<hadoop.version>3.3.0</hadoop.version>
44-
<cos_api.version>5.6.60</cos_api.version>
44+
<cos_api.version>5.6.62</cos_api.version>
4545
<google.guava.version>24.1.1-jre</google.guava.version>
4646
<commons_lang3.version>3.1</commons_lang3.version>
4747
<junit.version>4.8</junit.version>
@@ -62,6 +62,13 @@
6262
<version>${hadoop.version}</version>
6363
<scope>provided</scope>
6464
</dependency>
65+
66+
<dependency>
67+
<groupId>com.qcloud</groupId>
68+
<artifactId>cosn-ranger-interface</artifactId>
69+
<version>1.0.3</version>
70+
<scope>provided</scope>
71+
</dependency>
6572
</dependencies>
6673

6774
<distributionManagement>
@@ -88,7 +95,6 @@
8895
</includes>
8996
</resource>
9097
</resources>
91-
<pluginManagement>
9298
<plugins>
9399
<plugin>
94100
<groupId>org.apache.maven.plugins</groupId>
@@ -156,6 +162,5 @@
156162
</executions>
157163
</plugin>
158164
</plugins>
159-
</pluginManagement>
160165
</build>
161166
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.qcloud.chdfs.permission;
2+
3+
public enum RangerAccessType {
4+
5+
LIST,
6+
WRITE,
7+
READ,
8+
DELETE;
9+
10+
private RangerAccessType() {
11+
}
12+
}

0 commit comments

Comments
 (0)