2019-04-28 11:35:07 UTC - Daniel Ferreira Jorge: Hi, if we have, for instance, 
a configuration of 3 replicas for a topic, when a ledger is offloaded to 
GCS/S3, will all 3 replicas be offloaded?
----
2019-04-28 11:38:45 UTC - jia zhai: It will be only 1 copy in S3
----
2019-04-28 12:24:20 UTC - Daniel Ferreira Jorge: Thanks, that is what I expected
----
2019-04-29 04:23:25 UTC - vvy: @vvy has joined the channel
----
2019-04-29 06:33:59 UTC - Ali Ahmed: @Penghui Li for what prestosql ?
----
2019-04-29 06:37:25 UTC - Ali Ahmed: not sure what you mean
----
2019-04-29 07:09:33 UTC - Ali Ahmed: @Penghui Li this is the wrong slack
----
2019-04-29 07:09:56 UTC - Penghui Li: Oh sorry!
----
2019-04-29 08:05:21 UTC - Shivji Kumar Jha: It seems 2.3.1 has some issue with 
auto update schema compatibility = none

1. I setup up a namespace to have no compatibility check

$ pulsar-admin namespaces set-schema-autoupdate-strategy beam/test 
--compatibility NONE
$ pulsar-admin namespaces get-schema-autoupdate-strategy beam/test
ALWAYSCOMPATIBLE

2. I posted a schema. Here is a GET query:


$ curl -X GET  ‘http://<server 
host>:8080/admin/v2/schemas/beam/test/test3/schema/?authoritative=false’  -H 
‘Accept: application/json’

{
 “version”: 0,
 “type”: “AVRO”,
“timestamp”: 0,
 “data”: “{\“type\“:\“record\“,\“name\“:\“foobar\“,\“doc\“:\“This is an avro 
schema for 
test\“,\“fields\“:[{\“name\“:\“foo\“,\“type\“:\“string\“,\“doc\“:\“test 
doc\“},{\“name\“:\“bar\“,\“type\“:\“int\“,\“doc\“:\“Name of the action - 
created/updated/deleted\“}]}“,
“properties”: {}
}

3. I try updating a schema (deleted one field - bar)

curl -X POST \
  
‘http://<server-host>:8080/admin/v2/schemas/beam/test/test3/schema?authoritative=true’
 \
  -H ‘Accept: application/json’ \
  -d ‘{
    “type”: “AVRO”,
    “schema”: “{\“type\“:\“record\“,\“name\“:\“foo\“,\“doc\“:\“This is an avro 
schema for 
test\“,\“fields\“:[{\“name\“:\“foo\“,\“type\“:\“string\“,\“doc\“:\“test 
doc\“}]}”
}’

log:

RequestLog:60 10.10.1.230 - - [29/Apr/2019:07:57:22 +0000] “POST 
/admin/v2/schemas/beam/test/test3/schema?authoritative=true HTTP/1.1" 500 0 “-” 
“PostmanRuntime/7.6.0" 6

no stack trace in log
----
2019-04-29 08:11:02 UTC - Shivji Kumar Jha: @Sijie Guo @Penghui Li Can you 
please help debug this? ^^
----
2019-04-29 08:12:30 UTC - Kim Christian Gaarder: PR that fixes split-package 
conflicts in pulsar clients allowing use from java-module-system: 
<https://github.com/apache/pulsar/pull/4166>
----
2019-04-29 09:07:00 UTC - Sijie Guo: will check
----

Reply via email to