All Apps and Add-ons

Running Hunk against EMR/S3 without using the AMI

jimjh
Path Finder

I installed Hunk and Hadoop 2.2.0 on my Hunk node and launched an EMR cluster with Hadoop 2.2.0. In indexes.conf, I set vix.fs.default.name to my s3 bucket. This results in the following error message:

cause:org.apache.hadoop.fs.UnsupportedFileSystemException: No AbstractFileSystem for scheme: s3

To work around this, I configured core-site.xml to define fs.s3.impl, and added a bunch of jars from AWS (e.g. emr-fs-1.0.0.jar.) I started getting some classpath errors and fixed them in hadoop-env.sh. However, I am running back into the same error message:

cause:org.apache.hadoop.fs.UnsupportedFileSystemException: No AbstractFileSystem for scheme: s3n

What else do I need to do?

Update

Added fs.s3n.* and fs.s3.* in core-site.xml to provide AWS S3 credentials. I am able to use hadoop fs -ls
to get a listing of my bucket.

Tags (2)
1 Solution

Ledion_Bitincka
Splunk Employee
Splunk Employee

Are you able to use the Hadoop CLI to access the s3 filesystem (hadoop fs -ls s3://... )?

View solution in original post

jimjh
Path Finder

Not sure how I messed up the formatting. It should say "$> hadoop fs -ls s3n://xxx/"

0 Karma

Ledion_Bitincka
Splunk Employee
Splunk Employee

Are you able to use the Hadoop CLI to access the s3 filesystem (hadoop fs -ls s3://... )?

Ledion_Bitincka
Splunk Employee
Splunk Employee

Can you please provide us the full stacktrace so we can see during which step is Hunk failing?

0 Karma

jimjh
Path Finder

I also tried setting vix.fs.s3n.impl = com.amazon.ws.emr.hadoop.fs.EmrFileSystem and vix.fs.s3.impl = com.amazon.ws.emr.hadoop.fs.EmrFileSystem in the provider.

0 Karma

jimjh
Path Finder

Fixed that, but I am still getting the same error.

0 Karma

jimjh
Path Finder

Great idea. Unfortunately, I cannot - ls: 's3://xxx': No such file or directory. This tells me that the problem is in my hadoop config, not my hunk config.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...