Kanna Karanam created HIVE-3127:
-----------------------------------

             Summary: Don’t pass–hconf values as command line arguments to 
child JVM to avoid command line exceeding char limit on windows
                 Key: HIVE-3127
                 URL: https://issues.apache.org/jira/browse/HIVE-3127
             Project: Hive
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 0.9.0, 0.10.0, 0.9.1
            Reporter: Kanna Karanam
             Fix For: 0.10.0


The maximum length of the DOS command string is 8191 characters (in Windows 
latest versions http://support.microsoft.com/kb/830473). This limit will be 
exceeded easily when it appends individual –hconf values to the command string. 
To work around this problem, Write all changed hconf values to a temp file and 
pass the temp file path to the child jvm to read and initialize the -hconf 
parameters from file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to