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.

Impala-kudu deploy.py script error

Impala-kudu deploy.py script error

Rising Star

 

HI ,

I am trying to add impala-kudu service using delpoy.oy script 

 

[root@wuwww0hd3mn01 ~]# ./deploy.py --user admin --password admin --cluster 'clutser' --host wuwww0hd3mn01.ip.com create --master_host wuwww0hd3mn03.ip.com IMPALA_KUDU '/data/04/kudu_impala,/data/05/kudu_impala,/data/06/kudu_impala,/data/07/kudu_impala,/data/08/kudu_impala,/data/09/kudu_impala,/data/10/kudu_impala,/data/11/kudu_impala,/data/12/kudu_impala,/data/13/kudu_impala,/data/14/kudu_impala,/data/15/kudu_impala,/data/16/kudu_impala,/data/17/kudu_impala,/data/18/kudu_impala'
Traceback (most recent call last):
File "./deploy.py", line 465, in <module>
main()
File "./deploy.py", line 437, in main
cluster = find_cluster(api, args.cluster)
File "./deploy.py", line 109, in find_cluster
cluster = api.get_cluster(cluster_name)
File "/usr/lib/python2.6/site-packages/cm_api/api_client.py", line 140, in get_cluster
return clusters.get_cluster(self, name)
File "/usr/lib/python2.6/site-packages/cm_api/endpoints/clusters.py", line 57, in get_cluster
return call(resource_root.get, "%s/%s" % (CLUSTERS_PATH, name), ApiCluster)
File "/usr/lib/python2.6/site-packages/cm_api/endpoints/types.py", line 139, in call
ret = method(path, params=params)
File "/usr/lib/python2.6/site-packages/cm_api/resource.py", line 110, in get
return self.invoke("GET", relpath, params)
File "/usr/lib/python2.6/site-packages/cm_api/resource.py", line 73, in invoke
headers=headers)
File "/usr/lib/python2.6/site-packages/cm_api/http_client.py", line 183, in execute
raise self._exc_class(ex)
cm_api.api_client.ApiException: <html><h1>Bad Gateway </h1><br>The proxy server received an invalid response from an upstream server</html> (error 502)

 

but internet is ok 


[root@wuwww0hd3mn01 ~]# wget http://archive.cloudera.com/beta/impala-kudu/parcels/latest/IMPALA_KUDU-2.7.0-3.cdh5.9.0.p0.10-el6.p...
--2017-06-07 23:52:23-- http://archive.cloudera.com/beta/impala-kudu/parcels/latest/IMPALA_KUDU-2.7.0-3.cdh5.9.0.p0.10-el6.p...
Resolving gw... 10.11.100.11, 10.3.21.11
Connecting to gw|10.11.100.11|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 219504783 (209M)
Saving to: “IMPALA_KUDU-2.7.0-3.cdh5.9.0.p0.10-el6.parcel”

100%[================================================================================================>] 219,504,783 4.68M/s in 50s

2017-06-07 23:53:12 (4.23 MB/s) - “IMPALA_KUDU-2.7.0-3.cdh5.9.0.p0.10-el6.parcel” saved [219504783/219504783]

 

what could be the issue ?

 

4 REPLIES 4

Re: Impala-kudu deploy.py script error

New Contributor

If you are on latest, you do not need to use Imapala_kudu. You can just use the latest Impala.

Re: Impala-kudu deploy.py script error

Rising Star
yes CDH 5.11 and CM5.11
then how i will connec to kudu . can you reference any document,
Highlighted

Re: Impala-kudu deploy.py script error

New Contributor

If you already have a table in Kudu, you can try to connect it from Impala-shell.

 

In CM, go to the kudu page, go to the Kudu Master Web UI, then select "Tables", choose your table by clicking on the "Table Id" and scroll down to see the Impala create table.

 

Run the DDL from your Impala-shell. Then run "show tables;" and some select statements to see if it is working.

Re: Impala-kudu deploy.py script error

Rising Star