[jira] [Commented] (HIVE-9148) Fix default value for HWI_WAR_FILE
[ https://issues.apache.org/jira/browse/HIVE-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251912#comment-14251912 ] Peter Slawski commented on HIVE-9148: - No, the description is correct as *hive.hwi.war.file* is assumed to be relative to *$HIVE_HOME* in HWIServer.java. *$HWI_WAR_FILE* is being set wrongly in [hwi.sh|https://github.com/apache/hive/blob/b8250ac2f30539f6b23ce80a20a9e338d3d31458/bin/ext/hwi.sh#L29]. So if you didn't overwrote *hive.hwi.war.file* in hive-site.xml, the path to the HWI war file would be wrong. >From >[hwi/src/java/org/apache/hadoop/hive/hwi/HWIServer.java:77|https://github.com/apache/hive/blob/release-0.14.0/hwi/src/java/org/apache/hadoop/hive/hwi/HWIServer.java#L77] {code:java} String hwiWAR = conf.getVar(HiveConf.ConfVars.HIVEHWIWARFILE); String hivehome = System.getenv().get("HIVE_HOME"); File hwiWARFile = new File(hivehome, hwiWAR); {code} > Fix default value for HWI_WAR_FILE > -- > > Key: HIVE-9148 > URL: https://issues.apache.org/jira/browse/HIVE-9148 > Project: Hive > Issue Type: Bug > Components: Web UI >Affects Versions: 0.14.0, 0.13.1 >Reporter: Peter Slawski >Priority: Minor > Fix For: 0.15.0 > > Attachments: HIVE-9148.1.patch > > > The path to the hwi war file should be relative to hive home. However, > HWI_WAR_FILE is set in hwi.sh to be an absolute path. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-9148) Fix default value for HWI_WAR_FILE
[ https://issues.apache.org/jira/browse/HIVE-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251385#comment-14251385 ] Lefty Leverenz commented on HIVE-9148: -- Does this mean the description of configuration parameter *hive.hwi.war.file* is wrong in HiveConf.java and the wiki? {code} HIVEHWIWARFILE("hive.hwi.war.file", "${env:HWI_WAR_FILE}", "This sets the path to the HWI war file, relative to ${HIVE_HOME}. "), {code} * [Configuration Properties -- hive.hwi.war.file | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.hwi.war.file] > Fix default value for HWI_WAR_FILE > -- > > Key: HIVE-9148 > URL: https://issues.apache.org/jira/browse/HIVE-9148 > Project: Hive > Issue Type: Bug > Components: Web UI >Affects Versions: 0.14.0, 0.13.1 >Reporter: Peter Slawski >Priority: Minor > Fix For: 0.15.0 > > Attachments: HIVE-9148.1.patch > > > The path to the hwi war file should be relative to hive home. However, > HWI_WAR_FILE is set in hwi.sh to be an absolute path. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-9148) Fix default value for HWI_WAR_FILE
[ https://issues.apache.org/jira/browse/HIVE-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14250676#comment-14250676 ] Hive QA commented on HIVE-9148: --- {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/12687811/HIVE-9148.1.patch {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 6713 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_optimize_nullscan org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_schemeAuthority org.apache.hive.hcatalog.streaming.TestStreaming.testEndpointConnection {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2114/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2114/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2114/ 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: 3 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12687811 - PreCommit-HIVE-TRUNK-Build > Fix default value for HWI_WAR_FILE > -- > > Key: HIVE-9148 > URL: https://issues.apache.org/jira/browse/HIVE-9148 > Project: Hive > Issue Type: Bug > Components: Web UI >Affects Versions: 0.14.0, 0.13.1 >Reporter: Peter Slawski >Priority: Minor > Fix For: 0.15.0 > > Attachments: HIVE-9148.1.patch > > > The path to the hwi war file should be relative to hive home. However, > HWI_WAR_FILE is set in hwi.sh to be an absolute path. -- This message was sent by Atlassian JIRA (v6.3.4#6332)