[ https://issues.apache.org/jira/browse/HBASE-21048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809323#comment-16809323 ]
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 28s{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} 6m 48s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 29s{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 42s{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 28s{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:green}+1{color} | {color:green} mvninstall {color} | {color:green} 3m 44s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 26s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 26s{color} | {color:green} hbase-http generated 0 new + 17 unchanged - 2 fixed = 17 total (was 19) {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 12s{color} | {color:red} hbase-http: The patch generated 1 new + 4 unchanged - 4 fixed = 5 total (was 8) {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 2s{color} | {color:green} The patch has no ill-formed XML file. {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 3s{color} | {color:green} patch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 7m 54s{color} | {color:green} Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 39s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 14s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 1m 15s{color} | {color:green} hbase-http in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 8s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 32m 21s{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/12954927/HBASE-21048.master.004.patch | | Optional Tests | dupname asflicense javac javadoc unit shadedjars hadoopcheck xml compile findbugs hbaseanti checkstyle | | uname | Linux 36c4150e99d1 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build@2/component/dev-support/hbase-personality.sh | | git revision | master / a3110afcda | | maven | version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) | | Default Java | 1.8.0_181 | | findbugs | v3.1.11 | | checkstyle | https://builds.apache.org/job/PreCommit-HBASE-Build/16636/artifact/patchprocess/diff-checkstyle-hbase-http.txt | | Test Results | https://builds.apache.org/job/PreCommit-HBASE-Build/16636/testReport/ | | Max. process+thread count | 282 (vs. ulimit of 10000) | | modules | C: hbase-http U: hbase-http | | Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/16636/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, > HBASE-21048.master.004.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)