hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shanyu zhao" <>
Subject Review Request 17084: Windows: percentComplete returned by job status from WebHCat is null
Date Sat, 18 Jan 2014 02:08:24 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for hive, Eugene Koifman, Eric Hanson, and Thejas Nair.

Bugs: HIVE-6035

Repository: hive-git


HIVE-5511 fixed the same problem on Linux, but it still broke on Windows.

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 because it will produce "file://d:\xxx".

This patch fixed two problem:
 1) templeton.cmd correctly set WEBHCAT_CONF_DIR so that
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, the Path class
will convert the platform specific path into uri style.


  hcatalog/bin/templeton.cmd dcb976e 




shanyu zhao

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message