Remove the unnecessary wait for getting the monitors since the client architecture has changed.

git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_hyracks_result_distribution@2839 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks/hyracks-client/src/main/java/edu/uci/ics/hyracks/client/dataset/HyracksDataset.java b/hyracks/hyracks-client/src/main/java/edu/uci/ics/hyracks/client/dataset/HyracksDataset.java
index 522fe2d..c11ae59 100644
--- a/hyracks/hyracks-client/src/main/java/edu/uci/ics/hyracks/client/dataset/HyracksDataset.java
+++ b/hyracks/hyracks-client/src/main/java/edu/uci/ics/hyracks/client/dataset/HyracksDataset.java
@@ -124,16 +124,6 @@
             }
         }
 
-        while (lastMonitor.getNFramesAvailable() < 0 && !lastMonitor.eosReached()) {
-            synchronized (lastMonitor) {
-                try {
-                    lastMonitor.wait();
-                } catch (InterruptedException e) {
-                    //
-                }
-            }
-        }
-
         while (readSize <= 0 && !((lastReadPartition == knownRecords.length - 1) && (lastMonitor.eosReached()))) {
             while (lastMonitor.getNFramesAvailable() <= 0 && !lastMonitor.eosReached()) {
                 synchronized (lastMonitor) {