apache / apache/parquet-java

parquet-cli broken in master

Ouverte
#2,657 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Component: CLI Component: Parquet Priority: Major Type: bug
Langage dominant
Java
Étoiles
3.1k
Forks
1.6k
Merge moyen
3 j 12 h
PR mergées (30 j)
33

Description

Creating a Jira per this thread:

1. clone parquet-mr and build the repo locally
1. run parquet-cli without Hadoop (according to this ReadMe <> )
1. try a command that deserializes data such as cat or head
1. observe NoSuchMethodError being thrown

**Error stack:** ~/repos/parquet-mr/parquet-cli$ parquet cat ../../testdata/dictionaryEncodingSample.parquet WARNING: An illegal reflective access operation has occurred ...... Exception in thread "main" java.lang.NoSuchMethodError: 'org.apache.avro.Schema org.apache.parquet.avro.AvroSchemaConverter.convert(org.apache.parquet.schema.MessageType)' at org.apache.parquet.cli.util.Schemas.fromParquet(Schemas.java:89) at org.apache.parquet.cli.BaseCommand.getAvroSchema(BaseCommand.java:405) at org.apache.parquet.cli.commands.CatCommand.run(CatCommand.java:66) at org.apache.parquet.cli.Main.run(Main.java:157) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at org.apache.parquet.cli.Main.main(Main.java:187)

**Environment**: ubuntu 18.04 and ubuntu 20.04
**Reporter**: [Balaji K](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gamaken)

**Note**: *This issue was originally created as [PARQUET-2104](https://issues.apache.org/jira/browse/PARQUET-2104). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Construire parquet-java localement, suivre les instructions du README de parquet-cli pour l’exécuter sans Hadoop et reproduire l’échec avec une commande de désérialisation telle que cat ou head. Inspecter parquet-cli/util/Schemas.java à la ligne 89 ainsi que le NoSuchMethodError impliquant AvroSchemaConverter ; le travail est terminé lorsque ces commandes s’exécutent sans cette erreur.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
cli
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Clairement spécifiée
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.