[jira] [Commented] (AVRO-2466) Fix a malformed schema in the share/test/schemas directory
[ https://issues.apache.org/jira/browse/AVRO-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17027492#comment-17027492 ] ASF subversion and git services commented on AVRO-2466: --- Commit 299261e24d554be478965572d799c36fb7c09630 in avro's branch refs/heads/branch-1.9 from Kengo Seki [ https://gitbox.apache.org/repos/asf?p=avro.git;h=299261e ] AVRO-2466: Fix a malformed schema in the share/test/schemas directory (#578) > Fix a malformed schema in the share/test/schemas directory > -- > > Key: AVRO-2466 > URL: https://issues.apache.org/jira/browse/AVRO-2466 > Project: Apache Avro > Issue Type: Bug > Components: misc >Reporter: Kengo Seki >Assignee: Kengo Seki >Priority: Minor > Fix For: 1.10.0, 1.9.2 > > > The schema defined in share/test/schemas/reserved.avsc is invalid because of > its trailing comma: > {code} > $ python -c 'from avro.schema import parse; > parse(open("../../share/test/schemas/reserved.avsc").read())' > Traceback (most recent call last): > File "", line 1, in > File "/home/sekikn/repo/avro/lang/py/src/avro/schema.py", line 976, in parse > json_data = json.loads(json_string) > File "/usr/lib/python2.7/json/__init__.py", line 339, in loads > return _default_decoder.decode(s) > File "/usr/lib/python2.7/json/decoder.py", line 367, in decode > raise ValueError(errmsg("Extra data", s, end, len(s))) > avro.schema.SchemaParseException: Error parsing JSON: {"name": > "org.apache.avro.test.Reserved", "type": "enum", > "symbols": ["default","class","int"]}, > , error = Extra data: line 2 column 39 - line 3 column 1 (char 96 - 98) > $ cat ../../share/test/schemas/reserved.avsc > {"name": "org.apache.avro.test.Reserved", "type": "enum", > "symbols": ["default","class","int"]}, > {code} > This file doesn't seem to be used as far as I investigated, but I'd rather > fix this than remove since it might be useful for some test. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (AVRO-2466) Fix a malformed schema in the share/test/schemas directory
[ https://issues.apache.org/jira/browse/AVRO-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16890915#comment-16890915 ] Hudson commented on AVRO-2466: -- SUCCESS: Integrated in Jenkins build AvroJava #706 (See [https://builds.apache.org/job/AvroJava/706/]) AVRO-2466: Fix a malformed schema in the share/test/schemas directory (nandorkollar: [https://github.com/apache/avro/commit/e0ae0cd8a36520907304d52f4a19668a3218d5ea]) * (edit) share/test/schemas/reserved.avsc > Fix a malformed schema in the share/test/schemas directory > -- > > Key: AVRO-2466 > URL: https://issues.apache.org/jira/browse/AVRO-2466 > Project: Apache Avro > Issue Type: Bug > Components: misc >Reporter: Kengo Seki >Assignee: Kengo Seki >Priority: Minor > Fix For: 1.10.0 > > > The schema defined in share/test/schemas/reserved.avsc is invalid because of > its trailing comma: > {code} > $ python -c 'from avro.schema import parse; > parse(open("../../share/test/schemas/reserved.avsc").read())' > Traceback (most recent call last): > File "", line 1, in > File "/home/sekikn/repo/avro/lang/py/src/avro/schema.py", line 976, in parse > json_data = json.loads(json_string) > File "/usr/lib/python2.7/json/__init__.py", line 339, in loads > return _default_decoder.decode(s) > File "/usr/lib/python2.7/json/decoder.py", line 367, in decode > raise ValueError(errmsg("Extra data", s, end, len(s))) > avro.schema.SchemaParseException: Error parsing JSON: {"name": > "org.apache.avro.test.Reserved", "type": "enum", > "symbols": ["default","class","int"]}, > , error = Extra data: line 2 column 39 - line 3 column 1 (char 96 - 98) > $ cat ../../share/test/schemas/reserved.avsc > {"name": "org.apache.avro.test.Reserved", "type": "enum", > "symbols": ["default","class","int"]}, > {code} > This file doesn't seem to be used as far as I investigated, but I'd rather > fix this than remove since it might be useful for some test. -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (AVRO-2466) Fix a malformed schema in the share/test/schemas directory
[ https://issues.apache.org/jira/browse/AVRO-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16890850#comment-16890850 ] ASF subversion and git services commented on AVRO-2466: --- Commit e0ae0cd8a36520907304d52f4a19668a3218d5ea in avro's branch refs/heads/master from Kengo Seki [ https://gitbox.apache.org/repos/asf?p=avro.git;h=e0ae0cd ] AVRO-2466: Fix a malformed schema in the share/test/schemas directory (#578) > Fix a malformed schema in the share/test/schemas directory > -- > > Key: AVRO-2466 > URL: https://issues.apache.org/jira/browse/AVRO-2466 > Project: Apache Avro > Issue Type: Bug > Components: misc >Reporter: Kengo Seki >Assignee: Kengo Seki >Priority: Minor > > The schema defined in share/test/schemas/reserved.avsc is invalid because of > its trailing comma: > {code} > $ python -c 'from avro.schema import parse; > parse(open("../../share/test/schemas/reserved.avsc").read())' > Traceback (most recent call last): > File "", line 1, in > File "/home/sekikn/repo/avro/lang/py/src/avro/schema.py", line 976, in parse > json_data = json.loads(json_string) > File "/usr/lib/python2.7/json/__init__.py", line 339, in loads > return _default_decoder.decode(s) > File "/usr/lib/python2.7/json/decoder.py", line 367, in decode > raise ValueError(errmsg("Extra data", s, end, len(s))) > avro.schema.SchemaParseException: Error parsing JSON: {"name": > "org.apache.avro.test.Reserved", "type": "enum", > "symbols": ["default","class","int"]}, > , error = Extra data: line 2 column 39 - line 3 column 1 (char 96 - 98) > $ cat ../../share/test/schemas/reserved.avsc > {"name": "org.apache.avro.test.Reserved", "type": "enum", > "symbols": ["default","class","int"]}, > {code} > This file doesn't seem to be used as far as I investigated, but I'd rather > fix this than remove since it might be useful for some test. -- This message was sent by Atlassian JIRA (v7.6.14#76016)