You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Min Zhou <co...@gmail.com> on 2009/06/16 10:25:20 UTC

there so many warnings when generating code by thrift

Hi facebook guys,
   Can you synchronise your fb303 thrift code?

$thrift -gen java -I metastore/include -I . service/if/hive_service.thrift
[WARNING:/home/zhoumin/hive-trunk/service/if/hive_service.thrift:34] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/fb303/if/fb303.thrift:101]
"async" is deprecated.  It is called "oneway" now.

[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/fb303/if/fb303.thrift:106]
"async" is deprecated.  It is called "oneway" now.

[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/if/reflection_limited.thrift:18]
'py_module' is deprecated. Use 'namespace py' instead
[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/if/reflection_limited.thrift:18]
'py_module' is deprecated. Use 'namespace py' instead
[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/fb303/if/fb303.thrift:101]
"async" is deprecated.  It is called "oneway" now.

[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/fb303/if/fb303.thrift:106]
"async" is deprecated.  It is called "oneway" now.

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:9]
'php_namespace' is deprecated. Use 'namespace php' instead
[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:97] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:101] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:105] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:109] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:113] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:117] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:121] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:125] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:145] No
field key specified for db_name, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:145] No
field key specified for table_name, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:145] No
field key specified for o1, resulting protocol may have conflicts or not be
backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:145] No
field key specified for o2, resulting protocol may have conflicts or not be
backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:145] No
field key specified for o3, resulting protocol may have conflicts or not be
backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:160] No
field key specified for db_name, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:160] No
field key specified for pattern, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:161] No
field key specified for o1, resulting protocol may have conflicts or not be
backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/fb303/if/fb303.thrift:101]
"async" is deprecated.  It is called "oneway" now.

[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/fb303/if/fb303.thrift:106]
"async" is deprecated.  It is called "oneway" now.

[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/if/reflection_limited.thrift:18]
'py_module' is deprecated. Use 'namespace py' instead
[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/if/reflection_limited.thrift:18]
'py_module' is deprecated. Use 'namespace py' instead
[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/fb303/if/fb303.thrift:101]
"async" is deprecated.  It is called "oneway" now.

[WARNING:/home/zhoumin/hive-trunk/metastore/include/thrift/fb303/if/fb303.thrift:106]
"async" is deprecated.  It is called "oneway" now.

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:9]
'php_namespace' is deprecated. Use 'namespace php' instead
[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:97] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:101] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:105] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:109] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:113] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:117] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:121] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:125] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:145] No
field key specified for db_name, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:145] No
field key specified for table_name, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:145] No
field key specified for o1, resulting protocol may have conflicts or not be
backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:145] No
field key specified for o2, resulting protocol may have conflicts or not be
backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:145] No
field key specified for o3, resulting protocol may have conflicts or not be
backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:160] No
field key specified for db_name, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:160] No
field key specified for pattern, resulting protocol may have conflicts or
not be backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/metastore/if/hive_metastore.thrift:161] No
field key specified for o1, resulting protocol may have conflicts or not be
backwards compatible!

[WARNING:/home/zhoumin/hive-trunk/service/if/hive_service.thrift:34] No
field key specified for message, resulting protocol may have conflicts or
not be backwards compatible!

-- 
My research interests are distributed systems, parallel computing and
bytecode based virtual machine.

My profile:
http://www.linkedin.com/in/coderplay
My blog:
http://coderplay.javaeye.com