Review Board 1.7.22


HIVE-4500 2nd rb request

Review Request #10986 - Created May 7, 2013 and updated

Thejas Nair
HIVE-4500
Reviewers
hive
cws
hive-git
HIVE-4500-3.patch -

 
ql/src/java/org/apache/hadoop/hive/ql/history/HiveHistory.java
Revision bfd0a83 New Change
[20] 36 lines
[+20]
37
import org.apache.hadoop.hive.conf.HiveConf;
37
import org.apache.hadoop.hive.conf.HiveConf;
38
import org.apache.hadoop.hive.ql.QueryPlan;
38
import org.apache.hadoop.hive.ql.QueryPlan;
39
import org.apache.hadoop.hive.ql.exec.Task;
39
import org.apache.hadoop.hive.ql.exec.Task;
40
import org.apache.hadoop.hive.ql.session.SessionState;
40
import org.apache.hadoop.hive.ql.session.SessionState;
41
import org.apache.hadoop.hive.ql.session.SessionState.LogHelper;
41
import org.apache.hadoop.hive.ql.session.SessionState.LogHelper;

    
   
42
import org.apache.hadoop.io.IOUtils;
42
import org.apache.hadoop.mapred.Counters;
43
import org.apache.hadoop.mapred.Counters;
43
import org.apache.hadoop.mapred.Counters.Counter;
44
import org.apache.hadoop.mapred.Counters.Counter;
44
import org.apache.hadoop.mapred.Counters.Group;
45
import org.apache.hadoop.mapred.Counters.Group;
45

    
   
46

   
46
/**
47
/**
[+20] [20] 483 lines
[+20] [+] public void setIdToTableMap(Map<String, String> map) {
530
      return idToTableMap.get(tuple);
531
      return idToTableMap.get(tuple);
531
    }
532
    }
532
    return null;
533
    return null;
533

    
   
534

   
534
  }
535
  }

    
   
536

   

    
   
537
  public void closeStream() {

    
   
538
    IOUtils.cleanup(LOG, histStream);

    
   
539
  }

    
   
540

   
535
  @Override
541
  @Override
536
  public void finalize() throws Throwable {
542
  public void finalize() throws Throwable {
537
    if (histStream !=null){
543
    closeStream();
538
      histStream.close();

   
539
    }

   
540
    super.finalize();
544
    super.finalize();
541
  }
545
  }
542
}
546
}
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java
Revision d8c91bd New Change
 
service/src/java/org/apache/hive/service/cli/operation/HiveCommandOperation.java
Revision 60148cb New Change
 
service/src/java/org/apache/hive/service/cli/operation/Operation.java
Revision b354ac9 New Change
 
service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java
Revision 8f0adb5 New Change
 
  1. ql/src/java/org/apache/hadoop/hive/ql/history/HiveHistory.java: Loading...
  2. ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java: Loading...
  3. service/src/java/org/apache/hive/service/cli/operation/HiveCommandOperation.java: Loading...
  4. service/src/java/org/apache/hive/service/cli/operation/Operation.java: Loading...
  5. service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java: Loading...