[ https://issues.apache.org/jira/browse/HIVE-5315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13994197#comment-13994197 ]
Hive QA commented on HIVE-5315: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12605156/HIVE-5315.patch {color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 5436 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_stats_partscan_1_23 org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_root_dir_external_table {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/161/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/161/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 2 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12605156 > Cannot attach debugger to Hiveserver2 > -------------------------------------- > > Key: HIVE-5315 > URL: https://issues.apache.org/jira/browse/HIVE-5315 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: Kousuke Saruta > Assignee: Kousuke Saruta > Fix For: 0.14.0 > > Attachments: HIVE-5315.patch > > > In current implementation, bin/hive retrieves HADOOP_VERSION like as follows > {code} > HADOOP_VERSION=$($HADOOP version | awk '{if (NR == 1) {print $2;}}'); > {code} > But, sometimes, "hadoop version" doesn't show version information at the > first line. > If HADOOP_VERSION is not retrieve collectly, Hive or related processes will > not be up. > I faced this situation when I try to debug Hiveserver2 with debug option like > as follows > {code} > -Xdebug -Xrunjdwp:trunsport=dt_socket,suspend=n,server=y,address=9876 > {code} > Then, "hadoop version" shows -Xdebug... at the first line. -- This message was sent by Atlassian JIRA (v6.2#6252)