[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496960#comment-13496960 ] Bing Li commented on HIVE-3571: --- Based on current build scripts, it will prepare all the test classes and jars, even if only one test case needed to run. I think we can add a new option named -Dmodule= , the command could be like ant test -Dmodule=ql -Dtestcase=TestCliDriver -Dqfile=union.q With this option, it only needs to generate/compile necessary files. Does it make sense? > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain > Attachments: HIVE-3571.1.patch.txt > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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
[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540438#comment-13540438 ] Navis commented on HIVE-3571: - added "-Dmodule=" option, halving test prepare time for single test. > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain >Assignee: Bing Li > Attachments: HIVE-3571.1.patch.txt, HIVE-3571.D7695.1.patch > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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
[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541978#comment-13541978 ] Carl Steinbach commented on HIVE-3571: -- @Navis: I left some comments on phabricator. Thanks. > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain >Assignee: Navis > Attachments: HIVE-3571.1.patch.txt, HIVE-3571.D7695.1.patch > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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
[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541979#comment-13541979 ] Phabricator commented on HIVE-3571: --- cwsteinbach has requested changes to the revision "HIVE-3571 [jira] add a way to run a small unit quickly". INLINE COMMENTS build.xml:61 Please move these property definitions to build.properties and add some comments explaining what they do. build.xml:113 Now that the module list is defined elsewhere it looks like we can probably consolidate the iterate-* macros into a single iterate-target macro. ql/build.xml:49 On my laptop all of these qtestgen tasks take a total of 400 milliseconds to execute. I don't think it's worth trying to save this. REVISION DETAIL https://reviews.facebook.net/D7695 BRANCH DPAL-1918 To: JIRA, cwsteinbach, navis > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain >Assignee: Navis > Attachments: HIVE-3571.1.patch.txt, HIVE-3571.D7695.1.patch > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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
[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541985#comment-13541985 ] Phabricator commented on HIVE-3571: --- navis has commented on the revision "HIVE-3571 [jira] add a way to run a small unit quickly". INLINE COMMENTS ql/build.xml:49 It took 2 seconds less for my laptop (compile time?) with this mod but still small enough. I'll remove it. build.xml:61 ok. build.xml:113 ok. REVISION DETAIL https://reviews.facebook.net/D7695 BRANCH DPAL-1918 To: JIRA, cwsteinbach, navis > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain >Assignee: Navis > Attachments: HIVE-3571.1.patch.txt, HIVE-3571.D7695.1.patch > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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
[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13542008#comment-13542008 ] Namit Jain commented on HIVE-3571: -- +1 looks good. This should really help the debugging/testing. > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain >Assignee: Navis > Attachments: HIVE-3571.1.patch.txt, HIVE-3571.D7695.1.patch, > HIVE-3571.D7695.2.patch > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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
[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13569848#comment-13569848 ] Phabricator commented on HIVE-3571: --- ashutoshc has accepted the revision "HIVE-3571 [jira] add a way to run a small unit quickly". +1 Running tests. REVISION DETAIL https://reviews.facebook.net/D7695 BRANCH DPAL-1918 ARCANIST PROJECT hive To: JIRA, cwsteinbach, ashutoshc, navis > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain >Assignee: Navis > Attachments: HIVE-3571.1.patch.txt, HIVE-3571.D7695.1.patch, > HIVE-3571.D7695.2.patch, HIVE-3571.D7695.3.patch > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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
[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570127#comment-13570127 ] Hudson commented on HIVE-3571: -- Integrated in hive-trunk-hadoop1 #67 (See [https://builds.apache.org/job/hive-trunk-hadoop1/67/]) HIVE-3571 : add a way to run a small unit quickly (Navis via Ashutosh Chauhan) (Revision 1442043) Result = ABORTED hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1442043 Files : * /hive/trunk/build.properties * /hive/trunk/build.xml > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain >Assignee: Navis > Fix For: 0.11.0 > > Attachments: HIVE-3571.1.patch.txt, HIVE-3571.D7695.1.patch, > HIVE-3571.D7695.2.patch, HIVE-3571.D7695.3.patch > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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
[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570403#comment-13570403 ] Hudson commented on HIVE-3571: -- Integrated in Hive-trunk-hadoop2 #106 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/106/]) HIVE-3571 : add a way to run a small unit quickly (Navis via Ashutosh Chauhan) (Revision 1442043) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1442043 Files : * /hive/trunk/build.properties * /hive/trunk/build.xml > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain >Assignee: Navis > Fix For: 0.11.0 > > Attachments: HIVE-3571.1.patch.txt, HIVE-3571.D7695.1.patch, > HIVE-3571.D7695.2.patch, HIVE-3571.D7695.3.patch > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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
[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570779#comment-13570779 ] Hudson commented on HIVE-3571: -- Integrated in Hive-trunk-h0.21 #1955 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1955/]) HIVE-3571 : add a way to run a small unit quickly (Navis via Ashutosh Chauhan) (Revision 1442043) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1442043 Files : * /hive/trunk/build.properties * /hive/trunk/build.xml > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain >Assignee: Navis > Fix For: 0.11.0 > > Attachments: HIVE-3571.1.patch.txt, HIVE-3571.D7695.1.patch, > HIVE-3571.D7695.2.patch, HIVE-3571.D7695.3.patch > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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
[jira] [Commented] (HIVE-3571) add a way to run a small unit quickly
[ https://issues.apache.org/jira/browse/HIVE-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580583#comment-13580583 ] Phabricator commented on HIVE-3571: --- navis has closed the revision "HIVE-3571 [jira] add a way to run a small unit quickly". REVISION DETAIL https://reviews.facebook.net/D7695 To: JIRA, cwsteinbach, ashutoshc, navis > add a way to run a small unit quickly > - > > Key: HIVE-3571 > URL: https://issues.apache.org/jira/browse/HIVE-3571 > Project: Hive > Issue Type: Test > Components: Testing Infrastructure >Reporter: Namit Jain >Assignee: Navis > Fix For: 0.11.0 > > Attachments: HIVE-3571.1.patch.txt, HIVE-3571.D7695.1.patch, > HIVE-3571.D7695.2.patch, HIVE-3571.D7695.3.patch > > > A simple unit test: > ant test -Dtestcase=TestCliDriver -Dqfile=groupby2.q > takes a long time. > There should be a quick way to achieve that for debugging. -- 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