flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Ewen <se...@apache.org>
Subject Re: Problem with Amazon S3
Date Wed, 01 Apr 2015 08:50:50 GMT
It looks like the S3 URL is in an unexpected format. It tries to use the
bucketname as the hostname. Can you tell us the S3 URL (without user /
password), so we can take a look?

Greetings,
Stephan


On Tue, Mar 31, 2015 at 12:52 PM, pietro <pietro.pinoli@gmail.com> wrote:

> Thank you Ufuk! That helped a lot.
>
> But I have an other problem now.
>
> Am I missing something?
>
> Caused by: java.net.UnknownHostException: MYBUCKETNAME
>         at java.net.InetAddress.getAllByName0(InetAddress.java:1250)
>         at java.net.InetAddress.getAllByName(InetAddress.java:1162)
>         at java.net.InetAddress.getAllByName(InetAddress.java:1098)
>         at
>
> org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
>         at
>
> org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:278)
>         at
>
> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
>         at
>
> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
>         at
>
> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:641)
>         at
>
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:480)
>         at
>
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
>         at
>
> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
>         at
>
> com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:402)
>         ... 34 more
>
>         at
>
> org.apache.flink.runtime.fs.s3.S3FileSystem.initializeDirectoryStructure(S3FileSystem.java:248)
>         at
>
> org.apache.flink.runtime.fs.s3.S3FileSystem.initialize(S3FileSystem.java:222)
>         at org.apache.flink.core.fs.FileSystem.get(FileSystem.java:258)
>         at org.apache.flink.core.fs.Path.getFileSystem(Path.java:310)
>         at
>
> org.apache.flink.api.common.io.FileInputFormat.createInputSplits(FileInputFormat.java:402)
>         at
>
> org.apache.flink.api.common.io.FileInputFormat.createInputSplits(FileInputFormat.java:51)
>         at
>
> org.apache.flink.runtime.executiongraph.ExecutionJobVertex.<init>(ExecutionJobVertex.java:145)
>         ... 23 more
>
>
>
> --
> View this message in context:
> http://apache-flink-incubator-user-mailing-list-archive.2336050.n4.nabble.com/Problem-with-Amazon-S3-tp946p949.html
> Sent from the Apache Flink (Incubator) User Mailing List archive. mailing
> list archive at Nabble.com.
>

Mime
View raw message