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

HDDS-1224. Restructure code to validate the response from server in the Read path. #793

Closed
wants to merge 8 commits into from

Conversation

bshashikant
Copy link
Contributor

No description provided.

@bshashikant bshashikant requested a review from mukul1987 May 2, 2019 15:27
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 44 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 5 new or modified test files.
_ trunk Compile Tests _
0 mvndep 23 Maven dependency ordering for branch
+1 mvninstall 409 trunk passed
+1 compile 211 trunk passed
+1 checkstyle 54 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 876 branch has no errors when building and testing our client artifacts.
+1 javadoc 137 trunk passed
0 spotbugs 282 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 477 trunk passed
-0 patch 308 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 25 Maven dependency ordering for patch
+1 mvninstall 422 the patch passed
+1 compile 203 the patch passed
+1 javac 203 the patch passed
-0 checkstyle 29 hadoop-hdds: The patch generated 41 new + 0 unchanged - 0 fixed = 41 total (was 0)
+1 mvnsite 0 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 1 The patch has no ill-formed XML file.
+1 shadedclient 717 patch has no errors when building and testing our client artifacts.
+1 javadoc 140 the patch passed
-1 findbugs 249 hadoop-hdds generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-1 findbugs 208 hadoop-ozone in the patch failed.
_ Other Tests _
-1 unit 159 hadoop-hdds in the patch failed.
-1 unit 50 hadoop-ozone in the patch failed.
+1 asflicense 28 The patch does not generate ASF License warnings.
4612
Reason Tests
FindBugs module:hadoop-hdds
Inconsistent synchronization of org.apache.hadoop.hdds.scm.storage.BlockInputStream.chunkIndex; locked 96% of time Unsynchronized access at BlockInputStream.java:96% of time Unsynchronized access at BlockInputStream.java:[line 303]
Failed junit tests hadoop.ozone.container.common.statemachine.commandhandler.TestCloseContainerCommandHandler
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-793/1/artifact/out/Dockerfile
GITHUB PR #793
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml
uname Linux 9943a2f5c261 4.4.0-144-generic #170~14.04.1-Ubuntu SMP Mon Mar 18 15:02:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 6a42745
Default Java 1.8.0_191
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-793/1/artifact/out/diff-checkstyle-hadoop-hdds.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-793/1/artifact/out/new-findbugs-hadoop-hdds.html
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-793/1/artifact/out/patch-findbugs-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-793/1/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-793/1/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-793/1/testReport/
Max. process+thread count 370 (vs. ulimit of 5500)
modules C: hadoop-hdds/client hadoop-hdds/common hadoop-ozone/client hadoop-ozone/integration-test U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-793/1/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.

@Override
public void connect() throws Exception {
*/
@Override public void connect() throws Exception {
Copy link
Member

Choose a reason for hiding this comment

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

What's the purpose of modifying it?

boolean isEmpty() {
return streamEntries.isEmpty();
}
}
Copy link
Member

@jiwq jiwq May 7, 2019

Choose a reason for hiding this comment

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

Suggested change
}
}

Should better add a new line at the end of file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are changes from a different patch altogether and not related to the issue.

*/
public class BlockOutputStreamEntryPool {

public static final Logger LOG =
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
public static final Logger LOG =
private static final Logger LOG =

@@ -83,15 +85,15 @@
* data nodes.
*
* @param pipeline - Pipeline that defines the machines.
* @param config -- Ozone Config
* @param config -- Ozone Config
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* @param config -- Ozone Config
* @param config - Ozone Config

@@ -69,7 +71,8 @@
* The underlying RPC mechanism can be chosen via the constructor.
*/
public final class XceiverClientRatis extends XceiverClientSpi {
static final Logger LOG = LoggerFactory.getLogger(XceiverClientRatis.class);
public static final Logger LOG =
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
public static final Logger LOG =
private static final Logger LOG =

@@ -121,12 +121,12 @@
TimeDuration.valueOf(3000, TimeUnit.MILLISECONDS);
public static final String DFS_RATIS_CLIENT_REQUEST_MAX_RETRIES_KEY =
"dfs.ratis.client.request.max.retries";
public static final int DFS_RATIS_CLIENT_REQUEST_MAX_RETRIES_DEFAULT = 20;
public static final int DFS_RATIS_CLIENT_REQUEST_MAX_RETRIES_DEFAULT = 180;
Copy link
Member

Choose a reason for hiding this comment

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

What's the purpose of modifying it?

@bshashikant bshashikant closed this May 9, 2019
@bshashikant bshashikant deleted the HDDS-1224 branch May 9, 2019 13:49
@bshashikant
Copy link
Contributor Author

Closing this pull request, will create a new one to address the issue.

shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
Author: Jagadish <jvenkatraman@linkedin.com>

Reviewers: Jagadish<jagadish@apache.org>

Closes apache#793 from vjagadish1989/website-reorg30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants