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.


      > 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

View raw message