hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kousuke Saruta (JIRA)" <>
Subject [jira] [Created] (HIVE-5315) bin/hive should retrieve HADOOP_VERSION better way.
Date Wed, 18 Sep 2013 20:48:01 GMT
Kousuke Saruta created HIVE-5315:

             Summary: bin/hive should retrieve HADOOP_VERSION better way.
                 Key: HIVE-5315
             Project: Hive
          Issue Type: Bug
    Affects Versions: 0.11.0
            Reporter: Kousuke Saruta
             Fix For: 0.11.1

In current implementation, bin/hive retrieve HADOOP_VERSION like as follows

HADOOP_VERSION=$($HADOOP version | awk '{if (NR == 1) {print $2;}}');

But, sometimes, "hadoop version" doesn't show version information at 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 

-Xdebug -Xrunjdwp:trunsport=dt_socket,suspend=n,server=y,address=9876

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:

View raw message