[jira] [Commented] (HIVE-20161) Do Not Print StackTraces to STDERR in ParseDriver
[ https://issues.apache.org/jira/browse/HIVE-20161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680513#comment-16680513 ] Prasanth Jayachandran commented on HIVE-20161: -- +1 > Do Not Print StackTraces to STDERR in ParseDriver > - > > Key: HIVE-20161 > URL: https://issues.apache.org/jira/browse/HIVE-20161 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Affects Versions: 3.0.0, 4.0.0 >Reporter: BELUGA BEHR >Assignee: BELUGA BEHR >Priority: Minor > Labels: newbie, noob > Attachments: HIVE-20161.1.patch > > > https://github.com/apache/hive/blob/6d890faf22fd1ede3658a5eed097476eab3c67e9/ql/src/java/org/apache/hadoop/hive/ql/exec/JoinOperator.java > {code} > // Do not print stack trace to STDERR - remove this, just throw the > HiveException > } catch (Exception e) { > e.printStackTrace(); > throw new HiveException(e); > } > ... > // Do not log and throw. log *or* throw. In this case, just throw. Remove > logging. > // Remove explicit 'return' call. No need for it. > try { > skewJoinKeyContext.endGroup(); > } catch (IOException e) { > LOG.error(e.getMessage(), e); > throw new HiveException(e); > } > return; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20161) Do Not Print StackTraces to STDERR in ParseDriver
[ https://issues.apache.org/jira/browse/HIVE-20161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680017#comment-16680017 ] Hive QA commented on HIVE-20161: | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {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:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 30s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 3s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 36s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 3m 46s{color} | {color:blue} ql in master has 2316 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 54s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 20s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 0s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 0s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 35s{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} 3m 56s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 53s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 12s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 22m 15s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-14813/dev-support/hive-personality.sh | | git revision | master / ffb78b5 | | Default Java | 1.8.0_111 | | findbugs | v3.0.0 | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-14813/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > Do Not Print StackTraces to STDERR in ParseDriver > - > > Key: HIVE-20161 > URL: https://issues.apache.org/jira/browse/HIVE-20161 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Affects Versions: 3.0.0, 4.0.0 >Reporter: BELUGA BEHR >Assignee: BELUGA BEHR >Priority: Minor > Labels: newbie, noob > Attachments: HIVE-20161.1.patch > > > https://github.com/apache/hive/blob/6d890faf22fd1ede3658a5eed097476eab3c67e9/ql/src/java/org/apache/hadoop/hive/ql/exec/JoinOperator.java > {code} > // Do not print stack trace to STDERR - remove this, just throw the > HiveException > } catch (Exception e) { > e.printStackTrace(); > throw new HiveException(e); > } > ... > // Do not log and throw. log *or* throw. In this case, just throw. Remove > logging. > // Remove explicit 'return' call. No need for it. > try { > skewJoinKeyContext.endGroup(); > } catch (IOException e) { > LOG.error(e.getMessage(), e); > throw new HiveException(e); > } > return; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20161) Do Not Print StackTraces to STDERR in ParseDriver
[ https://issues.apache.org/jira/browse/HIVE-20161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680090#comment-16680090 ] Hive QA commented on HIVE-20161: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12947276/HIVE-20161.1.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 15526 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/14813/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14813/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14813/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12947276 - PreCommit-HIVE-Build > Do Not Print StackTraces to STDERR in ParseDriver > - > > Key: HIVE-20161 > URL: https://issues.apache.org/jira/browse/HIVE-20161 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Affects Versions: 3.0.0, 4.0.0 >Reporter: BELUGA BEHR >Assignee: BELUGA BEHR >Priority: Minor > Labels: newbie, noob > Attachments: HIVE-20161.1.patch > > > https://github.com/apache/hive/blob/6d890faf22fd1ede3658a5eed097476eab3c67e9/ql/src/java/org/apache/hadoop/hive/ql/exec/JoinOperator.java > {code} > // Do not print stack trace to STDERR - remove this, just throw the > HiveException > } catch (Exception e) { > e.printStackTrace(); > throw new HiveException(e); > } > ... > // Do not log and throw. log *or* throw. In this case, just throw. Remove > logging. > // Remove explicit 'return' call. No need for it. > try { > skewJoinKeyContext.endGroup(); > } catch (IOException e) { > LOG.error(e.getMessage(), e); > throw new HiveException(e); > } > return; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)