hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kousuke Saruta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5315) bin/hive should retrieve HADOOP_VERSION by better way.
Date Fri, 27 Sep 2013 01:34:02 GMT

    [ https://issues.apache.org/jira/browse/HIVE-5315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13779551#comment-13779551
] 

Kousuke Saruta commented on HIVE-5315:
--------------------------------------

Could anyone review the patch or give me comments?
                
> bin/hive should retrieve HADOOP_VERSION by better way.
> ------------------------------------------------------
>
>                 Key: HIVE-5315
>                 URL: https://issues.apache.org/jira/browse/HIVE-5315
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Kousuke Saruta
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5315.patch
>
>
> In current implementation, bin/hive retrieves HADOOP_VERSION like as follows
> {code}
> HADOOP_VERSION=$($HADOOP version | awk '{if (NR == 1) {print $2;}}');
> {code}
> But, sometimes, "hadoop version" doesn't show version information at the first line.
> If HADOOP_VERSION is not retrieve collectly, Hive or related processes will not be up.
> I faced this situation when I try to debug Hiveserver2 with debug option like as follows

> {code}
> -Xdebug -Xrunjdwp:trunsport=dt_socket,suspend=n,server=y,address=9876
> {code}
> Then, "hadoop version" shows -Xdebug... at the first line.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message