[jira] [Commented] (HDFS-9213) Minicluster with Kerberos generates some stacks when checking the ports
[ https://issues.apache.org/jira/browse/HDFS-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16108402#comment-16108402 ] Hadoop QA commented on HDFS-9213: - | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 19s{color} | {color:blue} Docker mode activated. {color} | || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:red}-1{color} | {color:red} test4tests {color} | {color:red} 0m 0s{color} | {color:red} The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color} | || || || || {color:brown} trunk Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 15m 59s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 59s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 42s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 1m 7s{color} | {color:green} trunk passed {color} | | {color:red}-1{color} | {color:red} findbugs {color} | {color:red} 1m 55s{color} | {color:red} hadoop-hdfs-project/hadoop-hdfs in trunk has 10 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 47s{color} | {color:green} trunk passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 0s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 58s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 58s{color} | {color:green} the patch passed {color} | | {color:orange}-0{color} | {color:orange} checkstyle {color} | {color:orange} 0m 38s{color} | {color:orange} hadoop-hdfs-project/hadoop-hdfs: The patch generated 3 new + 7 unchanged - 0 fixed = 10 total (was 7) {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 1m 5s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 2m 0s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 46s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:red}-1{color} | {color:red} unit {color} | {color:red}102m 9s{color} | {color:red} hadoop-hdfs in the patch failed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 16s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black}132m 20s{color} | {color:black} {color} | \\ \\ || Reason || Tests || | Failed junit tests | hadoop.hdfs.server.namenode.metrics.TestNameNodeMetrics | | | hadoop.hdfs.TestDFSStripedOutputStreamWithFailure080 | | | hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting | | | hadoop.hdfs.server.namenode.ha.TestPipelinesFailover | | | hadoop.hdfs.TestDFSStripedOutputStreamWithFailure150 | | | hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure | \\ \\ || Subsystem || Report/Notes || | Docker | Image:yetus/hadoop:14b5c93 | | JIRA Issue | HDFS-9213 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12766796/hdfs-9213.v1.patch | | Optional Tests | asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle | | uname | Linux 24833789ce4b 3.13.0-123-generic #172-Ubuntu SMP Mon Jun 26 18:04:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh | | git revision | trunk / a4aa1cb | | Default Java | 1.8.0_131 | | findbugs | v3.1.0-RC1 | | findbugs | https://builds.apache.org/job/PreCommit-HDFS-Build/20512/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html | | checkstyle | https://builds.apache.org/job/PreCommit-HDFS-Build/20512/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt | | unit |
[jira] [Commented] (HDFS-9213) Minicluster with Kerberos generates some stacks when checking the ports
[ https://issues.apache.org/jira/browse/HDFS-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16108321#comment-16108321 ] mingleizhang commented on HDFS-9213: We should keep forward working on this jira. In flink project, we can not run some tests until this issue fixed. > Minicluster with Kerberos generates some stacks when checking the ports > --- > > Key: HDFS-9213 > URL: https://issues.apache.org/jira/browse/HDFS-9213 > Project: Hadoop HDFS > Issue Type: Bug > Components: security >Affects Versions: 3.0.0-alpha1 >Reporter: Nicolas Liochon >Assignee: Nicolas Liochon >Priority: Minor > Attachments: hdfs-9213.v1.patch, hdfs-9213.v1.patch > > > When using the minicluster with kerberos the various checks in > SecureDataNodeStarter fail because the ports are not fixed. > Stacks like this one: > {quote} > java.lang.RuntimeException: Unable to bind on specified streaming port in > secure context. Needed 0, got 49670 > at > org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.getSecureResources(SecureDataNodeStarter.java:108) > {quote} > There is already a setting to desactivate this type of check for testing, it > could be used here as well -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Commented] (HDFS-9213) Minicluster with Kerberos generates some stacks when checking the ports
[ https://issues.apache.org/jira/browse/HDFS-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16108322#comment-16108322 ] mingleizhang commented on HDFS-9213: [~linyiqun] Could you please take a look on this PR ? Thanks. :) > Minicluster with Kerberos generates some stacks when checking the ports > --- > > Key: HDFS-9213 > URL: https://issues.apache.org/jira/browse/HDFS-9213 > Project: Hadoop HDFS > Issue Type: Bug > Components: security >Affects Versions: 3.0.0-alpha1 >Reporter: Nicolas Liochon >Assignee: Nicolas Liochon >Priority: Minor > Attachments: hdfs-9213.v1.patch, hdfs-9213.v1.patch > > > When using the minicluster with kerberos the various checks in > SecureDataNodeStarter fail because the ports are not fixed. > Stacks like this one: > {quote} > java.lang.RuntimeException: Unable to bind on specified streaming port in > secure context. Needed 0, got 49670 > at > org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.getSecureResources(SecureDataNodeStarter.java:108) > {quote} > There is already a setting to desactivate this type of check for testing, it > could be used here as well -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Commented] (HDFS-9213) Minicluster with Kerberos generates some stacks when checking the ports
[ https://issues.apache.org/jira/browse/HDFS-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15458176#comment-15458176 ] Maximilian Michels commented on HDFS-9213: -- It would be great to run tests with a secure cluster Datanode without root. Isn't this relatively easy to fix for the next release version? What is blocking the fix? > Minicluster with Kerberos generates some stacks when checking the ports > --- > > Key: HDFS-9213 > URL: https://issues.apache.org/jira/browse/HDFS-9213 > Project: Hadoop HDFS > Issue Type: Bug > Components: security >Affects Versions: 3.0.0-alpha1 >Reporter: Nicolas Liochon >Assignee: Nicolas Liochon >Priority: Minor > Attachments: hdfs-9213.v1.patch, hdfs-9213.v1.patch > > > When using the minicluster with kerberos the various checks in > SecureDataNodeStarter fail because the ports are not fixed. > Stacks like this one: > {quote} > java.lang.RuntimeException: Unable to bind on specified streaming port in > secure context. Needed 0, got 49670 > at > org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.getSecureResources(SecureDataNodeStarter.java:108) > {quote} > There is already a setting to desactivate this type of check for testing, it > could be used here as well -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Commented] (HDFS-9213) Minicluster with Kerberos generates some stacks when checking the ports
[ https://issues.apache.org/jira/browse/HDFS-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15370975#comment-15370975 ] Vijay Srinivasaraghavan commented on HDFS-9213: --- I was able to move forward by setting following configurations. There is aslo couple of flags that you need to enable in MiniDFSCluster to support below configurations. Hadoop Configurations: conf.set("dfs.datanode.address", "localhost:1002"); conf.set("dfs.datanode.hostname", "localhost"); conf.set("dfs.datanode.http.address", "localhost:1003"); DFSMiniCluster: MiniDFSCluster.Builder builder = new MiniDFSCluster.Builder(conf); builder.checkDataNodeAddrConfig(true); builder.checkDataNodeHostConfig(true); You also need to enable permissions to allow the java process to bind to these privileged ports. For Ubuntu setup, I was using below command to enable it. setcap 'cap_net_bind_service=+ep' /path/to/java It looks like, with this setup we may not need additional patch? > Minicluster with Kerberos generates some stacks when checking the ports > --- > > Key: HDFS-9213 > URL: https://issues.apache.org/jira/browse/HDFS-9213 > Project: Hadoop HDFS > Issue Type: Bug > Components: security >Affects Versions: 3.0.0-alpha1 >Reporter: Nicolas Liochon >Assignee: Nicolas Liochon >Priority: Minor > Fix For: 3.0.0-alpha1 > > Attachments: hdfs-9213.v1.patch, hdfs-9213.v1.patch > > > When using the minicluster with kerberos the various checks in > SecureDataNodeStarter fail because the ports are not fixed. > Stacks like this one: > {quote} > java.lang.RuntimeException: Unable to bind on specified streaming port in > secure context. Needed 0, got 49670 > at > org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.getSecureResources(SecureDataNodeStarter.java:108) > {quote} > There is already a setting to desactivate this type of check for testing, it > could be used here as well -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Commented] (HDFS-9213) Minicluster with Kerberos generates some stacks when checking the ports
[ https://issues.apache.org/jira/browse/HDFS-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15370067#comment-15370067 ] Hadoop QA commented on HDFS-9213: - | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 23s{color} | {color:blue} Docker mode activated. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:red}-1{color} | {color:red} test4tests {color} | {color:red} 0m 0s{color} | {color:red} The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 8m 9s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 50s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 27s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 55s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 12s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 43s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 57s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 52s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 45s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 45s{color} | {color:green} the patch passed {color} | | {color:orange}-0{color} | {color:orange} checkstyle {color} | {color:orange} 0m 23s{color} | {color:orange} hadoop-hdfs-project/hadoop-hdfs: The patch generated 3 new + 7 unchanged - 0 fixed = 10 total (was 7) {color} | | {color:green}+1{color} | {color:green} mvnsite {color} | {color:green} 0m 50s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 10s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 1m 53s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 58s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} unit {color} | {color:red} 74m 51s{color} | {color:red} hadoop-hdfs in the patch failed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 19s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 96m 5s{color} | {color:black} {color} | \\ \\ || Reason || Tests || | Failed junit tests | hadoop.hdfs.server.datanode.TestLargeBlockReport | \\ \\ || Subsystem || Report/Notes || | Docker | Image:yetus/hadoop:9560f25 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12766796/hdfs-9213.v1.patch | | JIRA Issue | HDFS-9213 | | Optional Tests | asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle | | uname | Linux b91949ee43da 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 | | Build tool | maven | | Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh | | git revision | trunk / 0fd3980 | | Default Java | 1.8.0_91 | | findbugs | v3.0.0 | | checkstyle | https://builds.apache.org/job/PreCommit-HDFS-Build/16015/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt | | unit | https://builds.apache.org/job/PreCommit-HDFS-Build/16015/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/16015/testReport/ | | modules | C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/16015/console | | Powered by | Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > Minicluster with Kerberos generates some
[jira] [Commented] (HDFS-9213) Minicluster with Kerberos generates some stacks when checking the ports
[ https://issues.apache.org/jira/browse/HDFS-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15370010#comment-15370010 ] Vijay Srinivasaraghavan commented on HDFS-9213: --- I am seeing same error while trying to secure MiniDFSCluster using MiniKDC setup. DataNode is not starting and failing with the error message java.lang.RuntimeException: Unable to bind on specified streaming port in secure context. Needed 0, got 39319 at org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.getSecureResources(SecureDataNodeStarter.java:107) at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:1213) I am setting below configurations to enable the secure cluster deployment. Are you also seeing similar issue while starting miniDFSCluster with security enabled? conf.set(DFS_NAMENODE_USER_NAME_KEY, testPrincipal); conf.set(DFS_NAMENODE_KEYTAB_FILE_KEY, testKeytab); conf.set(DFS_DATANODE_USER_NAME_KEY, testPrincipal); conf.set(DFS_DATANODE_KEYTAB_FILE_KEY, testKeytab); conf.set(DFS_WEB_AUTHENTICATION_KERBEROS_PRINCIPAL_KEY, testPrincipal); conf.setBoolean(DFS_BLOCK_ACCESS_TOKEN_ENABLE_KEY, true); conf.set("dfs.data.transfer.protection", dataTransferProtection); conf.set(DFS_HTTP_POLICY_KEY, HttpConfig.Policy.HTTP_ONLY.name()); conf.set(DFS_ENCRYPT_DATA_TRANSFER_KEY,"false"); > Minicluster with Kerberos generates some stacks when checking the ports > --- > > Key: HDFS-9213 > URL: https://issues.apache.org/jira/browse/HDFS-9213 > Project: Hadoop HDFS > Issue Type: Bug > Components: security >Affects Versions: 3.0.0-alpha1 >Reporter: Nicolas Liochon >Assignee: Nicolas Liochon >Priority: Minor > Fix For: 3.0.0-alpha1 > > Attachments: hdfs-9213.v1.patch, hdfs-9213.v1.patch > > > When using the minicluster with kerberos the various checks in > SecureDataNodeStarter fail because the ports are not fixed. > Stacks like this one: > {quote} > java.lang.RuntimeException: Unable to bind on specified streaming port in > secure context. Needed 0, got 49670 > at > org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.getSecureResources(SecureDataNodeStarter.java:108) > {quote} > There is already a setting to desactivate this type of check for testing, it > could be used here as well -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Commented] (HDFS-9213) Minicluster with Kerberos generates some stacks when checking the ports
[ https://issues.apache.org/jira/browse/HDFS-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14959062#comment-14959062 ] Hadoop QA commented on HDFS-9213: - \\ \\ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:red}-1{color} | pre-patch | 18m 14s | Pre-patch trunk has 1 extant Findbugs (version 3.0.0) warnings. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:red}-1{color} | tests included | 0m 0s | The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. | | {color:green}+1{color} | javac | 8m 0s | There were no new javac warning messages. | | {color:green}+1{color} | javadoc | 10m 31s | There were no new javadoc warning messages. | | {color:red}-1{color} | release audit | 0m 17s | The applied patch generated 1 release audit warnings. | | {color:red}-1{color} | checkstyle | 1m 25s | The applied patch generated 3 new checkstyle issues (total was 7, now 10). | | {color:green}+1{color} | whitespace | 0m 0s | The patch has no lines that end in whitespace. | | {color:green}+1{color} | install | 1m 27s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 34s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | findbugs | 2m 30s | The patch does not introduce any new Findbugs (version 3.0.0) warnings. | | {color:green}+1{color} | native | 3m 14s | Pre-build of native portion | | {color:red}-1{color} | hdfs tests | 49m 12s | Tests failed in hadoop-hdfs. | | | | 95m 30s | | \\ \\ || Reason || Tests || | Failed unit tests | hadoop.hdfs.server.datanode.TestBPOfferService | | | hadoop.fs.TestGlobPaths | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12766796/hdfs-9213.v1.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / 08f5de1 | | Pre-patch Findbugs warnings | https://builds.apache.org/job/PreCommit-HDFS-Build/13003/artifact/patchprocess/trunkFindbugsWarningshadoop-hdfs.html | | Release Audit | https://builds.apache.org/job/PreCommit-HDFS-Build/13003/artifact/patchprocess/patchReleaseAuditProblems.txt | | checkstyle | https://builds.apache.org/job/PreCommit-HDFS-Build/13003/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt | | hadoop-hdfs test log | https://builds.apache.org/job/PreCommit-HDFS-Build/13003/artifact/patchprocess/testrun_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/13003/testReport/ | | Java | 1.7.0_55 | | uname | Linux asf904.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-HDFS-Build/13003/console | This message was automatically generated. > Minicluster with Kerberos generates some stacks when checking the ports > --- > > Key: HDFS-9213 > URL: https://issues.apache.org/jira/browse/HDFS-9213 > Project: Hadoop HDFS > Issue Type: Bug > Components: security >Affects Versions: 3.0.0 >Reporter: Nicolas Liochon >Assignee: Nicolas Liochon >Priority: Minor > Fix For: 3.0.0 > > Attachments: hdfs-9213.v1.patch, hdfs-9213.v1.patch > > > When using the minicluster with kerberos the various checks in > SecureDataNodeStarter fail because the ports are not fixed. > Stacks like this one: > {quote} > java.lang.RuntimeException: Unable to bind on specified streaming port in > secure context. Needed 0, got 49670 > at > org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.getSecureResources(SecureDataNodeStarter.java:108) > {quote} > There is already a setting to desactivate this type of check for testing, it > could be used here as well -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-9213) Minicluster with Kerberos generates some stacks when checking the ports
[ https://issues.apache.org/jira/browse/HDFS-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14949415#comment-14949415 ] Hadoop QA commented on HDFS-9213: - \\ \\ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 20m 59s | Pre-patch trunk compilation is healthy. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:red}-1{color} | tests included | 0m 0s | The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. | | {color:green}+1{color} | javac | 9m 4s | There were no new javac warning messages. | | {color:green}+1{color} | javadoc | 11m 46s | There were no new javadoc warning messages. | | {color:red}-1{color} | release audit | 0m 21s | The applied patch generated 1 release audit warnings. | | {color:red}-1{color} | checkstyle | 1m 39s | The applied patch generated 3 new checkstyle issues (total was 7, now 10). | | {color:green}+1{color} | whitespace | 0m 0s | The patch has no lines that end in whitespace. | | {color:green}+1{color} | install | 1m 47s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 37s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | findbugs | 2m 51s | The patch does not introduce any new Findbugs (version 3.0.0) warnings. | | {color:green}+1{color} | native | 3m 34s | Pre-build of native portion | | {color:red}-1{color} | hdfs tests | 238m 17s | Tests failed in hadoop-hdfs. | | | | 290m 58s | | \\ \\ || Reason || Tests || | Failed unit tests | hadoop.hdfs.TestReplaceDatanodeOnFailure | | | hadoop.hdfs.server.namenode.TestFileTruncate | | | hadoop.hdfs.TestDFSClientRetries | | Timed out tests | org.apache.hadoop.hdfs.tools.TestDFSAdminWithHA | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12765623/hdfs-9213.v1.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / 1107bd3 | | Release Audit | https://builds.apache.org/job/PreCommit-HDFS-Build/12868/artifact/patchprocess/patchReleaseAuditProblems.txt | | checkstyle | https://builds.apache.org/job/PreCommit-HDFS-Build/12868/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt | | hadoop-hdfs test log | https://builds.apache.org/job/PreCommit-HDFS-Build/12868/artifact/patchprocess/testrun_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/12868/testReport/ | | Java | 1.7.0_55 | | uname | Linux asf909.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-HDFS-Build/12868/console | This message was automatically generated. > Minicluster with Kerberos generates some stacks when checking the ports > --- > > Key: HDFS-9213 > URL: https://issues.apache.org/jira/browse/HDFS-9213 > Project: Hadoop HDFS > Issue Type: Bug > Components: security >Affects Versions: 3.0.0 >Reporter: Nicolas Liochon >Assignee: Nicolas Liochon >Priority: Minor > Fix For: 3.0.0 > > Attachments: hdfs-9213.v1.patch > > > When using the minicluster with kerberos the various checks in > SecureDataNodeStarter fail because the ports are not fixed. > Stacks like this one: > {quote} > java.lang.RuntimeException: Unable to bind on specified streaming port in > secure context. Needed 0, got 49670 > at > org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.getSecureResources(SecureDataNodeStarter.java:108) > {quote} > There is already a setting to desactivate this type of check for testing, it > could be used here as well -- This message was sent by Atlassian JIRA (v6.3.4#6332)