Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Metron docker Example not working

Metron docker Example not working

New Contributor

Hi guys

Could you give me a minute of your time for me?

i tried example, following this Link ( https://metron.apache.org/current-book/metron-docker/index.html#Upload_configs_to_Zookeeper )

but i face error

[root@7c162701215e kafka_2.11-0.10.0.0]# $METRON_HOME/bin/zk_load_configs.sh -z 192.168.99.100:2181 -m PUSH -i $METRON_HOME/config/zookeeper

/usr/metron/0.4.0//bin/zk_load_configs.sh: line 35: /usr/hdp/current/hbase-client/bin/hbase: No such file or directory

"hbase" File permission

[root@slave1 bin]# ll

-rwxr-xr-x. 1 root root  4826  6월 24  2016 draining_servers.rb

-rwxr-xr-x. 1 root root  1652  6월 24  2016 get-active-master.rb

-rwxr-xr-x. 1 root root   702  6월 24  2016 hbase

-rwxr-xr-x. 1 root root  4541  6월 24  2016 hbase-cleanup.sh

-rwxr-xr-x. 1 root root  1537  6월 24  2016 hbase-common.sh

-rw-r--r--. 1 root root  2363  6월 24  2016 hbase-config.cmd

-rwxr-xr-x. 1 root root  4671  6월 24  2016 hbase-config.sh

-rwxr-xr-x. 1 root root  8952  6월 24  2016 hbase-daemon.sh

-rwxr-xr-x. 1 root root   876  6월 24  2016 hbase-jruby

-rw-r--r--. 1 root root 13421  6월 24  2016 hbase.cmd

-rwxr-xr-x. 1 root root 14075  6월 24  2016 hbase.distro

-rwxr-xr-x. 1 root root  7943  6월 24  2016 hirb.rb

-rwxr-xr-x. 1 root root 17051  6월 24  2016 region_mover.rb

-rwxr-xr-x. 1 root root  4700  6월 24  2016 region_status.rb

drwxr-xr-x. 2 root root    40  1월 10  2017 replication

-rwxr-xr-x. 1 root root  1693  6월 24  2016 shutdown_regionserver.rb

-rw-r--r--. 1 root root  2262  6월 24  2016 start-hbase.cmd

-rw-r--r--. 1 root root  1752  6월 24  2016 stop-hbase.cmd

drwxr-xr-x. 2 root root    45  1월 10  2017 test

-rwxr-xr-x. 1 root root  1537  6월 24  2016 thread-pool.rb

The "hbase" file can be found by looking for it without running "docker-compose exec kafkazk bash" (local) I think it is necessary to link "docker" with local files to share or run. But I do not know how. I would appreciate your help.

Thank you very much

2 REPLIES 2

Re: Metron docker Example not working

New Contributor

please go to:

metron-deployment/vagrant/full-dev-platform

and type:

vagrant up

This will spin up a full dev environment that you can play with

Highlighted

Re: Metron docker Example not working

Rising Star

Following up on what @jsirota mentioned, the Metron Docker infrastructure is only useful for Metron developers. It will not be useful for you to explore Metron and its use cases. Use "Full Dev" by following these instructions: https://metron.apache.org/current-book/metron-deployment/vagrant/full-dev-platform/index.html

Don't have an account?
Coming from Hortonworks? Activate your account here