Comments (3)
Hi,
+1 @labianchin .
I am following the blog post about ambari 1.7.0.
First things first, the one-liner has problems with the command . .amb
:
$ curl -Lo .amb j.mp/docker-ambari-170 && . .amb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 173 100 173 0 0 28 0 0:00:06 0:00:06 --:--:-- 38
100 4676 100 4676 0 0 395 0 0:00:11 0:00:11 --:--:-- 1086
.: no such file or directory: .amb
changing .
to source
makes it work:
$ curl -Lo .amb j.mp/docker-ambari-170 && source .amb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 173 100 173 0 0 474 0 --:--:-- --:--:-- --:--:-- 475
100 4676 100 4676 0 0 723 0 0:00:06 0:00:06 --:--:-- 1018
Then there is the even more puzzling error
$ amb-start-cluster 3
starting an ambari cluster with: 3 nodes
[DEBUG] docker run -d --dns 127.0.0.1 --entrypoint /usr/local/serf/bin/start-serf-agent.sh -e KEYCHAIN=<my-keychain-email> --name amb0 -h amb0.mycorp.kom sequenceiq/ambari:1.7.0 --tag ambari-server=true
flag provided but not defined: --dns 127.0.0.1 --entrypoint /usr/local/serf/bin/start-serf-agent.sh -e KEYCHAIN
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
[snip docker run help text]
Error: No such image or container: amb0
amb-start-node:2: AMBARI_SERVER_IP: "AMBARI_SERVER_IP is needed"
But if I copy-paste the command above from the debug line and just plain execute it directly in the shell everything works.
$ docker run -d --dns 127.0.0.1 --entrypoint /usr/local/serf/bin/start-serf-agent.sh -e KEYCHAIN=<my-keychain-email> --name amb0 -h amb0.mycorp.kom sequenceiq/ambari:1.7.0 --tag ambari-server=true
15dfd0c21e19e64e262db08586f437b48adeff6a2246b08769278ef1b74406ec
Then I can execute amb-shell
and it works.
from docker-ambari.
Hi
Thanks for letting us know - we currently use/support bash
only. If you apply the modification for the scripts in order to run on ZSH please feel free to send us the pull request.
Janos
from docker-ambari.
Thanks @coderigo for the contribution.
from docker-ambari.
Related Issues (20)
- public-hostname.sh no longer works in non-cloud environment. HOT 1
- Some questions : start, commit, restart... HOT 7
- can't work correctly in cloudbreak HOT 5
- ambari agent failed to start
- Why change SSHD port to 2022? HOT 4
- Best way to deploy with java 8 HOT 3
- hbase not working with blueprints HOT 3
- Install Apache Spark HOT 4
- Is it impossible to install HDP-1.3 stack by sequenceiq/ambari:1.7.0 image? HOT 2
- Best/Recommended upgrade path from Ambari 2.1/HDP 2.3 to Ambari 2.2/HDP 2.4 ? HOT 2
- mysql-connector-java-5.1.17.jar is outdated and doesn't work with RDS HOT 1
- RFI: Where is Dockerfile for sequenceiq/consul HOT 3
- Needs update to Ambari 2.4.1.0 & HDP 2.5 HOT 4
- What SSH private key can be used HOT 1
- Question: How can I access the Ambari UI from outside the host? HOT 3
- How to create Ambari cluster HOT 2
- How to change the value of USE_CONSUL_DNS HOT 1
- Image doesn't contain "which" command HOT 1
- Be able to customize the public ip resolver script
- Changing base url in ambari.repo to use latest version of Ambari doesnt take effect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-ambari.