locationtech / locationtech/geomesa

CLI - gt tools doesn't parse ingest file arguments correctly

Open Beginner friendly
#10,324 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.5k
Forks
446
Avg merge
1d 8h
Merged PRs (30d)
31

Description

CLI - gt tools doesn't parse ingest file arguments correctly

$ ./geomesa-gt ingest -f foo --param dbtype=postgres --param user=postgres --param password=default foo.avro ERROR "--param": couldn't convert "fooavro" to format: java.lang.IllegalArgumentException: key-value pairs must be separated by a single '='


Original JIRA Issue: https://geomesa.atlassian.net/browse/GEOMESA-3131

Key: GEOMESA-3131
Type: Bug
Priority: Major
Status: To Do
Resolution: Unresolved
Reporter: Emilio Lahr-Vivaz
Created: Fri, 17 Sep 2021 10:31:40 -0400
Updated: Fri, 17 Sep 2021 10:31:40 -0400

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported ./geomesa-gt ingest command and trace the gt tools ingest argument parsing. The fix is done when --param key-value arguments and the foo.avro ingest file are parsed separately without the conversion error.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.