Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Can't write to hdfs #58

Open
eamocanu opened this issue Sep 13, 2016 · 2 comments
Open

Can't write to hdfs #58

eamocanu opened this issue Sep 13, 2016 · 2 comments

Comments

@eamocanu
Copy link

The user "root" doesn't have write access to the hdfs directory "/topics".

I start up the docker image:
docker run -d -p 9000:9000 sequenceiq/hadoop-docker:2.7.1

then run kafka connector-hdfs and get this error:

[2016-09-12 17:19:28,039] INFO Couldn't start HdfsSinkConnector: (io.confluent.connect.hdfs.HdfsSinkTask:72)
org.apache.kafka.connect.errors.ConnectException: org.apache.hadoop.security.AccessControlException: Permission denied: user=fclvappi005561, access=WRITE, inode="/topics":root:supergroup:drwxr-xr-x

@Fr8Traindb
Copy link

I have the same problem. Did you find a workaround?

@eamocanu
Copy link
Author

eamocanu commented Dec 21, 2016

Nope I went another route.
Try file permissions or run it in root mode.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants