<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Unable to update existing cluster using the same credentials that created it in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21419#M3627</link>
    <description>&lt;P&gt;I used cloudera-director-1.0.0 (the CLI) to create a CDH cluster, using an aws.conf file based off of aws.simple.conf. Now, to verify that I am able to expand the cluster if needed, I modified the conf file to change the number of data nodes from 8 to 9. I then ran&amp;nbsp;./bin/cloudera-director update aws.simple.conf. However, I get back this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Process logs can be found at /home/ec2-user/cloudera/cloudera-director-1.0.0/logs/application.log&lt;BR /&gt;Cloudera Director 1.0.0 initializing ...&lt;BR /&gt;Updating environment state ...done&lt;BR /&gt;Unexpected internal error (see logs): null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I look at the application.log, the final (seemingly relevant bit) is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[2014-11-11 15:45:36] INFO [main] - c.c.l.b.v.GenericDeploymentTemplateValidator: Validating parcels and version compatibility&lt;BR /&gt;[2014-11-11 15:45:40] ERROR [main] - com.cloudera.launchpad.Application: Command execution failed&lt;BR /&gt;javax.ws.rs.NotAuthorizedException: null&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_45]&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_45]&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_45]&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_45]&lt;BR /&gt;at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:452) ~[cxf-rt-frontend-jaxrs-2.7.5.jar!/:2.7.5]&lt;BR /&gt;at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:298) ~[cxf-rt-frontend-jaxrs-2.7.5.jar!/:2.7.5]&lt;BR /&gt;at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:586) ~[cxf-rt-frontend-jaxrs-2.7.5.jar!/:2.7.5]&lt;BR /&gt;at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:552) ~[cxf-rt-frontend-jaxrs-2.7.5.jar!/:2.7.5]&lt;BR /&gt;at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:206) ~[cxf-rt-frontend-jaxrs-2.7.5.jar!/:2.7.5]&lt;BR /&gt;at com.sun.proxy.$Proxy131.getConfig(Unknown Source) ~[na:na]&lt;BR /&gt;at com.cloudera.launchpad.bootstrap.validators.GenericClusterTemplateValidator.validate(GenericClusterTemplateValidator.java:82) ~[launchpad-bootstrap-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.model.ValidatorRegistry.validate(ValidatorRegistry.java:82) ~[launchpad-model-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.api.resources.v1.ClustersResourceV1.validate(ClustersResourceV1.java:574) ~[launchpad-api-resources-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.api.resources.v1.ClustersResourceV1.update(ClustersResourceV1.java:304) ~[launchpad-api-resources-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.api.resources.v1.ClustersResourceV1.update(ClustersResourceV1.java:260) ~[launchpad-api-resources-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.commands.UpdateCommand.run(UpdateCommand.java:106) ~[launchpad-cli-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.Application.run(Application.java:111) [launchpad-cli-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at org.springframework.boot.SpringApplication.runCommandLineRunners(SpringApplication.java:677) [spring-boot-1.1.5.RELEASE.jar!/:1.1.5.RELEASE]&lt;BR /&gt;at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:695) [spring-boot-1.1.5.RELEASE.jar!/:1.1.5.RELEASE]&lt;BR /&gt;at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) [spring-boot-1.1.5.RELEASE.jar!/:1.1.5.RELEASE]&lt;BR /&gt;at com.cloudera.launchpad.Application.start(Application.java:74) [launchpad-cli-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.Application.main(Application.java:43) [launchpad-cli-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]&lt;BR /&gt;at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [launchpad-cli-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The part that jumped out at me is&amp;nbsp;&lt;SPAN&gt;javax.ws.rs.NotAuthorizedException, of course. But, as I said, I used this exact same conf file with the same&amp;nbsp;accessKeyId and&amp;nbsp;secretAccessKey to create the cluster in the first place. I can run './bin/cloudera-director status aws.simple.conf' and get back a full listing of all of the instances that were spun up. However, I know that the credentials I'm using are *not* for a so-called "root" AWS account. There are various things that I'm not allowed to do, like list/create/update users (iAM), or various billing things. Is it possible that there is something (somehow) that makes a call to one of those functions in the 'update' that is not called in the 'bootstrap' code? Well, I'm probably overstepping my bounds as a problem reporter. Let me know if there's anything else I can provide in the way of details or things I can try.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:12:29 GMT</pubDate>
    <dc:creator>David Bishop</dc:creator>
    <dc:date>2022-09-16T09:12:29Z</dc:date>
    <item>
      <title>Unable to update existing cluster using the same credentials that created it</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21419#M3627</link>
      <description>&lt;P&gt;I used cloudera-director-1.0.0 (the CLI) to create a CDH cluster, using an aws.conf file based off of aws.simple.conf. Now, to verify that I am able to expand the cluster if needed, I modified the conf file to change the number of data nodes from 8 to 9. I then ran&amp;nbsp;./bin/cloudera-director update aws.simple.conf. However, I get back this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Process logs can be found at /home/ec2-user/cloudera/cloudera-director-1.0.0/logs/application.log&lt;BR /&gt;Cloudera Director 1.0.0 initializing ...&lt;BR /&gt;Updating environment state ...done&lt;BR /&gt;Unexpected internal error (see logs): null&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I look at the application.log, the final (seemingly relevant bit) is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[2014-11-11 15:45:36] INFO [main] - c.c.l.b.v.GenericDeploymentTemplateValidator: Validating parcels and version compatibility&lt;BR /&gt;[2014-11-11 15:45:40] ERROR [main] - com.cloudera.launchpad.Application: Command execution failed&lt;BR /&gt;javax.ws.rs.NotAuthorizedException: null&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_45]&lt;BR /&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_45]&lt;BR /&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_45]&lt;BR /&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_45]&lt;BR /&gt;at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:452) ~[cxf-rt-frontend-jaxrs-2.7.5.jar!/:2.7.5]&lt;BR /&gt;at org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:298) ~[cxf-rt-frontend-jaxrs-2.7.5.jar!/:2.7.5]&lt;BR /&gt;at org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:586) ~[cxf-rt-frontend-jaxrs-2.7.5.jar!/:2.7.5]&lt;BR /&gt;at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:552) ~[cxf-rt-frontend-jaxrs-2.7.5.jar!/:2.7.5]&lt;BR /&gt;at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:206) ~[cxf-rt-frontend-jaxrs-2.7.5.jar!/:2.7.5]&lt;BR /&gt;at com.sun.proxy.$Proxy131.getConfig(Unknown Source) ~[na:na]&lt;BR /&gt;at com.cloudera.launchpad.bootstrap.validators.GenericClusterTemplateValidator.validate(GenericClusterTemplateValidator.java:82) ~[launchpad-bootstrap-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.model.ValidatorRegistry.validate(ValidatorRegistry.java:82) ~[launchpad-model-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.api.resources.v1.ClustersResourceV1.validate(ClustersResourceV1.java:574) ~[launchpad-api-resources-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.api.resources.v1.ClustersResourceV1.update(ClustersResourceV1.java:304) ~[launchpad-api-resources-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.api.resources.v1.ClustersResourceV1.update(ClustersResourceV1.java:260) ~[launchpad-api-resources-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.commands.UpdateCommand.run(UpdateCommand.java:106) ~[launchpad-cli-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.Application.run(Application.java:111) [launchpad-cli-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at org.springframework.boot.SpringApplication.runCommandLineRunners(SpringApplication.java:677) [spring-boot-1.1.5.RELEASE.jar!/:1.1.5.RELEASE]&lt;BR /&gt;at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:695) [spring-boot-1.1.5.RELEASE.jar!/:1.1.5.RELEASE]&lt;BR /&gt;at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) [spring-boot-1.1.5.RELEASE.jar!/:1.1.5.RELEASE]&lt;BR /&gt;at com.cloudera.launchpad.Application.start(Application.java:74) [launchpad-cli-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at com.cloudera.launchpad.Application.main(Application.java:43) [launchpad-cli-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45]&lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45]&lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45]&lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45]&lt;BR /&gt;at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53) [launchpad-cli-1.0.0.jar!/:1.0.0]&lt;BR /&gt;at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The part that jumped out at me is&amp;nbsp;&lt;SPAN&gt;javax.ws.rs.NotAuthorizedException, of course. But, as I said, I used this exact same conf file with the same&amp;nbsp;accessKeyId and&amp;nbsp;secretAccessKey to create the cluster in the first place. I can run './bin/cloudera-director status aws.simple.conf' and get back a full listing of all of the instances that were spun up. However, I know that the credentials I'm using are *not* for a so-called "root" AWS account. There are various things that I'm not allowed to do, like list/create/update users (iAM), or various billing things. Is it possible that there is something (somehow) that makes a call to one of those functions in the 'update' that is not called in the 'bootstrap' code? Well, I'm probably overstepping my bounds as a problem reporter. Let me know if there's anything else I can provide in the way of details or things I can try.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:12:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21419#M3627</guid>
      <dc:creator>David Bishop</dc:creator>
      <dc:date>2022-09-16T09:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update existing cluster using the same credentials that created it</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21421#M3628</link>
      <description>&lt;P&gt;Hi David -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you changed the default Cloudera Manager password from admin/admin to somethind else? That may be the source of this error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 21:40:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21421#M3628</guid>
      <dc:creator>Andrei Savu</dc:creator>
      <dc:date>2014-11-11T21:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update existing cluster using the same credentials that created it</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21424#M3629</link>
      <description>&lt;P&gt;That must be why they pay you the big bucks! I didn't change the password, a coworker did (which is why I forgot about it), but yes, it's been changed. Is there a way to specify the new password to use? I scanned through all of the options that I can put into the aws.conf file (as documented here:&amp;nbsp;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera/en/documentation/cloudera-director/latest/PDF/cloudera-director.pdf)"&gt;http://www.cloudera.com/content/cloudera/en/documentation/cloudera-director/latest/PDF/cloudera-director.pdf)&lt;/A&gt; but I didn't see anything. Or do I have to change it back to admin:admin, run the update, and change it back?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 21:46:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21424#M3629</guid>
      <dc:creator>David Bishop</dc:creator>
      <dc:date>2014-11-11T21:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update existing cluster using the same credentials that created it</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21425#M3630</link>
      <description>&lt;P&gt;For now unfortunately you will to change it back to admin/admin in order to be able to run the update. I will file a feature request on you behalf to make sure we improve this in the next release and document it properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One last thing. My recommendation would be to use Director 1.0.1 that contains some fixes for issues we've discovered after making the release public.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See:&amp;nbsp;&lt;A target="_blank" href="http://cloudera.com/content/cloudera/en/products-and-services/director.html"&gt;http://cloudera.com/content/cloudera/en/products-and-services/director.html&lt;/A&gt; for instructions on how to install Director from packages.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 21:50:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21425#M3630</guid>
      <dc:creator>Andrei Savu</dc:creator>
      <dc:date>2014-11-11T21:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update existing cluster using the same credentials that created it</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21427#M3631</link>
      <description>&lt;P&gt;Awesome. I reset the password to 'admin' and the update is now working. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 22:03:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21427#M3631</guid>
      <dc:creator>David Bishop</dc:creator>
      <dc:date>2014-11-11T22:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update existing cluster using the same credentials that created it</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21499#M3632</link>
      <description>&lt;P&gt;That's great! Can you add a few more details on how you are planning to use Director? It would be useful to make sure future release are aligned with your requirements.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 21:28:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21499#M3632</guid>
      <dc:creator>Andrei Savu</dc:creator>
      <dc:date>2014-11-12T21:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update existing cluster using the same credentials that created it</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21500#M3633</link>
      <description>&lt;P&gt;We were planning on using director to build new CDH clusters, and expand existing ones. That's, well, that's pretty much it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 21:38:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-update-existing-cluster-using-the-same-credentials/m-p/21500#M3633</guid>
      <dc:creator>David Bishop</dc:creator>
      <dc:date>2014-11-12T21:38:41Z</dc:date>
    </item>
  </channel>
</rss>

