Ask Your Question
1

file not found exception while working with directory

asked 2018-03-13 00:58:36 -0500

amank gravatar image

updated 2018-03-16 09:35:35 -0500

jeff gravatar image

I am trying to read data from the local directory . While validating got these error SPOOLDIR_12 - Directory '/home/amank/data' does not exist. I also created user and Logged In as User ->amank | Assigned Roles -> admin | Assigned groups -> all

My local directory have permission -> drwxrwxr-x 2 amank amank 4096 Mar 12 17:36 data and file permission -> -rw-rw-r-- 1 amank amank 41 Mar 12 17:36 test.csv.

edit retag flag offensive close merge delete

Comments

Are you running standalone or on Cloudera Manager?

metadaddy gravatar imagemetadaddy ( 2018-03-13 13:00:17 -0500 )edit

Thank you for the asking ,I am running on cloudera manager . After giving required permission along with proper config of roles . I am able to resolve it.

amank gravatar imageamank ( 2018-03-14 10:00:48 -0500 )edit
1

Would you mind providing more details about the permissions/configs you changed to get it working in a new answer (to yourself)?

jeff gravatar imagejeff ( 2018-03-16 09:34:40 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-08-14 15:57:48 -0500

stevekim_1357 gravatar image

updated 2018-08-14 16:44:38 -0500

metadaddy gravatar image

I took <base directory> as / and followed the tutorial directions and it worked (I created the tutorial directory with 777 for now and rest of subdirectories)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-03-13 00:58:36 -0500

Seen: 48 times

Last updated: Aug 14