Updated aviary hadoop schema,codegen for UNMANAGED state type