When using the hive server (`HIVE_PORT=3307 hive --service hiveserver`), attempting to run a query with a thrift client (such as ThriftHiveClient in php) will result in the server error:
java.lang.NoSuchMethodError: com.facebook.fb303.FacebookService$Processor$ProcessFunction.process
The problem seems to stem from different versions of libfb303.jar that are included in the hive and hadoop packages. To fix the hive server, one can ` mv /usr/lib/hadoop-0.20/lib/libfb303.jar ~/hadoop-libfb303.jar && ln -s /usr/lib/hive/lib/libfb303.jar /usr/lib/hadoop-0.20/lib/libfb303.jar` . Ideally, though, the packages should contain the same version of this jar.

