@Override
  public CommandProcessorResponse run(String command) throws CommandProcessorException {
    SessionState ss = SessionState.get();
    this.command = command;

    CommandProcessorResponse authErrResp =
        CommandUtil.authorizeCommand(ss, HiveOperationType.COMPILE, Arrays.asList(command));
    if(authErrResp != null){
      // there was an authorization issue
      return authErrResp;
    }

    myId = runCount.getAndIncrement();

    parse(ss);
    CommandProcessorResponse result = compile(ss);
    return result;
  }
User supplies dynamic code in this format:
COMPILE ` some code here ` AS groovy NAMED something.groovy;
CompileProcessor will compile and package this code into a jar. The jar
will be added to the session state via the session state's
ADD RESOURCE command.
@param command a String to be compiled
@return CommandProcessorResponse with some message
ql/src/java/org/apache/hadoop/hive/ql/processors/CompileProcessor.java