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

HADOOP-15691 Add PathCapabilities to FS and FC to complement StreamCapabilities #568

Conversation

steveloughran
Copy link
Contributor

This contains all the work to date, reapplied to trunk so that Yetus will take up the PR again.

Change-Id: Icfab71d177c88c75fd651d7eea56d3d1e8618f61

@steveloughran steveloughran force-pushed the filesystem/HADOOP-15691-fs-path-capabilities branch from 8a2c9f4 to 2a1fd85 Compare March 8, 2019 12:15
@steveloughran
Copy link
Contributor Author

javac are about a deprecated method, cannot be fixed. Checkstyles can be

./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonPathCapabilities.java:28:public final class CommonPathCapabilities {:1: Utility classes should not have a public or default constructor. [HideUtilityClassConstructor]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/FsLinkResolution.java:76:    T apply(final AbstractFileSystem fs, final Path path):13: Redundant 'final' modifier. [RedundantModifier]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/FsLinkResolution.java:76:    T apply(final AbstractFileSystem fs, final Path path):42: Redundant 'final' modifier. [RedundantModifier]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/PathCapabilitiesSupport.java:27:@InterfaceAudience.Private: Missing a Javadoc comment. [JavadocType]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/PathCapabilitiesSupport.java:27:@InterfaceAudience.Private:1: Utility classes should not have a public or default constructor. [HideUtilityClassConstructor]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ViewFileSystem.java:56:import org.apache.hadoop.fs.PathCapabilities;:8: Unused import - org.apache.hadoop.fs.PathCapabilities. [UnusedImports]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java:52:import org.apache.hadoop.fs.PathCapabilities;:8: Unused import - org.apache.hadoop.fs.PathCapabilities. [UnusedImports]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java:80:import org.apache.hadoop.fs.PathCapabilities;:8: Unused import - org.apache.hadoop.fs.PathCapabilities. [UnusedImports]
./hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/commit/ITestCommitOperations.java:27:import org.junit.Assume;:8: Unused import - org.junit.Assume. [UnusedImports]

@steveloughran
Copy link
Contributor Author

checkstyle

./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ChecksumFileSystem.java:30:import java.util.Locale;:8: Unused import - java.util.Locale. [UnusedImports]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonPathCapabilities.java:24:public final class CommonPathCapabilities {:1: Utility classes should not have a public or default constructor. [HideUtilityClassConstructor]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java:50:import org.apache.hadoop.fs.impl.PathCapabilitiesSupport;:8: Unused import - org.apache.hadoop.fs.impl.PathCapabilitiesSupport. [UnusedImports]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/FsLinkResolution.java:76:    T apply(final AbstractFileSystem fs, final Path path):13: Redundant 'final' modifier. [RedundantModifier]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/FsLinkResolution.java:76:    T apply(final AbstractFileSystem fs, final Path path):42: Redundant 'final' modifier. [RedundantModifier]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/PathCapabilitiesSupport.java:29:@InterfaceAudience.Private: Missing a Javadoc comment. [JavadocType]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/PathCapabilitiesSupport.java:29:@InterfaceAudience.Private:1: Utility classes should not have a public or default constructor. [HideUtilityClassConstructor]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java:51:import java.util.Locale;:8: Unused import - java.util.Locale. [UnusedImports]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java:80:import org.apache.hadoop.fs.PathCapabilities;:8: Unused import - org.apache.hadoop.fs.PathCapabilities. [UnusedImports]
./hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java:88:import java.util.Locale;:8: Unused import - java.util.Locale. [UnusedImports]
./hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/commit/ITestCommitOperations.java:27:import org.junit.Assume;:8: Unused import - org.junit.Assume. [UnusedImports]

Copy link
Contributor

@adamantal adamantal left a comment

Choose a reason for hiding this comment

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

Thanks for the patch @steveloughran, it looks outstanding. I had some minor comments and a few questions.

General comments

  1. We probably have to overwrite the function hasPathCapability in the following subclasses:
    • AliyunOSS
    • FTPFileSystem
    • SwiftNativeFileSystem (from FileSystem's descendants) and maybe also
    • ChRootedFs (from AbstractFileSystem's descendants)
  2. I am not familiar with FsLinkResolution part, but seemed ok to me.
  3. We can mention in the javadoc of StreamCapabilities that it's the Stream counterpart of PathCapabilities to make them linking to each other.
  4. It seems to me that all the filesystem contract xml's are duplicating this feature. How would you elaborate this? Should we get rid of the contract xml's and rewrite the tests using the PathCapabilities method? If this is the case, that could go in a follow-up a jira as well.
    For e.g. in AbstractFSContractTestBase$skipIfUnsupported we query for the fs.contract.append config, which could also be returned by the PathCapabilities.

Questions

  1. Could you provide some examples how a capability can be supported under a path but not under another at the same time? Also it would make sense to add this example into filesystem.md
  2. Can the user have the assumption that if a path supports a feature, then it is also supported for all its children? This could also be added to the markdown file.

case CommonPathCapabilities.FS_READ_ONLY_CONNECTOR:
return true;
default:
return false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we use super.hasPathCapability(path, capability) here?
It would delegate to FileSystem's call, so effectively no difference (including the supportAcls() call there), but would be cleaner.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like the way it makes clear that this is R/O, but am happy to change it.

@@ -2017,6 +2027,36 @@ public void setTestProvider(KeyProvider kp) {
testProvider = kp;
}

/**
* This filesystem's capabilities must be in sync with that of HDFS.
Copy link
Contributor

Choose a reason for hiding this comment

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

Couldn't we enforce that two function must be in sync? I consider this a bit dangerous.
I'm thinking of moving the switch part (which is basically a static function) to a helper class?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done. a bit convoluted as we need to indicate when to invoke the superclass.

Copy link
Contributor

@adamantal adamantal left a comment

Choose a reason for hiding this comment

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

+1 (non-binding) (pending on newest Jenkins run).

Thanks for taking care my suggestions.
It was a good idea to move this feature under the fs.capabilities configs, and I also found the DfsPathCapabilities to be handy, so I gave an approval.

@apache apache deleted a comment from hadoop-yetus Sep 9, 2019
@apache apache deleted a comment from hadoop-yetus Sep 9, 2019
@steveloughran steveloughran force-pushed the filesystem/HADOOP-15691-fs-path-capabilities branch from d200274 to d42d778 Compare September 9, 2019 18:41
@steveloughran
Copy link
Contributor Author

rebased to trunk to show this is still a live PR; not done the testing on the stores though.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 3275 Docker mode activated.
_ Prechecks _
+1 dupname 2 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 9 new or modified test files.
_ trunk Compile Tests _
0 mvndep 69 Maven dependency ordering for branch
+1 mvninstall 1246 trunk passed
+1 compile 1077 trunk passed
+1 checkstyle 171 trunk passed
+1 mvnsite 292 trunk passed
+1 shadedclient 1275 branch has no errors when building and testing our client artifacts.
+1 javadoc 256 trunk passed
0 spotbugs 51 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 616 trunk passed
_ Patch Compile Tests _
0 mvndep 26 Maven dependency ordering for patch
+1 mvninstall 231 the patch passed
+1 compile 1268 the patch passed
-1 javac 1268 root generated 1 new + 1468 unchanged - 0 fixed = 1469 total (was 1468)
-0 checkstyle 191 root: The patch generated 16 new + 600 unchanged - 0 fixed = 616 total (was 600)
+1 mvnsite 331 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 828 patch has no errors when building and testing our client artifacts.
+1 javadoc 248 the patch passed
+1 findbugs 654 the patch passed
_ Other Tests _
-1 unit 636 hadoop-common in the patch failed.
+1 unit 149 hadoop-hdfs-client in the patch passed.
+1 unit 335 hadoop-hdfs-httpfs in the patch passed.
+1 unit 112 hadoop-aws in the patch passed.
+1 unit 86 hadoop-azure in the patch passed.
-1 unit 66 hadoop-azure-datalake in the patch failed.
+1 asflicense 56 The patch does not generate ASF License warnings.
13390
Reason Tests
Failed junit tests hadoop.ipc.TestCallQueueManager
hadoop.fs.adl.live.TestAdlSdkConfiguration
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-568/7/artifact/out/Dockerfile
GITHUB PR #568
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 3fa4caa9c9aa 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 469165e
Default Java 1.8.0_222
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-568/7/artifact/out/diff-compile-javac-root.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-568/7/artifact/out/diff-checkstyle-root.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-568/7/artifact/out/patch-unit-hadoop-common-project_hadoop-common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-568/7/artifact/out/patch-unit-hadoop-tools_hadoop-azure-datalake.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-568/7/testReport/
Max. process+thread count 609 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-tools/hadoop-aws hadoop-tools/hadoop-azure hadoop-tools/hadoop-azure-datalake U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-568/7/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@apache apache deleted a comment from hadoop-yetus Sep 18, 2019
@apache apache deleted a comment from hadoop-yetus Sep 18, 2019
@steveloughran
Copy link
Contributor Author

all checksums are legit, will fix

./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ChecksumFileSystem.java:30:import java.util.Locale;:8: Unused import - java.util.Locale. [UnusedImports]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileContext.java:50:import org.apache.hadoop.fs.impl.PathCapabilitiesSupport;:8: Unused import - org.apache.hadoop.fs.impl.PathCapabilitiesSupport. [UnusedImports]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/FsLinkResolution.java:76:    T apply(final AbstractFileSystem fs, final Path path):13: Redundant 'final' modifier. [RedundantModifier]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/FsLinkResolution.java:76:    T apply(final AbstractFileSystem fs, final Path path):42: Redundant 'final' modifier. [RedundantModifier]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/PathCapabilitiesSupport.java:30:@InterfaceAudience.Private: Missing a Javadoc comment. [JavadocType]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/impl/PathCapabilitiesSupport.java:30:@InterfaceAudience.Private:1: Utility classes should not have a public or default constructor. [HideUtilityClassConstructor]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java:34:import org.apache.hadoop.fs.CommonPathCapabilities;:8: Unused import - org.apache.hadoop.fs.CommonPathCapabilities. [UnusedImports]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java:125:import static org.apache.hadoop.fs.impl.PathCapabilitiesSupport.validatePathCapabilityArgs;:15: Unused import - org.apache.hadoop.fs.impl.PathCapabilitiesSupport.validatePathCapabilityArgs. [UnusedImports]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/client/DfsPathCapabilities.java:29:public final class DfsPathCapabilities {: Missing a Javadoc comment. [JavadocType]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java:49:import java.util.Locale;:8: Unused import - java.util.Locale. [UnusedImports]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java:66:import org.apache.hadoop.fs.CommonPathCapabilities;:8: Unused import - org.apache.hadoop.fs.CommonPathCapabilities. [UnusedImports]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java:80:import org.apache.hadoop.fs.PathCapabilities;:8: Unused import - org.apache.hadoop.fs.PathCapabilities. [UnusedImports]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java:140:import static org.apache.hadoop.fs.impl.PathCapabilitiesSupport.validatePathCapabilityArgs;:15: Unused import - org.apache.hadoop.fs.impl.PathCapabilitiesSupport.validatePathCapabilityArgs. [UnusedImports]
./hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java:89:import java.util.Locale;:8: Unused import - java.util.Locale. [UnusedImports]
./hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/select/SelectConstants.java:53:  public static final String S3_SELECT_CAPABILITY = "fs.s3a.capability.select.sql";: Line is longer than 80 characters (found 83). [LineLength]
./hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/commit/ITestCommitOperations.java:29:import org.junit.Assume;:8: Unused import - org.junit.Assume. [UnusedImports]

Copy link
Contributor

@ajfabbri ajfabbri left a comment

Choose a reason for hiding this comment

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

+1 LGTM. A couple of minor comments inline.

@@ -1371,4 +1373,16 @@ public boolean equals(Object other) {
new CompletableFuture<>(), () -> open(path, bufferSize));
}

public boolean hasPathCapability(final Path path,
final String capability)
Copy link
Contributor

Choose a reason for hiding this comment

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

Been talking about something like this for years, thanks for working on this. Taking a Path instead of a scheme seems right: it is flexible (general design, specific implementation applies here). Was curious about examples where different paths in the same FS would have different capabilities. I suppose S3A could have different buckets in different regions or with different configurations (e.g. permissions, or S3Guard enabled/disabled, etc.) Just noticed you mentioned ViewFS as well. Another good case for per-path capabilities.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Was curious about examples where different paths in the same FS would have different capabilities.

Files HDFS encryption zones behave differently; viewfs relays things, and any DFS whose mount points may have different semantics can do it. Oh, and WASB has an option for special path where leases need to be acquired before renames -HBase needs that


* Define and stabilize new cross-filesystem capability flags (preferred),
and so formally add a new `fs.capability` value.
* Use the schema of the filesystem to as a prefix for their own options,
Copy link
Contributor

Choose a reason for hiding this comment

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

/schema/scheme/? I often mix these up.


Similarly, there is no checking that the caller has the permission to
perform a specific operation: just because a feature is available on that
path does not mean that the caller can execute the operation.
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for making this distinction. We don't want perm checks in the capability query implementations unless necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not just that -it means that we can often avoid any round trip at all

steveloughran and others added 4 commits September 24, 2019 18:45
…pabilities.

This contains all the work to date, reapplied to trunk so that Yetus will take up the PR again.

Change-Id: Icfab71d177c88c75fd651d7eea56d3d1e8618f61
* Cut the Delegation Token probe as it was too complicated to get right; that can be added later.
* By having validatePathCapability(path, string) return the string of the locale-english-lower-case capability,
it can be used directlly in the switch() statement, reduce complexity/duplication in all uses, and avoid
uses forgetting to do the conversion.
* Javadocs for CommonPathCapabilities remove backlinks to FileSystem APIs: they're generic to FS and FC after all.
* ChRootedFileSystem calls the capability test on the full path.
* ContractTestUtils adds assertLacksPathCapabilities() assertion.

Change-Id: Ie5fdec9bb1e64d14880bbe8704ec0417d9073e2b
Testing: none yet, waiting for Yetus. ADLs, Azure, S3A to follow
also move capabilties off schemas into fs.schema.capability.

why?
-consistent with config options.
-may make it easier to pass these around (e.g in job confs)
-allows for more generic use than just FS/FC

Change-Id: Idef1162006aee664b16cefdb99e303fa2f3407dd
Change-Id: I30918995e3eee6b9a7c5da8d90c19f9c9aed2496
@steveloughran
Copy link
Contributor Author

thanks for the vote; just rebasing and retesting after s/schema/r/scheme in the markdown

@steveloughran steveloughran force-pushed the filesystem/HADOOP-15691-fs-path-capabilities branch from f17bbdb to 958c402 Compare September 24, 2019 17:47
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 81 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 9 new or modified test files.
_ trunk Compile Tests _
0 mvndep 74 Maven dependency ordering for branch
+1 mvninstall 1214 trunk passed
+1 compile 1075 trunk passed
+1 checkstyle 179 trunk passed
+1 mvnsite 299 trunk passed
+1 shadedclient 1318 branch has no errors when building and testing our client artifacts.
+1 javadoc 241 trunk passed
0 spotbugs 49 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 529 trunk passed
_ Patch Compile Tests _
0 mvndep 23 Maven dependency ordering for patch
+1 mvninstall 218 the patch passed
+1 compile 1037 the patch passed
-1 javac 1037 root generated 1 new + 1838 unchanged - 0 fixed = 1839 total (was 1838)
-0 checkstyle 180 root: The patch generated 16 new + 598 unchanged - 0 fixed = 614 total (was 598)
+1 mvnsite 290 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 803 patch has no errors when building and testing our client artifacts.
+1 javadoc 249 the patch passed
+1 findbugs 522 the patch passed
_ Other Tests _
+1 unit 592 hadoop-common in the patch passed.
+1 unit 129 hadoop-hdfs-client in the patch passed.
+1 unit 289 hadoop-hdfs-httpfs in the patch passed.
+1 unit 79 hadoop-aws in the patch passed.
+1 unit 89 hadoop-azure in the patch passed.
-1 unit 61 hadoop-azure-datalake in the patch failed.
+1 asflicense 48 The patch does not generate ASF License warnings.
9460
Reason Tests
Failed junit tests hadoop.fs.adl.live.TestAdlSdkConfiguration
Subsystem Report/Notes
Docker Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-568/8/artifact/out/Dockerfile
GITHUB PR #568
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 5160d3d3aa6c 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / afa1006
Default Java 1.8.0_222
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-568/8/artifact/out/diff-compile-javac-root.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-568/8/artifact/out/diff-checkstyle-root.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-568/8/artifact/out/patch-unit-hadoop-tools_hadoop-azure-datalake.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-568/8/testReport/
Max. process+thread count 1375 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-tools/hadoop-aws hadoop-tools/hadoop-azure hadoop-tools/hadoop-azure-datalake U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-568/8/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 70 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 9 new or modified test files.
_ trunk Compile Tests _
0 mvndep 69 Maven dependency ordering for branch
+1 mvninstall 1218 trunk passed
+1 compile 1192 trunk passed
+1 checkstyle 193 trunk passed
+1 mvnsite 298 trunk passed
+1 shadedclient 1356 branch has no errors when building and testing our client artifacts.
+1 javadoc 238 trunk passed
0 spotbugs 45 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 493 trunk passed
_ Patch Compile Tests _
0 mvndep 23 Maven dependency ordering for patch
+1 mvninstall 207 the patch passed
+1 compile 1068 the patch passed
-1 javac 1068 root generated 1 new + 1838 unchanged - 0 fixed = 1839 total (was 1838)
-0 checkstyle 180 root: The patch generated 16 new + 600 unchanged - 0 fixed = 616 total (was 600)
+1 mvnsite 289 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 811 patch has no errors when building and testing our client artifacts.
+1 javadoc 251 the patch passed
+1 findbugs 540 the patch passed
_ Other Tests _
+1 unit 577 hadoop-common in the patch passed.
+1 unit 126 hadoop-hdfs-client in the patch passed.
+1 unit 290 hadoop-hdfs-httpfs in the patch passed.
+1 unit 88 hadoop-aws in the patch passed.
+1 unit 83 hadoop-azure in the patch passed.
-1 unit 59 hadoop-azure-datalake in the patch failed.
+1 asflicense 46 The patch does not generate ASF License warnings.
9598
Reason Tests
Failed junit tests hadoop.fs.adl.live.TestAdlSdkConfiguration
Subsystem Report/Notes
Docker Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-568/9/artifact/out/Dockerfile
GITHUB PR #568
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux c1b2c13bf9e5 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / afa1006
Default Java 1.8.0_222
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-568/9/artifact/out/diff-compile-javac-root.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-568/9/artifact/out/diff-checkstyle-root.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-568/9/artifact/out/patch-unit-hadoop-tools_hadoop-azure-datalake.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-568/9/testReport/
Max. process+thread count 1346 (vs. ulimit of 5500)
modules C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs-client hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-tools/hadoop-aws hadoop-tools/hadoop-azure hadoop-tools/hadoop-azure-datalake U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-568/9/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@steveloughran
Copy link
Contributor Author

Test failure is https://issues.apache.org/jira/browse/HADOOP-16605; going ahead with commit

@steveloughran
Copy link
Contributor Author

committed to trunk -thanks everyone!

shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
…for TestFramework

Adding utilities and corresponding test for low and high level api

Author: Sanil Jain <snjain@linkedin.com>

Reviewers: Shanthoosh Venkataraman <spvenkat@usc.edu>

Closes apache#568 from Sanil15/SAMZA-1759 and squashes the following commits:

a4861089 [Sanil Jain] Reverting back travis increase for wait time
876a3a58 [Sanil Jain] Increase travis timeout
9e6482b1 [Sanil Jain] Fixing travis build, removing unused imports
526244e8 [Sanil Jain] Merge branch 'master' into SAMZA-1759
9f489acf [Sanil Jain] Moving tests that use MessageStreamAssert to same package name in test folder to use package private
a93e5a14 [Sanil Jain] Marking collection transient to ensure newer api changes work
5e6d3ed1 [Sanil Jain] Making MessageStreamAssert package private
a5a521cc [Sanil Jain] Splitting operator assertions outside StreamAssert to MessageStreamAssert, addressing review, renaming utils
d1e64180 [Sanil Jain] Cleaning unused imports
ff218ff7 [Sanil Jain] Removing contains method for operator level assertios for high level api
c5768772 [Sanil Jain] Merge branch 'SAMZA-1759' of https://github.com/Sanil15/samza into SAMZA-1759
c69d1bbb [Sanil Jain] StreamAssert Utilities for Low level and High Level Api, Adding More Test for Low Level api for testing multiple partitions and in mulithreaded mode
e3c8e2a5 [Sanil Jain] StreamAssert Utilities for Low level and High Level Api, Adding More Test for Low Level api for testing multiple partitions and in mulithreaded mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants