Start the thread local hive session state before running commands to avoid a null pointer in the hive driver code..