[ https://issues.apache.org/jira/browse/HBASE-21048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16725008#comment-16725008 ]
Hadoop QA commented on HBASE-21048: ----------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 11s{color} | {color:blue} Docker mode activated. {color} | || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green} 0m 0s{color} | {color:green} Patch does not have any anti-patterns. {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:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 44s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 21s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 13s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 14s{color} | {color:green} branch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 27s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 12s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:red}-1{color} | {color:red} mvninstall {color} | {color:red} 0m 7s{color} | {color:red} root in the patch failed. {color} | | {color:red}-1{color} | {color:red} compile {color} | {color:red} 0m 7s{color} | {color:red} hbase-http in the patch failed. {color} | | {color:red}-1{color} | {color:red} javac {color} | {color:red} 0m 7s{color} | {color:red} hbase-http in the patch failed. {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 7s{color} | {color:red} The patch fails to run checkstyle in hbase-http {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} xml {color} | {color:green} 0m 1s{color} | {color:green} The patch has no ill-formed XML file. {color} | | {color:red}-1{color} | {color:red} shadedjars {color} | {color:red} 0m 8s{color} | {color:red} patch has 13 errors when building our shaded downstream artifacts. {color} | | {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 0m 7s{color} | {color:red} The patch causes 13 errors with Hadoop v2.7.4. {color} | | {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 0m 15s{color} | {color:red} The patch causes 13 errors with Hadoop v3.0.0. {color} | | {color:red}-1{color} | {color:red} findbugs {color} | {color:red} 0m 6s{color} | {color:red} hbase-http in the patch failed. {color} | | {color:red}-1{color} | {color:red} javadoc {color} | {color:red} 0m 7s{color} | {color:red} hbase-http in the patch failed. {color} | || || || || {color:brown} Other Tests {color} || | {color:red}-1{color} | {color:red} unit {color} | {color:red} 0m 7s{color} | {color:red} hbase-http in the patch failed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 7s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 12m 5s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:b002b0b | | JIRA Issue | HBASE-21048 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12952353/HBASE-21048.master.003.patch | | Optional Tests | dupname asflicense javac javadoc unit shadedjars hadoopcheck xml compile findbugs hbaseanti checkstyle | | uname | Linux c2c012b4cae1 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh | | git revision | master / 8991877bb2 | | maven | version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) | | Default Java | 1.8.0_181 | | findbugs | v3.1.0-RC3 | | mvninstall | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/artifact/patchprocess/patch-mvninstall-root.txt | | compile | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/artifact/patchprocess/patch-compile-hbase-http.txt | | javac | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/artifact/patchprocess/patch-compile-hbase-http.txt | | checkstyle | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/artifact/patchprocess//testptch/patchprocess/maven-patch-checkstyle-hbase-http.txt | | shadedjars | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/artifact/patchprocess/patch-shadedjars.txt | | hadoopcheck | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/artifact/patchprocess/patch-javac-2.7.4.txt | | hadoopcheck | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/artifact/patchprocess/patch-javac-3.0.0.txt | | findbugs | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/artifact/patchprocess/patch-findbugs-hbase-http.txt | | javadoc | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/artifact/patchprocess/patch-javadoc-hbase-http.txt | | unit | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/artifact/patchprocess/patch-unit-hbase-http.txt | | Test Results | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/testReport/ | | Max. process+thread count | 87 (vs. ulimit of 10000) | | modules | C: hbase-http U: hbase-http | | Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/15327/console | | Powered by | Apache Yetus 0.8.0 http://yetus.apache.org | This message was automatically generated. > Get LogLevel is not working from console in secure environment > -------------------------------------------------------------- > > Key: HBASE-21048 > URL: https://issues.apache.org/jira/browse/HBASE-21048 > Project: HBase > Issue Type: Bug > Reporter: Chandra Sekhar > Assignee: Wei-Chiu Chuang > Priority: Major > Attachments: HBASE-21048.001.patch, HBASE-21048.master.001.patch, > HBASE-21048.master.002.patch, HBASE-21048.master.003.patch > > > When we try to get log level of specific package in secure environment, > getting SocketException. > {code:java} > hbase/master/bin# ./hbase org.apache.hadoop.hbase.http.log.LogLevel -getlevel > host-xxxx:16010 org.apache.hadoop.hbase > Connecting to http://host-xxxx:16010/logLevel?log=org.apache.hadoop.hbase > java.net.SocketException: Unexpected end of file from server > {code} > It is trying to connect http instead of https > code snippet that handling only http in *LogLevel.java* > {code:java} > public static void main(String[] args) { > if (args.length == 3 && "-getlevel".equals(args[0])) { > process("http://" + args[1] + "/logLevel?log=" + args[2]); > return; > } > else if (args.length == 4 && "-setlevel".equals(args[0])) { > process("http://" + args[1] + "/logLevel?log=" + args[2] > + "&level=" + args[3]); > return; > } > System.err.println(USAGES); > System.exit(-1); > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)