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
    }}}

Reply via email to