Jarek Jarcec Cecho created SQOOP-2617:
-----------------------------------------

             Summary: Log file that is being used for LOB files
                 Key: SQOOP-2617
                 URL: https://issues.apache.org/jira/browse/SQOOP-2617
             Project: Sqoop
          Issue Type: Bug
    Affects Versions: 1.4.6
            Reporter: Jarek Jarcec Cecho
            Assignee: Jarek Jarcec Cecho
             Fix For: 1.99.7


I was investigating Sqoop failure where Sqoop wasn't able to create directory 
for LOB files. All I got was following exception:

{code}
2015-10-07 10:15:46,991 FATAL [IPC Server handler 9 on 40374] 
org.apache.hadoop.mapred.TaskAttemptListenerImpl: Task: 
attempt_1444198475064_0002_m_000000_0 - exited : 
org.apache.hadoop.security.AccessControlException: Permission denied: 
user=jarcec, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x
{code}

The reason for writing into root directory is that the parent directory of the 
path do not exists and hence Sqoop tries to create them with {{mkdirs}} call. 
It would be helpful if Sqoop would print the path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to