hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12122) Fix Hadoop should avoid unsafe split and append on fields that might be IPv6 literals
Date Thu, 08 Oct 2015 05:54:27 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14948116#comment-14948116
] 

Hadoop QA commented on HADOOP-12122:
------------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | pre-patch |  21m  6s | Findbugs (version 3.0.0) appears to be broken
on HADOOP-11890. |
| {color:green}+1{color} | @author |   0m  0s | The patch does not contain any @author tags.
|
| {color:green}+1{color} | tests included |   0m  0s | The patch appears to include 11 new
or modified test files. |
| {color:green}+1{color} | javac |   8m  9s | There were no new javac warning messages. |
| {color:green}+1{color} | javadoc |  10m 45s | There were no new javadoc warning messages.
|
| {color:red}-1{color} | release audit |   0m 15s | The applied patch generated 1 release
audit warnings. |
| {color:green}+1{color} | checkstyle |   4m 42s | There were no new checkstyle issues. |
| {color:red}-1{color} | whitespace |   0m  6s | The patch has 2  line(s) that end in whitespace.
Use git apply --whitespace=fix. |
| {color:green}+1{color} | install |   1m 39s | mvn install still works. |
| {color:green}+1{color} | eclipse:eclipse |   0m 32s | The patch built with eclipse:eclipse.
|
| {color:red}-1{color} | findbugs |  12m 41s | The patch appears to introduce 7 new Findbugs
(version 3.0.0) warnings. |
| {color:red}-1{color} | common tests |   7m 43s | Tests failed in hadoop-common. |
| {color:green}+1{color} | yarn tests |   1m 59s | Tests passed in hadoop-yarn-common. |
| {color:green}+1{color} | yarn tests |   0m 24s | Tests passed in hadoop-yarn-server-common.
|
| {color:green}+1{color} | yarn tests |   8m 33s | Tests passed in hadoop-yarn-server-nodemanager.
|
| {color:green}+1{color} | yarn tests |  56m  6s | Tests passed in hadoop-yarn-server-resourcemanager.
|
| {color:green}+1{color} | yarn tests |   0m 22s | Tests passed in hadoop-yarn-server-web-proxy.
|
| {color:red}-1{color} | hdfs tests | 196m  5s | Tests failed in hadoop-hdfs. |
| {color:red}-1{color} | hdfs tests |   0m 22s | Tests failed in hadoop-hdfs-client. |
| | | 331m 34s | |
\\
\\
|| Reason || Tests ||
| FindBugs | module:hadoop-hdfs-client |
| Failed unit tests | hadoop.metrics2.impl.TestGangliaMetrics |
|   | hadoop.hdfs.util.TestIPv6FormatCompatibility |
|   | hadoop.hdfs.TestRecoverStripedFile |
|   | hadoop.hdfs.TestLeaseRecovery2 |
|   | hadoop.hdfs.TestRemoteBlockReader |
|   | hadoop.hdfs.TestDFSStripedOutputStreamWithFailure010 |
|   | hadoop.hdfs.util.TestByteArrayManager |
| Failed build | hadoop-hdfs-client |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12765473/HADOOP-12122-HADOOP-11890.5.patch
|
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | HADOOP-11890 / f33be9a |
| Release Audit | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/patchReleaseAuditProblems.txt
|
| whitespace | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/whitespace.txt
|
| Findbugs warnings | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/newPatchFindbugsWarningshadoop-hdfs-client.html
|
| hadoop-common test log | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/testrun_hadoop-common.txt
|
| hadoop-yarn-common test log | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/testrun_hadoop-yarn-common.txt
|
| hadoop-yarn-server-common test log | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/testrun_hadoop-yarn-server-common.txt
|
| hadoop-yarn-server-nodemanager test log | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/testrun_hadoop-yarn-server-nodemanager.txt
|
| hadoop-yarn-server-resourcemanager test log | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/testrun_hadoop-yarn-server-resourcemanager.txt
|
| hadoop-yarn-server-web-proxy test log | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/testrun_hadoop-yarn-server-web-proxy.txt
|
| hadoop-hdfs test log | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/testrun_hadoop-hdfs.txt
|
| hadoop-hdfs-client test log | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/artifact/patchprocess/testrun_hadoop-hdfs-client.txt
|
| Test Results | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/testReport/ |
| Java | 1.7.0_55 |
| uname | Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep
3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/7779/console |


This message was automatically generated.

> Fix Hadoop should avoid unsafe split and append on fields that might be IPv6 literals
> -------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12122
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12122
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: HADOOP-11890
>            Reporter: Nate Edel
>            Assignee: Nemanja Matkovic
>         Attachments: HADOOP-12122-HADOOP-11890.0.patch, HADOOP-12122-HADOOP-11890.3.patch,
HADOOP-12122-HADOOP-11890.4.patch, HADOOP-12122-HADOOP-11890.5.patch, HADOOP-12122-HADOOP-12122.2.patch,
HADOOP-12122-HADOOP-12122.3.patch, HADOOP-12122.0.patch, lets_blow_up_a_lot_of_tests.patch
>
>
> There are a fairly extensive number of locations found via code inspection which use
unsafe methods of handling addresses in a dual-stack or IPv6-only world:
> - splits on the first ":" assuming that delimits a host from a port
> - produces a host port pair by appending :port blindly (Java prefers [ipv6]:port which
is the standard for IPv6 URIs)
> - depends on the behavior of InetSocketAddress.toString() which produces the above.
> This patch fixes those metaphors that I can find above, and replaces calls to InetSocketAddress.toString()
with a wrapper that properly brackets the IPv6 address if there is one.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message