Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
Frequent Visitor

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
Frequent Visitor
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
Frequent Visitor
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
Frequent Visitor

Thanks for the reply!