Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geomesa-accumulo script is not working #19

Open
elahrvivaz opened this issue Nov 29, 2018 · 5 comments
Open

geomesa-accumulo script is not working #19

elahrvivaz opened this issue Nov 29, 2018 · 5 comments

Comments

@elahrvivaz
Copy link
Collaborator

The error is: Error: Could not find or load main class .usr.lib.zookeeper.zookeeper-3.4.6.jar

To fix it temporarily, edit /opt/geomesa/bin/geomesa-accumulo and change the following line:

ZOOKEEPER_JAR="$(find -L $ZOOKEEPER_HOME -maxdepth 1 -type f -name *zookeeper*jar)"

to

ZOOKEEPER_JAR="$(find -L $ZOOKEEPER_HOME -maxdepth 1 -type f -name *zookeeper*jar | head -n 1)"
@shortwavedave
Copy link

I got the same error and fixed it similarly by referencing $ZOOKEPER_HOME/zookeeper.jar directly in that file

@shortwavedave
Copy link

new problem I think related to this script:

[ec2-user ~]$ sudo docker exec accumulo-master geomesa-accumulo ingest -c geomesa.gdelt -C gdelt -f gdelt -s gdelt -u root -p secret $FILES

ERROR Unable to locate Accumulo instance. Please ensure that $ACCUMULO_HOME is set correctly and/or provide the instance name with the parameter --instance.

$ACCUMULO_HOME is set correctly. There are not accumulo logs though

@shortwavedave
Copy link

[ec2-user ~]$ sudo docker exec accumulo-master geomesa-accumulo ingest -c geomesa.gdelt -C gdelt -f gdelt -s gdelt -u root -p secret $FILES

ERROR Unable to locate Accumulo instance. Please ensure that $ACCUMULO_HOME is set correctly and/or provide the instance name with the parameter --instance.

if you follow the docs tutorial, then you must add '--instance gis' to the end of that command.

@elahrvivaz
Copy link
Collaborator Author

Thanks, someone else reported that you need to specify the instance id, but I was not able to reproduce that. At any rate, we can update the docs/readme to include it.

@jamescrowley321
Copy link

I'm getting the same error using the local Docker install instructions. Modifying the /opt/geomesa/bin/geomesa-accumulo script in the master accumulo container. I modified the script as @elahrvivaz did, and I was then able to ingest data as the examples state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants