Ask Your Question
0

FileNotFoundException (Permission denied) for directory origin

asked 2017-12-29 20:03:35 -0500

lampshadesdrifter gravatar image

New to streamsets. Trying to use web ui to set stream of parquet files from a directory origin to a mapr FS destination, but getting the error:

java.io.FileNotFoundException: /home/myuser (Permission denied)

when examining a raw preview of the directory path. Have not altered any config files other than following the intructions for installation provided by the official (mapr) installation docs here and here. I know there is some concept of an sdc user, but a simple "su sdc" says the account is unavailable and further searching shows that I need to set a default shell of the sdc user, but I don't see how that is going to help any permission problems and I could find any further info. Does anyone have any ideas what it happening here and how to address it (could not find any related info in the trouble shooting docs or google)?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-01-02 15:08:09 -0500

lampshadesdrifter gravatar image

Fixed this problem by setting permissions of the directory intended to be written to as writtable by all ($chmod o+w /path/to/dir/to/write/to). I assume this has something to do with the concept of the default sdc-user (or something, point being that the user to start the scd service is apparently not what determines the permissions granted to the service), need to look into this more and if anyone else can link to documentation that would be appreciated.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-12-29 19:59:33 -0500

Seen: 319 times

Last updated: Jan 02