Changed obsolete LocalHiveContext to HiveContext.