Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

My AWS credentials return a an org.jclouds.aws.ec2.awsec2clien error

avatar
New Contributor

Hello,

 

I am going through the Cloudera Manager wizard to add more EC2 instances to my cluster and am getting the error when trying to continue or test the AWS credentials:

 

Guice creation errors: 1) org.jclouds.rest.RestContext<org.jclouds.aws.ec2.awsec2client, a=""> cannot be used as a key; It is not fully specified. 1 error

 

 

I know the credentials are valid because i reisssued them to troubleshoot this issue.

2 ACCEPTED SOLUTIONS

avatar
New Contributor
This was resolved by downgrading the jdk from u65 to u45.

View solution in original post

avatar
Super Collaborator

Nice catch.

 

For reference this is documented in the Known Issues / Release notes:

 

=========

AWS Installation wizard requires Java 7u45 to be installed on Cloudera Manager Server host

Cloudera Manager 5.1 installs Java 7u55 by default. However, the AWS installation wizard does not work with Java 7u55 due to a bug in the jClouds version packaged with Cloudera Manager.

Workaround:
  1. Stop the Cloudera Manager Server.
    $ sudo service cloudera-scm-server stop 
  2. Uninstall Java 7u55 from the Cloudera Manager Server host.
  3. Install Java 7u45 (which you can download from http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#j...on the Cloudera Manager Server host.
  4. Start the Cloudera Manager Server.
    $ sudo service cloudera-scm-server start
  5. Run the AWS installation wizard.

=========

 

Regards,

--

View solution in original post

3 REPLIES 3

avatar
New Contributor
This was resolved by downgrading the jdk from u65 to u45.

avatar
Super Collaborator

Nice catch.

 

For reference this is documented in the Known Issues / Release notes:

 

=========

AWS Installation wizard requires Java 7u45 to be installed on Cloudera Manager Server host

Cloudera Manager 5.1 installs Java 7u55 by default. However, the AWS installation wizard does not work with Java 7u55 due to a bug in the jClouds version packaged with Cloudera Manager.

Workaround:
  1. Stop the Cloudera Manager Server.
    $ sudo service cloudera-scm-server stop 
  2. Uninstall Java 7u55 from the Cloudera Manager Server host.
  3. Install Java 7u45 (which you can download from http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#j...on the Cloudera Manager Server host.
  4. Start the Cloudera Manager Server.
    $ sudo service cloudera-scm-server start
  5. Run the AWS installation wizard.

=========

 

Regards,

--

avatar
New Contributor

Thanks for the reply!