hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/HowToContribute" by Ning Zhang
Date Thu, 29 Oct 2009 17:47:39 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hive/HowToContribute" page has been changed by Ning Zhang.
http://wiki.apache.org/hadoop/Hive/HowToContribute?action=diff&rev1=10&rev2=11

--------------------------------------------------

      > export HIVE_DEBUG_PORT=8000
      > export $HIVE_DEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=${HIVE_DEBUG_PORT},server=y,suspend=y"
    }}} In particular HIVE_DEBUG_PORT is the port number that the JVM is listening on and
the debugger will attach to. Then run the unit test as follows: {{{
-     > $HADOOP_OPTS=$HIVE_DEBUG; ant test -Dtestcase=TestCliDriver -Dqfile=<mytest>.q
+     > $HADOOP_OPTS=$HIVE_DEBUG ant test -Dtestcase=TestCliDriver -Dqfile=<mytest>.q
    }}} The unit test will run until it shows: {{{
       [junit] Listening for transport dt_socket at address: 8000
    }}}

Mime
View raw message