I enabled compression by a command like this:
radosgw-admin zone placement modify --rgw-zone=coredumps --placement-id=default-placement --compression=zlib
Then once the object was uploaded, elasticsearch kept dumping the following messages:
[2018-01-20T23:13:43,587][DEBUG][o.e.a.b.TransportShardBulkAction] [uSX41lj] [rgw-us-natick-04b97c18][6] failed to execute bulk item (index) BulkShardRequest [[rgw-us-natick-04b97c18][6]] containing [index {[rgw-us-natick-04b97c18][object][880837de-f383-4d5c-aa6f-8080518ca8f0.264524.1:top123:null], source[{"bucket":"buck","name":"top123","instance":"null","versioned_epoch":0,"owner":{"id":"yyang","display_name":"yyang"},"permissions":["yyang"],"meta":{"size":109064,"mtime":"2018-01-21T04:07:55.248Z","compression":"\u0001\u00012\u0000\u0000\u0000\u0004\u0000\u0000\u0000zlib\u0008�\u0001\u0000\u0000\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0018\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000H�\u0000\u0000\u0000\u0000\u0000","content_type":"binary/octet-stream","etag":"d08b14ff8f3c6326191d934c5668b1a0","tail_tag":"880837de-f383-4d5c-aa6f-8080518ca8f0.264519.204"}}]}]
org.elasticsearch.index.mapper.MapperParsingException: failed to parse [meta.compression]
at org.elasticsearch.index.mapper.FieldMapper.parse(FieldMapper.java:298) ~[elasticsearch-5.6.6.jar:5.6.6]
It seems the 'compression' field contains some junk data, thus elasticsearch is not happy.
Is there a quick fix for this issue? Thanks.
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com