Looks like you might be passing your linux credentials rather than passing your CM credentials?
-Todd On Wed, Oct 19, 2016 at 9:39 AM, Abhi Basu <[email protected]> wrote: > Following the installing Impala_Kudu service using deploy.py script > section outlined here: > > https://www.cloudera.com/documentation/betas/kudu/0-5- > 0/topics/kudu_impala.html#concept_bgs_snk_ft > > Kudu service has been installed on my single node CDH 5.8 cluster using CM > (packages) and started. > > > Get this error: > [root@cdh58-centos65 bin]# python deploy.py --user root --password xxxxxx > --cluster 'Cluster 1' --host cdh58-centos65.local.com create > IMPALA_KUDU-1 '/data/1/kudu_impala,/data/2/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/local/lib/python2.7/site-packages/cm_api/api_client.py", > line 137, in get_cluster > return clusters.get_cluster(self, name) > File "/usr/local/lib/python2.7/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/local/lib/python2.7/site-packages/cm_api/endpoints/types.py", > line 139, in call > ret = method(path, params=params) > File "/usr/local/lib/python2.7/site-packages/cm_api/resource.py", line > 110, in get > return self.invoke("GET", relpath, params) > File "/usr/local/lib/python2.7/site-packages/cm_api/resource.py", line > 73, in invoke > headers=headers) > File "/usr/local/lib/python2.7/site-packages/cm_api/http_client.py", > line 174, in execute > raise self._exc_class(ex) > cm_api.api_client.ApiException: HTTP Error 401: basic auth failed (error > 401) > > Thanks, > > Abhi > -- > Abhi Basu > -- Todd Lipcon Software Engineer, Cloudera
