[ https://issues.apache.org/jira/browse/HIVE-12497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15022774#comment-15022774 ]
Prasanth Jayachandran commented on HIVE-12497: ---------------------------------------------- Makes sense. Added redirection to /tmp/$USER/stderr. If mkdir or touch fails then falls back to /dev/tty. > Remove HADOOP_CLIENT_OPTS from hive script > ------------------------------------------ > > Key: HIVE-12497 > URL: https://issues.apache.org/jira/browse/HIVE-12497 > Project: Hive > Issue Type: Sub-task > Components: Logging > Affects Versions: 2.0.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Attachments: HIVE-12497.1.patch, HIVE-12497.2.patch, > HIVE-12497.3.patch > > > HADOOP_CLIENT_OPTS added in HIVE-11304 to get around log4j error adds ~5 > seconds delay to hive startup. > {code:title=with HADOOP_CLIENT_OPTS} > time hive --version > real 0m11.948s > user 0m13.026s > sys 0m3.979s > {code} > {code:title=without HADOOP_CLIENT_OPTS} > time hive --version > real 0m7.053s > user 0m7.254s > sys 0m3.589s > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)