Skip to content

Instantly share code, notes, and snippets.

@medined
Created July 9, 2014 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save medined/c1677c278bd72cd2ee64 to your computer and use it in GitHub Desktop.
Save medined/c1677c278bd72cd2ee64 to your computer and use it in GitHub Desktop.
david@zareason-verix545:~/projects/docker-accumulo$ ./make_image.sh
Installing nsenter to /target
Installing docker-enter to /target
Warning: '-rm' is deprecated, it will be replaced by '--rm' soon. See usage.
Sending build context to Docker daemon 165.9 kB
Sending build context to Docker daemon
Step 0 : FROM sroegner/doop
---> eb64b59ce2a4
Step 1 : RUN curl -L http://apache.osuosl.org/accumulo/1.5.1/accumulo-1.5.1-bin.tar.gz -o /tmp/acc.tgz && tar xzf /tmp/acc.tgz -C /usr/lib && rm -vf /tmp/acc.tgz && id
---> Using cache
---> 60b0abf4f092
Step 2 : RUN ln -s /usr/lib/accumulo-1.5.1 /usr/lib/accumulo; mkdir -p /etc/accumulo/conf /var/run/accumulo /var/lib/accumulo /var/log/accumulo; useradd -u 6040 -G hadoop accumulo; chown accumulo.accumulo /var/run/accumulo /var/lib/accumulo /var/log/accumulo; rm -rf /usr/lib/accumulo/conf; rm -rf /usr/lib/accumulo/logs; ln -s /etc/accumulo/conf /usr/lib/accumulo/conf; ln -s /var/log/accumulo /usr/lib/accumulo/logs;
---> Using cache
---> c8db664ba455
Step 3 : RUN echo -e "\nvm.swappiness = 10" >> /etc/sysctl.conf; echo "vm.overcommit_memory = 0" >> /etc/sysctl.conf; echo "#disable ipv6" >> /etc/sysctl.conf; echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf; echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.conf; echo "net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf
---> Using cache
---> ed0dbf524199
Step 4 : ADD . /docker
---> 17e2510ea34e
Removing intermediate container 6f0de0f89048
Step 5 : RUN cp -vr /docker/accumulo.conf/* /etc/accumulo/conf/; cp -vr /docker/hadoop.conf/* /etc/hadoop/conf/; cp /docker/accumulo_profile.sh /etc/profile.d/accumulo_profile.sh; mkdir -p /root/.ssh /home/accumulo/.ssh; chmod 700 /root/.ssh /home/accumulo/.ssh; cp -vr /docker/dotssh/* /root/.ssh/; cp -vr /docker/dotssh/* /home/accumulo/.ssh/ ; chown -R accumulo.accumulo /home/accumulo/.ssh
---> Running in 7125ba2be702
`/docker/accumulo.conf/accumulo-env.sh' -> `/etc/accumulo/conf/accumulo-env.sh'
`/docker/accumulo.conf/accumulo-site.xml' -> `/etc/accumulo/conf/accumulo-site.xml'
`/docker/accumulo.conf/gc' -> `/etc/accumulo/conf/gc'
`/docker/accumulo.conf/generic_logger.xml' -> `/etc/accumulo/conf/generic_logger.xml'
`/docker/accumulo.conf/log4j.properties' -> `/etc/accumulo/conf/log4j.properties'
`/docker/accumulo.conf/masters' -> `/etc/accumulo/conf/masters'
`/docker/accumulo.conf/monitor' -> `/etc/accumulo/conf/monitor'
`/docker/accumulo.conf/monitor_logger.xml' -> `/etc/accumulo/conf/monitor_logger.xml'
`/docker/accumulo.conf/slaves' -> `/etc/accumulo/conf/slaves'
`/docker/accumulo.conf/tracers' -> `/etc/accumulo/conf/tracers'
`/docker/hadoop.conf/core-site.xml' -> `/etc/hadoop/conf/core-site.xml'
`/docker/hadoop.conf/hdfs-site.xml' -> `/etc/hadoop/conf/hdfs-site.xml'
`/docker/hadoop.conf/mapred-site.xml' -> `/etc/hadoop/conf/mapred-site.xml'
`/docker/hadoop.conf/masters' -> `/etc/hadoop/conf/masters'
`/docker/hadoop.conf/slaves' -> `/etc/hadoop/conf/slaves'
`/docker/hadoop.conf/yarn-site.xml' -> `/etc/hadoop/conf/yarn-site.xml'
`/docker/dotssh/accumulo' -> `/root/.ssh/accumulo'
`/docker/dotssh/accumulo.pub' -> `/root/.ssh/accumulo.pub'
`/docker/dotssh/authorized_keys' -> `/root/.ssh/authorized_keys'
`/docker/dotssh/accumulo' -> `/home/accumulo/.ssh/accumulo'
`/docker/dotssh/accumulo.pub' -> `/home/accumulo/.ssh/accumulo.pub'
`/docker/dotssh/authorized_keys' -> `/home/accumulo/.ssh/authorized_keys'
---> 5c58f6865c8d
Removing intermediate container 7125ba2be702
Step 6 : EXPOSE 22 2181 8020 8025 8030 8050 8088 8141 10020 19888 50070 50090 50095
---> Running in e86ca0bd7bd2
---> 225522d2760a
Removing intermediate container e86ca0bd7bd2
Step 7 : ADD run.sh /
---> 0b784ba7ba4e
Removing intermediate container 6f2e21bbbc98
Successfully built 0b784ba7ba4e
c2d2ba0a0fd0f7c29776e7dcffb9c85b9bbaec6e8cd4d08f1ad26b2c69a1b63a
2014-07-09 12:31:46,417 [util.Initialize] INFO : Hadoop Filesystem is hdfs://MYHOSTNAME:8020
2014-07-09 12:31:46,418 [util.Initialize] INFO : Accumulo data dir is /accumulo
2014-07-09 12:31:46,418 [util.Initialize] INFO : Zookeeper server is MYHOSTNAME:2181
2014-07-09 12:31:46,418 [util.Initialize] INFO : Checking if Zookeeper is available. If this hangs, then you need to make sure zookeeper is running
2014-07-09 12:31:46,898 [Configuration.deprecation] INFO : dfs.replication.min is deprecated. Instead, use dfs.namenode.replication.min
2014-07-09 12:31:47,235 [Configuration.deprecation] INFO : dfs.block.size is deprecated. Instead, use dfs.blocksize
2014-07-09 12:31:47,533 [master.Master] INFO : Loaded class : org.apache.accumulo.server.security.handler.ZKAuthorizor
2014-07-09 12:31:47,534 [master.Master] INFO : Loaded class : org.apache.accumulo.server.security.handler.ZKAuthenticator
2014-07-09 12:31:47,535 [master.Master] INFO : Loaded class : org.apache.accumulo.server.security.handler.ZKPermHandler
2014-07-09 12:31:47,611 [security.AuditedSecurityOperation] INFO : Initialized root user with username: root at the request of user !SYSTEM
`/docker/supervisord-accumulo.conf' -> `/etc/supervisor/conf.d/accumulo.conf'
6fc97e8445b3d630f406fbef328b21f015ff0e7ff278843b93a9d3add4c4b45c
accbuild
accbuild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment