Code Monkey home page Code Monkey logo

accumulo-docker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

accumulo-docker's Issues

Verify the accumulo-docker is registered under Apache OSS program

Docker may be changing registration requirements or process relating to organizations with publishing artifacts in DockerHub. Accumulo docker is likely covered under the Apache umbrella. Check that accumulo-docker is properly registered as an Apache project, and if not, complete the necessary registration process for DockerHub.

Instructions are a bit confusing

In the README.md file, I see the below text

Before you can run Accumulo services in Docker, you will need to install Accumulo, configure accumulo.properties, and initialize your instance with --upload-accumulo-props. This will upload configuration to Zookeeper and limit how much configuration needs to be set on the command line.

```bash
$ accumulo init --upload-accumulo-props
...

So, where is this supposed to be invoked? Are we to run this as docker run command or am I missing something here?

accumulo init

Running a new image,
$> docker run accumulo init . Hangs, warns to be sure Zookeeper is running.
$> docker run accumulo sookeeper . Problem reading instance id out of hdfs at hdfs://localhost:8020/accumulo/instance_id

Do we have a catch 22?

Following the readme to get running fails

I was following the README to get accumulo running with docker but I was unable to do so without some changes to the Dockerfile. When I ran the Docker build, it would fail to complete the move of hadoop into /opt/hadoop. I was able to get around the issue by switching from moving those dirs to copying them, but that isn't a great solution in the long term. I got into the container at the point just before the move and the file permissions for some the directories under /tmp/hadoop/ were all question marks (???????) and the user and group were just listed as an id.

I think we probably want to add a umask and --no-same-permissions to the tar extract commands to correct that. I will try that out tonight and if that works I will put in a PR.

Unable to run accumulo

I built the image and ran docker run accumulo and I got:

HADOOP_HOME=/path/to/hadoop is not set to a valid directory in accumulo-env.sh

I added HADOOP_HOME to Dockerfile and then got:

2018-09-10 21:25:49,371 [start.Main] ERROR: Unable to find Hadoop Configuration class on classpath, check configuration.
java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configuration
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at org.apache.accumulo.start.classloader.AccumuloClassLoader$1.loadClass(AccumuloClassLoader.java:198)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.apache.accumulo.start.Main.main(Main.java:52)

I added ENV HADOOP_CONF_DIR $HADOOP_HOME/etc/hadoop and I still get Unable to find Hadoop Configuration class on classpath, check configuration..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.