samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anantharaman, Srinatha (Contractor)" <Srinatha_Ananthara...@comcast.com>
Subject RE: Connection timed out error while installing "Hello Samza"
Date Tue, 12 Sep 2017 17:21:56 GMT
It hangs while bringing up the service

[root@codehdplak-po-r19p hello-samza]# pwd
/app/home/eventsvc/samza-git/hello-samza
[root@codehdplak-po-r19p hello-samza]# ./bin/grid install zookeeper
EXECUTING: install zookeeper
Using previously downloaded file /root/.samza/download/zookeeper-3.4.3.tar.gz
[root@codehdplak-po-r19p hello-samza]# ./bin/grid start zookeeper
EXECUTING: start zookeeper
JMX enabled by default
Using config: /app/home/eventsvc/samza-git/hello-samza/deploy/zookeeper/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
Waiting for zookeeper to start...

^C
[root@codehdplak-po-r19p hello-samza]# ./bin/grid start zookeeper^C
[root@codehdplak-po-r19p hello-samza]# ./bin/grid install kafka
EXECUTING: install kafka
Using previously downloaded file /root/.samza/download/kafka_2.11-0.10.1.1.tgz
[root@codehdplak-po-r19p hello-samza]# ./bin/grid start kafka
EXECUTING: start kafka
Waiting for kafka to start...
Ncat: Connection refused.
.Ncat: Connection refused.
.Ncat: Connection refused.
.^C
[root@codehdplak-po-r19p hello-samza]#



-----Original Message-----
From: Navina Ramesh [mailto:nramesh@linkedin.com] 
Sent: Tuesday, September 12, 2017 12:43 PM
To: dev@samza.apache.org
Subject: Re: Connection timed out error while installing "Hello Samza"

Yes. You can clone apache/samza locally and build it with:


cd <samza-workspace>

gradle -b bootstrap.gradle

./gradlew clean build -x test

./gradlew publishToMavenLocal    ## This publishes a snapshot version of the latest apache/samza
into your local maven repo


Then, head to hello-samza workspace and build again:

cd <hello-samza-workspace>

mvn clean package  ## This should create a build target

./bin/grid install zookeeper

./bin/grid start zookeeper

./bin/grid install kafka

./bin/grid start kafka

./bin/grid install yarn

./bin/grid start yarn


mkdir -p deploy/samza

tar -xvf ./target/hello-samza-*-SNAPSHOT-dist.tar.gz -C deploy/samza


After this, you can follow steps in the tutorial to "Run" the example Samza job.


HTH! Let me know if you need further help.

Navina

________________________________
From: Anantharaman, Srinatha (Contractor) <Srinatha_Anantharaman@comcast.com>
Sent: Tuesday, September 12, 2017 9:21:53 AM
To: dev@samza.apache.org
Subject: RE: Connection timed out error while installing "Hello Samza"

Navina,

Is there any other way we can install Hello Samza?

Regards,
~Sri

-----Original Message-----
From: Navina Ramesh [mailto:nramesh@linkedin.com]
Sent: Tuesday, September 12, 2017 11:42 AM
To: dev@samza.apache.org
Subject: Re: Connection timed out error while installing "Hello Samza"

Ok. I tried again for the "latest" branch in hello-samza and it still works.


> While installing it says "Building samza from master..."

It is expected to build from "master" in apache/samza repo. So, the output line is expected.


It is weird that you are unable to connect. Is it possible you are behind a firewall or something?
Can you try to ping "git.apache.org" ? Or try the setup on a different box?


Navina

________________________________
From: Anantharaman, Srinatha (Contractor) <Srinatha_Anantharaman@comcast.com>
Sent: Tuesday, September 12, 2017 8:33:30 AM
To: dev@samza.apache.org
Subject: RE: Connection timed out error while installing "Hello Samza"

Navina,

I tried again but still same error

While installing it says "Building samza from master..."

But when after I cloned I executed " git checkout latest"

Regards,
~Sri


-----Original Message-----
From: Navina Ramesh [mailto:nramesh@linkedin.com]
Sent: Tuesday, September 12, 2017 11:10 AM
To: dev@samza.apache.org
Subject: Re: Connection timed out error while installing "Hello Samza"

Hi Anantharaman,

It looks like a transient connection failure to connect to Apache's git. I tried on my host
and it seems to be working.

Can you give it another shot?


If it still doesn't work, please let me know if you are running the command under the "master"
or "latest" branch of samza-hello-samza.


Thanks!

Navina

________________________________
From: Anantharaman, Srinatha (Contractor) <Srinatha_Anantharaman@comcast.com>
Sent: Tuesday, September 12, 2017 7:45:37 AM
To: dev@samza.apache.org
Subject: Connection timed out error while installing "Hello Samza"

Hi,

I am trying to install "Hello Samza" on a single node Initially I have installed Kafka, Yarn
and Zookeeper using  bin/grid install kafka/yarn/zookeeper When I am trying bin/grid bootstrap
getting connection timed out error It also mentions no kafka, yarn and zookeeper installed

Please find below the error message

[root@codehdplak-po-r19p bin]# cd ..
[root@codehdplak-po-r19p hello-samza]#  bin/grid install kafka
EXECUTING: install kafka
Using previously downloaded file /root/.samza/download/kafka_2.11-0.10.1.1.tgz
[root@codehdplak-po-r19p hello-samza]# bin/grid install yarn
EXECUTING: install yarn
Using previously downloaded file /root/.samza/download/hadoop-2.6.1.tar.gz
[root@codehdplak-po-r19p hello-samza]# bin/grid install zookeeper
EXECUTING: install zookeeper
Using previously downloaded file /root/.samza/download/zookeeper-3.4.3.tar.gz
[root@codehdplak-po-r19p hello-samza]# bin/grid bootstrap Bootstrapping the system...
EXECUTING: stop kafka
No kafka server to stop
EXECUTING: stop yarn
no resourcemanager to stop
no nodemanager to stop
EXECUTING: stop zookeeper
JMX enabled by default
Using config: /app/home/eventsvc/samza-git/hello-samza/deploy/zookeeper/bin/../conf/zoo.cfg
Stopping zookeeper ... no zookeeper to stop (could not find file /tmp/zookeeper/zookeeper_server.pid)
EXECUTING: install samza
Building samza from master...
~/.samza/download /app/home/eventsvc/samza-git/hello-samza
Cloning into 'samza'...
fatal: unable to connect to git.apache.org:
git.apache.org[0: 54.84.58.65]: errno=Connection timed out


Could you please help me to resolve this issue?

Regards,
~Sri

Mime
View raw message