Skip to content

Conversation

elek
Copy link
Member

@elek elek commented Mar 28, 2019

The current ozonefs compatibility layer is broken by: HDDS-1299.

The spark jobs (including hadoop 2.7) can't be executed any more:

{code}
2019-03-25 09:50:08 INFO StateStoreCoordinatorRef:54 - Registered StateStoreCoordinator endpoint
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/crypto/key/KeyProviderTokenIssuer
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2134)
at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2099)
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2193)
at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2654)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2667)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:94)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2703)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2685)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:373)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:295)
at org.apache.spark.sql.execution.streaming.FileStreamSink$.hasMetadata(FileStreamSink.scala:45)
at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:332)
at org.apache.spark.sql.DataFrameReader.loadV1Source(DataFrameReader.scala:223)
at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:211)
at org.apache.spark.sql.DataFrameReader.text(DataFrameReader.scala:715)
at org.apache.spark.sql.DataFrameReader.textFile(DataFrameReader.scala:757)
at org.apache.spark.sql.DataFrameReader.textFile(DataFrameReader.scala:724)
at org.apache.spark.examples.JavaWordCount.main(JavaWordCount.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:849)
at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:167)
at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:195)
at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:86)
at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:924)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:933)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.crypto.key.KeyProviderTokenIssuer
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 43 more
{code}

See: https://issues.apache.org/jira/browse/HDDS-1333

…compatible security classes. Contributed by Elek, Marton.
@elek elek added the ozone label Mar 28, 2019
@xiaoyuyao
Copy link
Contributor

There are many unrelated changes in the PR? Can you rebase and update?

@elek elek changed the base branch from trunk to ozone-0.4 March 29, 2019 10:08
@elek
Copy link
Member Author

elek commented Mar 29, 2019

This is a branch for 0.4.0 and I created the PR accidentally to trunk. I fixed it now.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 29 Docker mode activated.
_ Prechecks _
0 yamllint 0 yamllint was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ ozone-0.4 Compile Tests _
0 mvndep 71 Maven dependency ordering for branch
+1 mvninstall 1002 ozone-0.4 passed
+1 compile 948 ozone-0.4 passed
+1 checkstyle 199 ozone-0.4 passed
-1 mvnsite 62 common in ozone-0.4 failed.
-1 mvnsite 49 ozonefs in ozone-0.4 failed.
+1 shadedclient 713 branch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
-1 findbugs 43 common in ozone-0.4 failed.
-1 findbugs 44 ozonefs in ozone-0.4 failed.
+1 javadoc 169 ozone-0.4 passed
_ Patch Compile Tests _
0 mvndep 28 Maven dependency ordering for patch
-1 mvninstall 28 common in the patch failed.
-1 mvninstall 21 dist in the patch failed.
-1 mvninstall 23 ozonefs in the patch failed.
+1 compile 893 the patch passed
+1 javac 893 the patch passed
+1 checkstyle 197 the patch passed
-1 mvnsite 51 common in the patch failed.
-1 mvnsite 47 ozonefs in the patch failed.
+1 shellcheck 0 There were no new shellcheck issues.
+1 shelldocs 41 There were no new shelldocs issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 2 The patch has no ill-formed XML file.
+1 shadedclient 677 patch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
-1 findbugs 41 common in the patch failed.
-1 findbugs 39 ozonefs in the patch failed.
+1 javadoc 168 the patch passed
_ Other Tests _
+1 unit 41 docs in the patch passed.
-1 unit 49 common in the patch failed.
+1 unit 41 dist in the patch passed.
-1 unit 44 ozonefs in the patch failed.
+1 asflicense 53 The patch does not generate ASF License warnings.
6316
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/Dockerfile
GITHUB PR #653
Optional Tests dupname asflicense mvnsite compile javac javadoc mvninstall unit shadedclient findbugs checkstyle shellcheck shelldocs xml yamllint
uname Linux bf2e65416f8a 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision ozone-0.4 / f2dee89
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/branch-mvnsite-hadoop-ozone_common.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/branch-mvnsite-hadoop-ozone_ozonefs.txt
shellcheck v0.4.6
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/branch-findbugs-hadoop-ozone_common.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/branch-findbugs-hadoop-ozone_ozonefs.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/patch-mvninstall-hadoop-ozone_common.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/patch-mvninstall-hadoop-ozone_ozonefs.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/patch-mvnsite-hadoop-ozone_common.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/patch-mvnsite-hadoop-ozone_ozonefs.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/patch-findbugs-hadoop-ozone_common.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/patch-findbugs-hadoop-ozone_ozonefs.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/patch-unit-hadoop-ozone_common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/artifact/out/patch-unit-hadoop-ozone_ozonefs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/testReport/
Max. process+thread count 411 (vs. ulimit of 5500)
modules C: hadoop-hdds/docs hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/ozonefs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-653/1/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 31 Docker mode activated.
_ Prechecks _
0 yamllint 1 yamllint was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ ozone-0.4 Compile Tests _
0 mvndep 26 Maven dependency ordering for branch
+1 mvninstall 1020 ozone-0.4 passed
+1 compile 945 ozone-0.4 passed
+1 checkstyle 195 ozone-0.4 passed
-1 mvnsite 63 common in ozone-0.4 failed.
-1 mvnsite 41 ozonefs in ozone-0.4 failed.
+1 shadedclient 684 branch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
-1 findbugs 32 common in ozone-0.4 failed.
-1 findbugs 34 ozonefs in ozone-0.4 failed.
+1 javadoc 133 ozone-0.4 passed
_ Patch Compile Tests _
0 mvndep 27 Maven dependency ordering for patch
-1 mvninstall 28 common in the patch failed.
-1 mvninstall 20 dist in the patch failed.
-1 mvninstall 22 ozonefs in the patch failed.
+1 compile 880 the patch passed
+1 javac 880 the patch passed
+1 checkstyle 188 the patch passed
-1 mvnsite 38 common in the patch failed.
-1 mvnsite 39 ozonefs in the patch failed.
+1 shellcheck 0 There were no new shellcheck issues.
+1 shelldocs 29 There were no new shelldocs issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 1 The patch has no ill-formed XML file.
+1 shadedclient 654 patch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
-1 findbugs 42 common in the patch failed.
-1 findbugs 43 ozonefs in the patch failed.
+1 javadoc 166 the patch passed
_ Other Tests _
+1 unit 39 docs in the patch passed.
-1 unit 48 common in the patch failed.
+1 unit 40 dist in the patch passed.
-1 unit 43 ozonefs in the patch failed.
+1 asflicense 54 The patch does not generate ASF License warnings.
6098
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/Dockerfile
GITHUB PR #653
Optional Tests dupname asflicense mvnsite compile javac javadoc mvninstall unit shadedclient findbugs checkstyle shellcheck shelldocs xml yamllint
uname Linux 6d5cd49037ca 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision ozone-0.4 / f2dee89
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/branch-mvnsite-hadoop-ozone_common.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/branch-mvnsite-hadoop-ozone_ozonefs.txt
shellcheck v0.4.6
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/branch-findbugs-hadoop-ozone_common.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/branch-findbugs-hadoop-ozone_ozonefs.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/patch-mvninstall-hadoop-ozone_common.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/patch-mvninstall-hadoop-ozone_ozonefs.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/patch-mvnsite-hadoop-ozone_common.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/patch-mvnsite-hadoop-ozone_ozonefs.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/patch-findbugs-hadoop-ozone_common.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/patch-findbugs-hadoop-ozone_ozonefs.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/patch-unit-hadoop-ozone_common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/artifact/out/patch-unit-hadoop-ozone_ozonefs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/testReport/
Max. process+thread count 445 (vs. ulimit of 5500)
modules C: hadoop-hdds/docs hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/ozonefs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-653/2/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

<resources>
<resource>
<directory>src/main/compose</directory>
<filtering>true</filtering>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are filtering any files from compose dir?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think it's better to filter all the docker-compose and docker-config files.

ENSURE_SCM_INITIALIZED: /data/metadata/scm/current/VERSION
command: ["/opt/hadoop/bin/ozone","scm"]
hadoop3:
hadoop32:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we separate the hadoop 2 and 3 compose files first class (i.e create two separate compose dirs for them)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can do, if you prefer it, but I can't see any advantage. It would duplicate the work to maintain these docker-compose file. What I would do instead of this (long-term) is to create a parameter (.env file) for hadoop version and parameterize the test. But it will be way more slower (instead of starting one ozone cluster we need to start it again and again for each version)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One advantage i can think of is to have separate test suites for hadoop 2 and 3. With hadoop 2 and 3 being first class we can change there configs independently in future. However i am ok with this approch for current patch. We can split it later as desired.

*** Keywords ***

Test hadoop dfs
[arguments] ${imagename}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since each time imagename is different shall we move this to variable section? (i.e keynames will still not collide)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. It's not an imagename, in fact this is just any prefix of the name. Will be fixed in the last commit.

Should not contain ${result} Failed
Should contain ${result} Creating Volume: ${volume}
Create bucket
Execute ozone sh bucket create /${volume}/${bucket}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After this shall we check if bucket creation is successful by listing it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Added an additional bucket info call.

/**
* Adapter to convert OzoneKey to a safe and simple Key implementation.
*/
public static class IteratorAdapter implements Iterator<BasicKeyInfo> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is OzoneKeyIterator more relevant?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what is the question. Can you please elaborate.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean shall we rename IteratorAdapter to OzoneKeyIterator.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 29 Docker mode activated.
_ Prechecks _
0 yamllint 0 yamllint was not available.
+1 @author 1 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ ozone-0.4 Compile Tests _
0 mvndep 36 Maven dependency ordering for branch
+1 mvninstall 1283 ozone-0.4 passed
+1 compile 1185 ozone-0.4 passed
+1 checkstyle 231 ozone-0.4 passed
-1 mvnsite 66 common in ozone-0.4 failed.
-1 mvnsite 46 ozonefs in ozone-0.4 failed.
+1 shadedclient 796 branch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
-1 findbugs 38 common in ozone-0.4 failed.
-1 findbugs 35 ozonefs in ozone-0.4 failed.
+1 javadoc 145 ozone-0.4 passed
_ Patch Compile Tests _
0 mvndep 25 Maven dependency ordering for patch
-1 mvninstall 28 common in the patch failed.
-1 mvninstall 24 dist in the patch failed.
-1 mvninstall 26 ozonefs in the patch failed.
+1 compile 956 the patch passed
+1 javac 956 the patch passed
+1 checkstyle 212 the patch passed
-1 mvnsite 45 common in the patch failed.
-1 mvnsite 39 ozonefs in the patch failed.
+1 shellcheck 0 There were no new shellcheck issues.
+1 shelldocs 31 There were no new shelldocs issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 1 The patch has no ill-formed XML file.
+1 shadedclient 749 patch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
-1 findbugs 38 common in the patch failed.
-1 findbugs 37 ozonefs in the patch failed.
+1 javadoc 144 the patch passed
_ Other Tests _
+1 unit 33 docs in the patch passed.
-1 unit 43 common in the patch failed.
+1 unit 36 dist in the patch passed.
-1 unit 37 ozonefs in the patch failed.
+1 asflicense 48 The patch does not generate ASF License warnings.
6955
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/Dockerfile
GITHUB PR #653
Optional Tests dupname asflicense mvnsite compile javac javadoc mvninstall unit shadedclient findbugs checkstyle shellcheck shelldocs xml yamllint
uname Linux c40fcfbeb157 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision ozone-0.4 / fb7844d
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/branch-mvnsite-hadoop-ozone_common.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/branch-mvnsite-hadoop-ozone_ozonefs.txt
shellcheck v0.4.6
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/branch-findbugs-hadoop-ozone_common.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/branch-findbugs-hadoop-ozone_ozonefs.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/patch-mvninstall-hadoop-ozone_common.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/patch-mvninstall-hadoop-ozone_ozonefs.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/patch-mvnsite-hadoop-ozone_common.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/patch-mvnsite-hadoop-ozone_ozonefs.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/patch-findbugs-hadoop-ozone_common.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/patch-findbugs-hadoop-ozone_ozonefs.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/patch-unit-hadoop-ozone_common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/artifact/out/patch-unit-hadoop-ozone_ozonefs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/testReport/
Max. process+thread count 340 (vs. ulimit of 5500)
modules C: hadoop-hdds/docs hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/ozonefs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-653/3/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

</configuration>
```

_Note_: You may also use `org.apache.hadoop.fs.ozone.OzoneFileSystem` without the `Basic` prefix. The `Basic` version doesn't support FS statistics and security tokens but can work together with older hadoop versions.
Copy link
Contributor

@xiaoyuyao xiaoyuyao Apr 2, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bq. "The Basic version doesn't support FS statistics and security tokens but can work together with older hadoop versions."

This is not accurate. If I understand correctly, the BasicOzoneFileSystem also support delegation token APIs but not FS statistics.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks. It's just because I have limited knowledge about the KeyProviderTokenIssuer. Can I write:

The `Basic` version doesn't support FS statistics and encryption zones but....

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 44 Docker mode activated.
_ Prechecks _
0 yamllint 1 yamllint was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 2 new or modified test files.
_ ozone-0.4 Compile Tests _
0 mvndep 27 Maven dependency ordering for branch
+1 mvninstall 1208 ozone-0.4 passed
+1 compile 1093 ozone-0.4 passed
+1 checkstyle 217 ozone-0.4 passed
-1 mvnsite 59 common in ozone-0.4 failed.
-1 mvnsite 42 ozonefs in ozone-0.4 failed.
+1 shadedclient 753 branch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
-1 findbugs 38 common in ozone-0.4 failed.
-1 findbugs 37 ozonefs in ozone-0.4 failed.
+1 javadoc 145 ozone-0.4 passed
_ Patch Compile Tests _
0 mvndep 25 Maven dependency ordering for patch
-1 mvninstall 32 common in the patch failed.
-1 mvninstall 19 dist in the patch failed.
-1 mvninstall 21 ozonefs in the patch failed.
+1 compile 997 the patch passed
+1 javac 997 the patch passed
+1 checkstyle 211 the patch passed
-1 mvnsite 45 common in the patch failed.
-1 mvnsite 39 ozonefs in the patch failed.
+1 shellcheck 1 There were no new shellcheck issues.
+1 shelldocs 31 There were no new shelldocs issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 2 The patch has no ill-formed XML file.
+1 shadedclient 737 patch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
-1 findbugs 37 common in the patch failed.
-1 findbugs 38 ozonefs in the patch failed.
+1 javadoc 147 the patch passed
_ Other Tests _
+1 unit 36 docs in the patch passed.
-1 unit 45 common in the patch failed.
+1 unit 35 dist in the patch passed.
-1 unit 39 ozonefs in the patch failed.
+1 asflicense 49 The patch does not generate ASF License warnings.
6709
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/Dockerfile
GITHUB PR #653
Optional Tests dupname asflicense mvnsite compile javac javadoc mvninstall unit shadedclient findbugs checkstyle shellcheck shelldocs xml yamllint
uname Linux 74aab51eaf66 4.4.0-138-generic #164~14.04.1-Ubuntu SMP Fri Oct 5 08:56:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision ozone-0.4 / 7030e6e
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/branch-mvnsite-hadoop-ozone_common.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/branch-mvnsite-hadoop-ozone_ozonefs.txt
shellcheck v0.4.6
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/branch-findbugs-hadoop-ozone_common.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/branch-findbugs-hadoop-ozone_ozonefs.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/patch-mvninstall-hadoop-ozone_common.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/patch-mvninstall-hadoop-ozone_ozonefs.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/patch-mvnsite-hadoop-ozone_common.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/patch-mvnsite-hadoop-ozone_ozonefs.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/patch-findbugs-hadoop-ozone_common.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/patch-findbugs-hadoop-ozone_ozonefs.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/patch-unit-hadoop-ozone_common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/artifact/out/patch-unit-hadoop-ozone_ozonefs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/testReport/
Max. process+thread count 336 (vs. ulimit of 5500)
modules C: hadoop-hdds/docs hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/ozonefs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-653/4/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 26 Docker mode activated.
_ Prechecks _
0 yamllint 0 yamllint was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 2 new or modified test files.
_ ozone-0.4 Compile Tests _
0 mvndep 28 Maven dependency ordering for branch
+1 mvninstall 984 ozone-0.4 passed
+1 compile 979 ozone-0.4 passed
+1 checkstyle 194 ozone-0.4 passed
-1 mvnsite 56 common in ozone-0.4 failed.
-1 mvnsite 40 ozonefs in ozone-0.4 failed.
+1 shadedclient 646 branch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
-1 findbugs 33 common in ozone-0.4 failed.
-1 findbugs 31 ozonefs in ozone-0.4 failed.
+1 javadoc 126 ozone-0.4 passed
_ Patch Compile Tests _
0 mvndep 27 Maven dependency ordering for patch
-1 mvninstall 28 common in the patch failed.
-1 mvninstall 19 dist in the patch failed.
-1 mvninstall 21 ozonefs in the patch failed.
+1 compile 1048 the patch passed
+1 javac 1048 the patch passed
+1 checkstyle 206 the patch passed
-1 mvnsite 43 common in the patch failed.
-1 mvnsite 39 ozonefs in the patch failed.
+1 shellcheck 1 There were no new shellcheck issues.
+1 shelldocs 28 There were no new shelldocs issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 1 The patch has no ill-formed XML file.
+1 shadedclient 664 patch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-hdds/docs hadoop-ozone/dist
-1 findbugs 32 common in the patch failed.
-1 findbugs 34 ozonefs in the patch failed.
+1 javadoc 124 the patch passed
_ Other Tests _
+1 unit 28 docs in the patch passed.
-1 unit 42 common in the patch failed.
+1 unit 31 dist in the patch passed.
-1 unit 34 ozonefs in the patch failed.
+1 asflicense 45 The patch does not generate ASF License warnings.
6082
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/Dockerfile
GITHUB PR #653
Optional Tests dupname asflicense mvnsite compile javac javadoc mvninstall unit shadedclient findbugs checkstyle shellcheck shelldocs xml yamllint
uname Linux e37db5fccb3a 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision ozone-0.4 / 3e8669c
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/branch-mvnsite-hadoop-ozone_common.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/branch-mvnsite-hadoop-ozone_ozonefs.txt
shellcheck v0.4.6
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/branch-findbugs-hadoop-ozone_common.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/branch-findbugs-hadoop-ozone_ozonefs.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/patch-mvninstall-hadoop-ozone_common.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/patch-mvninstall-hadoop-ozone_ozonefs.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/patch-mvnsite-hadoop-ozone_common.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/patch-mvnsite-hadoop-ozone_ozonefs.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/patch-findbugs-hadoop-ozone_common.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/patch-findbugs-hadoop-ozone_ozonefs.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/patch-unit-hadoop-ozone_common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/artifact/out/patch-unit-hadoop-ozone_ozonefs.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/testReport/
Max. process+thread count 445 (vs. ulimit of 5500)
modules C: hadoop-hdds/docs hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/ozonefs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-653/5/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@ajayydv
Copy link
Contributor

ajayydv commented Apr 4, 2019

+1

@ajayydv ajayydv merged commit 7ec6a31 into apache:ozone-0.4 Apr 4, 2019
ajayydv pushed a commit that referenced this pull request Apr 5, 2019
…compatible security classes. Contributed by Elek, Marton. (#653)

(cherry picked from commit 7ec6a31)
shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
prateekm let me know if there are other places that logging should also be improved in this patch.

Author: Daniel Chen <dchen1@linkedin.com>
Author: Daniel Chen <xrchen@uwaterloo.ca>

Reviewers: Prateek Maheshwari <pmaheshwari@apache.org>

Closes apache#653 from dxichen/add-restore-logging-info
slfan1989 added a commit that referenced this pull request Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants