public SessionStateLite(String cmd,HiveOperation commandType,HiveConf conf){
  this.cmd=cmd;
  this.commandType=commandType.name();
  this.conf=new HiveConf(conf);
  this.queryId=null;
  this.mapRedStats=null;
}

public SessionStateLite ( String cmd , HiveOperation commandType , HiveConf conf ) { this . cmd = cmd ; this . commandType = commandType . name ( ) ; this . conf = new HiveConf ( conf ) ; this . queryId = null ; this . mapRedStats = null ; }
creates a lightweight representation of the session state .
