You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "shanyu zhao (JIRA)" <ji...@apache.org> on 2013/12/14 00:37:08 UTC

[jira] [Updated] (HIVE-6035) Windows: percentComplete returned by job status from WebHCat is null

     [ https://issues.apache.org/jira/browse/HIVE-6035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

shanyu zhao updated HIVE-6035:
------------------------------

    Attachment: HIVE-6035.patch

The root cause of this problem is that the -Dlog4j.configuration needs to be in the format of "file://d:/xxx", so:
"file://" + log4jProps.getAbsolutePath()
works on Linux but does not work on Windows.

This patch fixed two problem:
 1) templeton.cmd correctly set WEBHCAT_CONF_DIR so that override_container_log4j.properties can be copied to distributed cache. I also modified it so that one can run timepleton.cmd (without any parameter) in standalone mode.
 2) use hadoop class Path to convert the override log4j properties file path.


> Windows: percentComplete returned by job status from WebHCat is null
> --------------------------------------------------------------------
>
>                 Key: HIVE-6035
>                 URL: https://issues.apache.org/jira/browse/HIVE-6035
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 0.12.0
>            Reporter: shanyu zhao
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6035.patch
>
>
> HIVE-5511 fixed the same problem on Linux, but it still broke on Windows.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)