Keystone - Unable to execute the HTTP call

asked 2018-01-18 08:14:01 -0600

I'm trying to run the following Scala commands in spark-shell:

val arr = Array(1, 2, 3, 4)
val myData = sc.parallelize(arr)
myData.saveAsTextFile("path/to/remote/storage/filename.txt")

The last line throws an error. Here is a sample of it:

org.javaswift.joss.shade.exception.CommandException: Unable to execute the HTTP call or to convert the HTTP Response at org.javaswift.joss.shade.command.impl.core.AbstractCommand.call(AbstractCommand.java:58) at org.javaswift.joss.shade.command.impl.core.AbstractSecureCommand.call(AbstractSecureCommand.java:31) at org.javaswift.joss.shade.client.core.AbstractContainer.getInfo(AbstractContainer.java:235) at org.javaswift.joss.shade.client.core.AbstractObjectStoreEntity.checkForInfo(AbstractObjectStoreEntity.java:98) at org.javaswift.joss.shade.client.core.AbstractObjectStoreEntity.checkForInfoDisallowErrorLog(AbstractObjectStoreEntity.java:93) at

..........

Caused by: com.amazonaws.shade.thirdparty.apache.http.client.ClientProtocolException: com.amazonaws.shade.thirdparty.apache.http.ProtocolException: Target host is not specified at com.amazonaws.shade.thirdparty.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)

I'm not familiar with Keystone and am not sure whats causing this. I've found examples of the error online but no usefule solutions.

As far as I can tell, I've configured Keystone correctly(I followed this: https://docs.openstack.org/keystone/pike/install/keystone-install-ubuntu.html#keystone-install-configure-ubuntu (https://docs.openstack.org/keystone/p...)) and my core-site.xml is also configured correctly.

Can anybody please advise what might be wrong?

edit retag flag offensive close merge delete